Tom Moor
72e653e03a
perf: Speed up the recently viewed documents query ( #13970 )
...
* perf: Speed up documents.viewed with a composite views index
Adds an index on views (userId, updatedAt) so the recently viewed query
walks only the user's rows instead of the global updatedAt index, drops
the Y.js state column from the select, and limits sort params to view
columns.
* fix: Drop the old views index concurrently
2026-10-06 22:37:18 -04:00
..
2026-09-21 20:35:45 -04:00
2026-10-05 08:52:14 -04:00
2026-09-27 09:40:50 -04:00
2025-09-22 20:43:27 -04:00
2026-09-18 17:45:39 -04:00
2026-09-03 01:43:47 -04:00
2026-09-18 22:22:50 -04:00
2026-07-25 07:56:13 -04:00
2026-09-28 22:51:43 -04:00
2026-10-06 22:37:18 -04:00
2026-10-06 17:35:10 -04:00
2025-07-08 18:01:48 -04:00
2026-09-27 09:40:50 -04:00
2026-10-05 19:54:22 -04:00
2026-10-02 09:45:46 -04:00
2026-10-06 22:37:18 -04:00
2026-07-19 11:36:14 -04:00
2026-09-19 13:24:35 -04:00
2026-09-01 02:36:30 -04:00
2026-10-02 13:17:28 -04:00
2026-09-21 20:35:45 -04:00
2026-09-25 20:08:59 -04:00
2026-07-27 19:13:18 -04:00
2026-10-05 19:54:22 -04:00
2026-09-04 23:10:32 -04:00
2026-02-23 22:14:03 -05:00
2026-09-16 23:50:25 +00:00
2026-05-01 08:29:58 -04:00
2026-08-13 16:40:35 -04:00
2026-09-04 09:38:58 -04:00
2026-09-16 23:50:25 +00:00
2026-09-18 17:45:39 -04:00
2026-09-04 05:05:13 -04:00
2026-08-13 18:59:06 -04:00
2026-08-13 18:59:06 -04:00
2026-10-02 09:45:46 -04:00
2026-08-15 13:25:10 -04:00
2026-09-03 20:29:37 -04:00