| From: | Anthony Sotolongo <asotolongo(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Cc: | daymelbonne(at)gmail(dot)com |
| Subject: | Expose Parallelism counters planned/execute in pg_stat_statements |
| Date: | 2022-07-21 22:26:58 |
| Message-ID: | 6acbe570-068e-bd8e-95d5-00c737b865e8@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi all:
Here's a patch to add counters about planned/executed for parallelism
to pg_stat_statements, as a way to follow-up on if the queries are
planning/executing with parallelism, this can help to understand if you
have a good/bad configuration or if your hardware is enough
We decided to store information about the number of times is planned
and the number of times executed the parallelism by queries
Regards
Anthony
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0001-pg_stat_statements_counters-parallelism.patch | text/x-patch | 15.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2022-07-21 22:29:00 | Re: Fwd: Unprivileged user can induce crash by using an SUSET param in PGOPTIONS |
| Previous Message | Peter Smith | 2022-07-21 22:16:57 | Re: Refactor to make use of a common function for GetSubscriptionRelations and GetSubscriptionNotReadyRelations. |