This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Consider adding an index to event_txn_id(token_id)
#13899
Labels
A-Database
DB stuff like queries, migrations, new/remove columns, indexes, unexpected entries in the db
A-Performance
Performance, both client-facing and admin-facing
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
because there's a foreign key relationship with the access tokens table with a cascade delete, it could potentially speed things up by having an explicit index.
No idea if foreign keys automatically imply index though
The text was updated successfully, but these errors were encountered: