SpinTheMic
Pro

Interview practice question

Dashboard queries hurt the main database

System Design · Scalability · Intermediate

Reporting dashboards run heavy aggregate queries on your production database, slowing down customer requests. How do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Separate analytics from OLTP.
  • Read replica for reports short term.
  • Stream changes to a warehouse (CDC).
  • Pre-aggregate common metrics.
  • Protect primary with limits.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics