Generalized pg_stat_statements?

From: Jacob Scott <jacob(dot)scott(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Generalized pg_stat_statements?
Date: 2017-04-27 17:33:17
Message-ID: CA+yM-qa7QXh3vpFqSV8n4DMjmg-EVBAjyZY1=ywRThkxroGtcw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

When reviewing execution statistics, I am frequently interested in the
behavior of "classes" of queries, rather than individual queries, for
example queries which

- Contain a join
- Touch a specific column
- Use POSIX regular expressions

AFAIK this sort of summary/rollup information can't be computed reliably
from pg_stat_statements because of rows being discarded in the face of a
large number of (post normalization/jumble) distinct statements.

Is there a way to retrieve these kinds of statistics in Postgres today?

Thanks,

Jacob

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andres Freund 2017-04-27 17:35:40 Re: Questionaire: Common WAL write rates on busy servers.
Previous Message Joshua D. Drake 2017-04-27 17:29:48 Re: Questionaire: Common WAL write rates on busy servers.