List Postgres slow query patterns
This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns aggregate metrics for the slowest query patterns observed on a Postgres service during the given time window. Use this to discover which queries dominate total execution time, CPU, I/O, or WAL generation.
Request
- Base URL: https://api.clickhouse.cloud
- URL: https://api.clickhouse.cloud/v1/organizations/{organizationId}/postgres/{postgresId}/slowQueryPatterns
- Auth: HTTP basic
Path parameters
ID of the organization that owns the Postgres service.
ID of the requested Postgres service.
Query parameters
Inclusive start of the time window (RFC 3339 date-time).
Exclusive end of the time window (RFC 3339 date-time).
Database name filter.
Database user filter.
Database operation filter (for example, SELECT, INSERT, UPDATE, DELETE, UTILITY).
Application name filter.
Field to sort results by.
Sort order. One of asc or desc.
Maximum number of results to return.
Number of results to skip before returning.
Response
Successful response
Example response
{
"status": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.