Merged
Size
XS
Change Breakdown
Performance80%
Bug Fix20%
#3349fix(db): add index to ProjectAlertStorage to prevent sequence scans

Database indexed to prevent sequence scans

Database query speeds should improve following the addition of a new compound index on project alert storage, preventing expensive sequence scans during lookups.

Queries against project alert storage were previously executing full sequence scans, which drag down database performance as data sets grow. A new compound index optimizes these lookups directly. By mapping the alert channel, type, and storage ID together, the system can locate specific alert configurations immediately instead of scanning every row in the table. This reduces database load, protects response times, and ensures the infrastructure scales cleanly under heavy query volume. The optimization lives in the internal database package and is applied concurrently to avoid locking tables during the migration.

© 2026 · via Gitpulse