Slow queries
slow_queriesIdentify slow database queries by retrieving recent queries sorted slowest first, with the request context for each. Filter by minimum duration and result count to pinpoint performance bottlenecks.
Instructions
Recent database queries sorted slowest first, each with the request it ran in. Use request_detail on that request to see everything else it did.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many queries to return, slowest first. | |
| minMs | No | Only queries that took at least this many milliseconds. |