Code RoomAnalytics query slowing production database
MediumPrep Room Coding #3121

Analytics query slowing production database

On-callDatabases & SQLReliability & on-callMid–Senior~20 min

The production database is up but suddenly slow for everyone, and you find a heavy long-running analytics/reporting query running against the primary. How do you respond?

What a strong answer looks like

Stop the bleeding first (mitigate), then form hypotheses from real signals. Separate root cause from symptom, communicate status as you go, and close with what prevents a repeat.

0:00 of about 20 min
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.