summaryrefslogtreecommitdiff
path: root/.sqlx/query-4623f989492e9eae6788ee9472f1138395b50cdfc9a28e9791e5484890f0201b.json
Commit message (Collapse)AuthorAge
* Rename the `login` module to `user`.Owen Jacobson2025-03-23
|
* Make sure (most) queries avoid table scans.Owen Jacobson2024-10-23
I've exempted inserts (they never scan in the first place), queries on `event_sequence` (at most one row), and the coalesce()s used for event replay (for now; these are obviously a performance risk area and need addressing). Method: ``` find .sqlx -name 'query-*.json' -exec jq -r '"explain query plan " + .query + ";"' {} + > explain.sql ``` Then go query by query through the resulting file.