Add database optimizations for photo search and pagination
Implement database-level sorting with composite indexes for efficient date and tag queries. Add pagination metadata support and optimize tag count queries using batch processing.
This commit is contained in:
1 parent
5e646dfc19
commit
be483c9c1a
7 files changed
+519
-96
No files matched your search
@@ -0,0 +1,4 @@
|
||||
-- Revert search performance optimization indexes
|
||||
|
||||
DROP INDEX IF EXISTS idx_image_exif_date_path;
|
||||
DROP INDEX IF EXISTS idx_tagged_photo_count;
|
||||
Reference in new issue
Block a user