Query Insights
Query Insights shows the slowest and most frequent queries your app runs, grouped by shape, with the line of code that sent each one.
Reading the table
p95 — the time 95% of calls finished within
Calls — how often the query ran in the window
Rows — the average rows returned
A query with high calls and few rows is usually an N+1 loop. Insights flags it with a suggestion to use include.
Updated
Was this page helpful?