pgsql: Allow setting sample ratio for auto_explain

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Allow setting sample ratio for auto_explain
Дата
Msg-id E1aeNmb-000179-3d@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: psql: Don't automatically use expanded format when there's 1 col
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Minor additional refactoring of planner.c's PathTarget handling.