| From: | Magnus Hagander <magnus(at)hagander(dot)net> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Allow setting sample ratio for auto_explain |
| Date: | 2016-03-11 14:11:13 |
| Message-ID: | E1aeNmb-000179-3d@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Allow setting sample ratio for auto_explain
New configuration parameter auto_explain.sample_ratio makes it
possible to log just a fraction of the queries meeting the configured
threshold, to reduce the amount of logging.
Author: Craig Ringer and Julien Rouhaud
Review: Petr Jelinek
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/92f03fe76fe6be683a8b7497579158b8a82b2c25
Modified Files
--------------
contrib/auto_explain/auto_explain.c | 31 ++++++++++++++++++++++++++++---
doc/src/sgml/auto-explain.sgml | 18 ++++++++++++++++++
2 files changed, 46 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-03-11 15:25:12 | pgsql: Minor additional refactoring of planner.c's PathTarget handling. |
| Previous Message | Robert Haas | 2016-03-11 13:05:27 | pgsql: psql: Don't automatically use expanded format when there's 1 col |