parent
d66a079b1b
commit
db01ed546b
4
guc.c
4
guc.c
|
@ -98,7 +98,7 @@ init_guc(void)
|
|||
|
||||
conf[i++] = (GucVariable) {
|
||||
.guc_name = "pg_stat_monitor.pgsm_respose_time_step",
|
||||
.guc_desc = "Sets the respose time steps in millisecond.",
|
||||
.guc_desc = "Sets the response time steps in millisecond.",
|
||||
.guc_default = 1,
|
||||
.guc_min = 1,
|
||||
.guc_max = INT_MAX,
|
||||
|
@ -237,7 +237,7 @@ init_guc(void)
|
|||
NULL);
|
||||
|
||||
DefineCustomIntVariable("pg_stat_monitor.pgsm_respose_time_step",
|
||||
"Sets the respose time steps in millisecond.",
|
||||
"Sets the response time steps in millisecond.",
|
||||
NULL,
|
||||
&PGSM_RESPOSE_TIME_STEP,
|
||||
1,
|
||||
|
|
|
@ -34,7 +34,7 @@ CREATE FUNCTION pg_stat_monitor(IN showtext boolean,
|
|||
OUT max_time float8,
|
||||
OUT mean_time float8,
|
||||
OUT stddev_time float8,
|
||||
OUT effected_rows int8,
|
||||
OUT affected_rows int8,
|
||||
|
||||
OUT shared_blks_hit int8,
|
||||
OUT shared_blks_read int8,
|
||||
|
@ -112,7 +112,7 @@ CREATE VIEW pg_stat_monitor AS SELECT
|
|||
round( CAST(max_time as numeric), 2)::float8 as max_time,
|
||||
round( CAST(mean_time as numeric), 2)::float8 as mean_time,
|
||||
round( CAST(stddev_time as numeric), 2)::float8 as stddev_time,
|
||||
effected_rows,
|
||||
affected_rows,
|
||||
shared_blks_hit,
|
||||
shared_blks_read,
|
||||
shared_blks_dirtied,
|
||||
|
|
Loading…
Reference in New Issue