PEP-219: индекс events(session_id, type) — доска грузится 6 с #201
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "refs/pull/201/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Доска
/p/PEPоткрывалась за 2–6,5 с. На копии живой базы 3,4 с из всей отрисовки занималlistSessions: подзапросswitchesдля каждой из 746 сессий полностью перебиралevents(~40 000 строк), у которой был только индекс поcreated_at.Индекс
events(session_id, type): запрос 4,4 с → 0,008 с на копии базы.Остальные индексы — PEP-214, скорость доски в целом — PEP-215.
🤖 Generated with Claude Code