Warehouse · easy · ~10 min
The revenue dashboard's main query used to run in 40 seconds. Since yesterday it takes 28 minutes and the BI tool times out. Nothing about the SQL changed — it joins orders to customer_dim and aggregates.
orders
customer_dim
You pull the query profile. Work out what actually happened, and what fixes it — the answer is in the row counts.