Skip to content

Commit 6b5d565

Browse files
experdbPostgreSQL Server
authored andcommitted
modified default values log_timing from on to off, max: 1000 to 5000, min_duration 0 to 10
1 parent e1d567b commit 6b5d565

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pg_store_plans.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ _PG_init(void)
423423
"Sets the maximum number of plans tracked by pg_store_plans.",
424424
NULL,
425425
&store_size,
426-
1000,
426+
5000,
427427
100,
428428
INT_MAX,
429429
PGC_POSTMASTER,
@@ -485,7 +485,7 @@ _PG_init(void)
485485
"Minimum duration to record plan in milliseconds.",
486486
NULL,
487487
&min_duration,
488-
0,
488+
10,
489489
0,
490490
INT_MAX,
491491
PGC_SUSET,
@@ -531,7 +531,7 @@ _PG_init(void)
531531
"Log timings.",
532532
NULL,
533533
&log_timing,
534-
true,
534+
false,
535535
PGC_SUSET,
536536
0,
537537
NULL,

0 commit comments

Comments
 (0)