Skip to content

feat: add composite database indexes for query optimization#246

Open
DevAyomi wants to merge 1 commit intoCalebux:mainfrom
DevAyomi:add-database-indexes
Open

feat: add composite database indexes for query optimization#246
DevAyomi wants to merge 1 commit intoCalebux:mainfrom
DevAyomi:add-database-indexes

Conversation

@DevAyomi
Copy link
Copy Markdown

The database migration scripts create tables but do not add composite indexes on the columns most frequently used in WHERE clauses. As the database grows, queries will perform full table scans instead of using indexes, causing increasing latency. Closes #128

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@DevAyomi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance: Add missing database indexes on subscriptions and reminder_schedules tables

1 participant