pgstat: rename STATS_COLLECTOR GUC group to STATS_CUMULATIVE.
Reviewed-By: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Author: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
This commit is contained in:
parent
6f0cf87872
commit
1db4e5a4ee
|
@ -810,8 +810,8 @@ const char *const config_group_names[] =
|
||||||
gettext_noop("Reporting and Logging / Process Title"),
|
gettext_noop("Reporting and Logging / Process Title"),
|
||||||
/* STATS_MONITORING */
|
/* STATS_MONITORING */
|
||||||
gettext_noop("Statistics / Monitoring"),
|
gettext_noop("Statistics / Monitoring"),
|
||||||
/* STATS_COLLECTOR */
|
/* STATS_CUMULATIVE */
|
||||||
gettext_noop("Statistics / Query and Index Statistics Collector"),
|
gettext_noop("Statistics / Cumulative Query and Index Statistics"),
|
||||||
/* AUTOVACUUM */
|
/* AUTOVACUUM */
|
||||||
gettext_noop("Autovacuum"),
|
gettext_noop("Autovacuum"),
|
||||||
/* CLIENT_CONN_STATEMENT */
|
/* CLIENT_CONN_STATEMENT */
|
||||||
|
@ -1548,7 +1548,7 @@ static struct config_bool ConfigureNamesBool[] =
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
{
|
{
|
||||||
{"track_activities", PGC_SUSET, STATS_COLLECTOR,
|
{"track_activities", PGC_SUSET, STATS_CUMULATIVE,
|
||||||
gettext_noop("Collects information about executing commands."),
|
gettext_noop("Collects information about executing commands."),
|
||||||
gettext_noop("Enables the collection of information on the currently "
|
gettext_noop("Enables the collection of information on the currently "
|
||||||
"executing command of each session, along with "
|
"executing command of each session, along with "
|
||||||
|
@ -1559,7 +1559,7 @@ static struct config_bool ConfigureNamesBool[] =
|
||||||
NULL, NULL, NULL
|
NULL, NULL, NULL
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
{"track_counts", PGC_SUSET, STATS_COLLECTOR,
|
{"track_counts", PGC_SUSET, STATS_CUMULATIVE,
|
||||||
gettext_noop("Collects statistics on database activity."),
|
gettext_noop("Collects statistics on database activity."),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
@ -1568,7 +1568,7 @@ static struct config_bool ConfigureNamesBool[] =
|
||||||
NULL, NULL, NULL
|
NULL, NULL, NULL
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
{"track_io_timing", PGC_SUSET, STATS_COLLECTOR,
|
{"track_io_timing", PGC_SUSET, STATS_CUMULATIVE,
|
||||||
gettext_noop("Collects timing statistics for database I/O activity."),
|
gettext_noop("Collects timing statistics for database I/O activity."),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
@ -1577,7 +1577,7 @@ static struct config_bool ConfigureNamesBool[] =
|
||||||
NULL, NULL, NULL
|
NULL, NULL, NULL
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
{"track_wal_io_timing", PGC_SUSET, STATS_COLLECTOR,
|
{"track_wal_io_timing", PGC_SUSET, STATS_CUMULATIVE,
|
||||||
gettext_noop("Collects timing statistics for WAL I/O activity."),
|
gettext_noop("Collects timing statistics for WAL I/O activity."),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
@ -3539,7 +3539,7 @@ static struct config_int ConfigureNamesInt[] =
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
{"track_activity_query_size", PGC_POSTMASTER, STATS_COLLECTOR,
|
{"track_activity_query_size", PGC_POSTMASTER, STATS_CUMULATIVE,
|
||||||
gettext_noop("Sets the size reserved for pg_stat_activity.query, in bytes."),
|
gettext_noop("Sets the size reserved for pg_stat_activity.query, in bytes."),
|
||||||
NULL,
|
NULL,
|
||||||
GUC_UNIT_BYTE
|
GUC_UNIT_BYTE
|
||||||
|
@ -4907,7 +4907,7 @@ static struct config_enum ConfigureNamesEnum[] =
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
{"track_functions", PGC_SUSET, STATS_COLLECTOR,
|
{"track_functions", PGC_SUSET, STATS_CUMULATIVE,
|
||||||
gettext_noop("Collects function-level statistics on database activity."),
|
gettext_noop("Collects function-level statistics on database activity."),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
@ -4918,7 +4918,7 @@ static struct config_enum ConfigureNamesEnum[] =
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
{"stats_fetch_consistency", PGC_USERSET, STATS_COLLECTOR,
|
{"stats_fetch_consistency", PGC_USERSET, STATS_CUMULATIVE,
|
||||||
gettext_noop("Sets the consistency of accesses to statistics data"),
|
gettext_noop("Sets the consistency of accesses to statistics data"),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
|
|
@ -605,7 +605,7 @@
|
||||||
# STATISTICS
|
# STATISTICS
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# - Query and Index Statistics Collector -
|
# - Cumulative Query and Index Statistics -
|
||||||
|
|
||||||
#track_activities = on
|
#track_activities = on
|
||||||
#track_activity_query_size = 1024 # (change requires restart)
|
#track_activity_query_size = 1024 # (change requires restart)
|
||||||
|
|
|
@ -82,7 +82,7 @@ enum config_group
|
||||||
LOGGING_WHAT,
|
LOGGING_WHAT,
|
||||||
PROCESS_TITLE,
|
PROCESS_TITLE,
|
||||||
STATS_MONITORING,
|
STATS_MONITORING,
|
||||||
STATS_COLLECTOR,
|
STATS_CUMULATIVE,
|
||||||
AUTOVACUUM,
|
AUTOVACUUM,
|
||||||
CLIENT_CONN_STATEMENT,
|
CLIENT_CONN_STATEMENT,
|
||||||
CLIENT_CONN_LOCALE,
|
CLIENT_CONN_LOCALE,
|
||||||
|
|
Loading…
Reference in New Issue