Files
outline/server
Tom Moor 8852acb5f9 perf: Stop documents.viewed from joining every view of the user (#14430)
Postgres misestimates the document access filters and reads, joins and sorts
all of a user's views before applying the limit. Find the page of view ids
first with a fenced lateral lookup so the index is read in order, then load
only those views.
2026-10-31 10:10:36 -04:00
..
2026-08-15 13:25:10 -04:00