Skip to content

Created indices for bookshelves_books, community_edits_queue#12106

Draft
cdrini wants to merge 2 commits intomasterfrom
perf/bookshelves-books-created-index
Draft

Created indices for bookshelves_books, community_edits_queue#12106
cdrini wants to merge 2 commits intomasterfrom
perf/bookshelves-books-created-index

Conversation

@cdrini
Copy link
Collaborator

@cdrini cdrini commented Mar 17, 2026

This is used for sorting and filtering in a lot of places; notably the eg /trending/now page, which is taking ~8+ seconds to load.
@cdrini cdrini added the Theme: Performance Issues related to UI or Server performance. [managed] label Mar 17, 2026
@cdrini
Copy link
Collaborator Author

cdrini commented Mar 17, 2026

@copilot can you likewise add an index for community_edits_queue updated column? That's used to sort. Don't worry about tests or anything else, just add the CREATE INDEX line after where the CREATE TABLE is made. I'll verify the rest.

Copy link
Contributor

Copilot AI commented Mar 17, 2026

@cdrini I've opened a new pull request, #12107, to work on those changes. Once the pull request is ready, I'll request review from you.

…dated (#12107)

* Initial plan

* Add index on 'updated' column in community_edits_queue

Co-authored-by: cdrini <6251786+cdrini@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: cdrini <6251786+cdrini@users.noreply.github.com>
@cdrini cdrini changed the title Add index on 'created' column in bookshelves_books Created indices for bookshelves_books, community_edits_queue Mar 17, 2026
@github-actions github-actions bot added the Needs: Response Issues which require feedback from lead label Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Response Issues which require feedback from lead Theme: Performance Issues related to UI or Server performance. [managed]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants