Noctora
Queries
Every database query your app runs, grouped by its SQL, with call counts, p95 durations and the code that ran it.
Every database query your app runs is a Record, whether it ran in a request, a job, a command or a scheduled task.
The Queries page
Section titled “The Queries page”Queries are grouped by connection and SQL, with values replaced by ? placeholders, so the same query with different values is one row. For each one you see how many times it ran and its average and p95 duration. Sort by any column to find the busiest or slowest queries.
A query
Section titled “A query”A query’s page formats the SQL, shows where in your code it last ran, and charts its calls and durations. It lists its individual calls, each linked to the request, job or command it ran in.
In a trace
Section titled “In a trace”A request’s trace lists its queries in order. Many identical queries in one request are the usual sign of an N+1 problem.
Fewer queries in your usage
Section titled “Fewer queries in your usage”Queries are usually the largest share of your Events. The package can leave them out entirely. See the Laravel Nightwatch docs.