-
Notifications
You must be signed in to change notification settings - Fork 63
Add Covering Index to Nodes Table #1100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
861b667 to
bc805e3
Compare
|
I can see how this would probably be useful, but can you give examples of HTTP requests that would exercise it? |
of course! any |
|
Will that query also pull the |
|
yes, most likely. I had a single user in my example. |
33bdf6b to
b80d2fd
Compare
This pull request adds a new PostgreSQL covering index to the
nodestable to improve query performance for key lookups. The changes include updating the migration history, introducing a new Alembic migration for the index, and modifying the ORM model to define the index.Before:
After:
Checklist
Add the ticket number which this PR closes to the comment section