navidrome/persistence
Deluan 7922e93c75 perf(pglite): purge unused tags with EXCEPT, the NOT EXISTS form was still per-row
The CTE placed inside NOT EXISTS is correlated and re-evaluated for every
tag row, so it was as slow as NOT IN on the real library (still running
after 10 minutes). id IN (SELECT id FROM tag EXCEPT <used ids>) builds
the unused set once with a hash set-op: about 1 s at 1M tag references,
with or without planner statistics.
2026-09-04 22:48:39 -04:00
..
2026-05-28 22:13:05 -03:00