@@ -179,13 +179,11 @@ postgresql_ssl_ca_file: "" # (>= 9.2)
179
179
postgresql_ssl_crl_file : " " # (>= 9.2)
180
180
postgresql_ssl_crl_dir : " " # (>= 14)
181
181
182
-
183
182
# ------------------------------------------------------------------------------
184
183
# RESOURCE USAGE (except WAL)
185
184
# ------------------------------------------------------------------------------
186
185
187
186
# - Memory -
188
-
189
187
postgresql_shared_buffers : 128MB # min 128kB
190
188
postgresql_huge_pages : " try" # on, off, or try
191
189
postgresql_huge_page_size : 0 # (>= 14)
@@ -234,7 +232,7 @@ postgresql_vacuum_cost_limit: 200 # 1-10000 credits
234
232
postgresql_bgwriter_delay : 200ms # 10-10000ms between rounds
235
233
postgresql_bgwriter_lru_maxpages : 100 # 0-1000 max buffers written/round
236
234
postgresql_bgwriter_lru_multiplier : 2.0 # 0-10.0 multiplier on buffers scanned/round
237
- postgresql_bgwriter_flush_after : 512kB # measured in pages, 0 disables
235
+ postgresql_bgwriter_flush_after : 512kB # measured in pages, 0 disables
238
236
239
237
# - Asynchronous Behavior -
240
238
@@ -249,7 +247,6 @@ postgresql_parallel_leader_participation: on # (>= 11)
249
247
postgresql_old_snapshot_threshold : -1 # (>= 9.6) 1min-60d; -1 disables; 0 is immediate
250
248
# (change requires restart)
251
249
252
-
253
250
# ------------------------------------------------------------------------------
254
251
# WRITE-AHEAD LOG
255
252
# ------------------------------------------------------------------------------
@@ -276,9 +273,7 @@ postgresql_wal_skip_threshold: 2MB # (>= 13)
276
273
postgresql_commit_delay : 0 # range 0-100000, in microseconds
277
274
postgresql_commit_siblings : 5 # range 1-1000
278
275
279
-
280
276
# - Checkpoints -
281
-
282
277
postgresql_max_wal_size : 1GB # (>= 9.5)
283
278
postgresql_min_wal_size : 80MB # (>= 9.5)
284
279
postgresql_checkpoint_flush_after : 0 # (>= 9.6) 0 disables,
@@ -288,12 +283,10 @@ postgresql_checkpoint_completion_target: 0.5 # checkpoint target duration, 0.0
288
283
postgresql_checkpoint_warning : 30s # 0 disables
289
284
290
285
# - Prefetching during recovery -
291
-
292
286
postgresql_recovery_prefetch : try # (>= 15)
293
287
postgresql_wal_decode_buffer_size : 512kB # (>= 15)
294
288
295
289
# - Archiving -
296
-
297
290
postgresql_archive_mode : " off"
298
291
postgresql_archive_library : " " # (>= 15)
299
292
# Command to use to archive a logfile segment.
@@ -305,17 +298,13 @@ postgresql_archive_command: ""
305
298
postgresql_archive_timeout : 0
306
299
307
300
# - Archive Recovery -
308
-
309
301
# These are only used in recovery mode.
310
-
311
302
postgresql_restore_command : " " # (>= 12)
312
303
postgresql_archive_cleanup_command : " " # (>= 12)
313
304
postgresql_recovery_end_command : " " # (>= 12)
314
305
315
306
# - Recovery Target -
316
-
317
307
# Set these only when performing a targeted recovery.
318
-
319
308
postgresql_recovery_target : " " # (>= 12)
320
309
postgresql_recovery_target_name : " " # (>= 12)
321
310
postgresql_recovery_target_time : " " # (>= 12)
@@ -325,15 +314,11 @@ postgresql_recovery_target_inclusive: "" # (>= 12)
325
314
postgresql_recovery_target_timeline : " latest" # (>= 12)
326
315
postgresql_recovery_target_action : " pause" # (>= 12)
327
316
328
-
329
317
# ------------------------------------------------------------------------------
330
318
# REPLICATION
331
319
# ------------------------------------------------------------------------------
332
-
333
320
# - Sending Servers -
334
-
335
321
# Set these on the primary and on any standby that will send replication data.
336
-
337
322
# max number of walsender processes
338
323
postgresql_max_wal_senders : 10
339
324
postgresql_max_replication_slots : 0 # max number of replication slots
@@ -346,9 +331,7 @@ postgresql_wal_sender_timeout: 60s # in milliseconds; 0 disables (>= 9.3)
346
331
postgresql_track_commit_timestamp : off # (>= 9.5)
347
332
348
333
# - Primary Server -
349
-
350
334
# These settings are ignored on a standby server.
351
-
352
335
# standby servers that provide sync rep.
353
336
# number of sync standbys (>= 9.6) and comma-separated list of application_name from standby(s)
354
337
postgresql_synchronous_standby_names : [] # '*' means 'all'
@@ -358,9 +341,7 @@ postgresql_synchronous_standby_choose_sync: "FIRST" # >= 10
358
341
postgresql_vacuum_defer_cleanup_age : 0
359
342
360
343
# - Standby Servers -
361
-
362
344
# These settings are ignored on a primary server.
363
-
364
345
postgresql_primary_conninfo : " " # (>= 12)
365
346
postgresql_primary_slot_name : " " # (>= 12)
366
347
postgresql_promote_trigger_file : " " # (>= 12)
@@ -382,20 +363,15 @@ postgresql_wal_retrieve_retry_interval: 5s # (>= 9.5)
382
363
postgresql_recovery_min_apply_delay : 0 # (>= 12)
383
364
384
365
# - Subscribers - (>= 10)
385
-
386
366
# These settings are ignored on a publisher.
387
-
388
367
postgresql_max_logical_replication_workers : 4 # (>= 10) taken from max_worker_processes
389
368
# (change requires restart)
390
369
postgresql_max_sync_workers_per_subscription : 2 # (>= 10) taken from max_logical_replication_workers
391
370
392
-
393
371
# ------------------------------------------------------------------------------
394
372
# QUERY TUNING
395
373
# ------------------------------------------------------------------------------
396
-
397
374
# - Planner Method Configuration -
398
-
399
375
postgresql_enable_async_append : on # (>= 14)
400
376
postgresql_enable_bitmapscan : on
401
377
postgresql_enable_gathermerge : on # (>= 14)
@@ -418,7 +394,6 @@ postgresql_enable_sort: on
418
394
postgresql_enable_tidscan : on
419
395
420
396
# - Planner Cost Constants -
421
-
422
397
postgresql_seq_page_cost : 1.0 # measured on an arbitrary scale
423
398
postgresql_random_page_cost : 4.0 # same scale as above
424
399
postgresql_cpu_tuple_cost : 0.01 # same scale as above
@@ -436,7 +411,6 @@ postgresql_jit_inline_above_cost: 500000 # inline small functions if query
436
411
postgresql_jit_optimize_above_cost : 500000 # use expensive JIT optimizations if
437
412
438
413
# - Genetic Query Optimizer -
439
-
440
414
postgresql_geqo : on
441
415
postgresql_geqo_threshold : 12
442
416
postgresql_geqo_effort : 5 # range 1-10
@@ -445,9 +419,7 @@ postgresql_geqo_generations: 0 # selects default based on effort
445
419
postgresql_geqo_selection_bias : 2.0 # range 1.5-2.0
446
420
postgresql_geqo_seed : 0.0 # range 0.0-1.0
447
421
448
-
449
422
# - Other Planner Options -
450
-
451
423
postgresql_default_statistics_target : 100 # range 1-10000
452
424
postgresql_constraint_exclusion : " partition" # on, off, or partition
453
425
postgresql_cursor_tuple_fraction : 0.1 # range 0.0-1.0
@@ -458,13 +430,10 @@ postgresql_force_parallel_mode: off # on, off, regress (>= 9.6 <
458
430
postgresql_plan_cache_mode : " auto" # (>= 12)
459
431
postgresql_recursive_worktable_factor : 10.0 # (>= 15) range 0.001-1000000
460
432
461
-
462
433
# ------------------------------------------------------------------------------
463
434
# REPORTING AND LOGGING
464
435
# ------------------------------------------------------------------------------
465
-
466
436
# - Where to Log -
467
-
468
437
# Valid values are combinations of stderr, csvlog, syslog, and eventlog.
469
438
# depending on platform. Csvlog requires logging_collector to be on.
470
439
postgresql_log_destination : " stderr"
@@ -498,7 +467,6 @@ postgresql_syslog_split_messages: on # (>= 9.6)
498
467
# This is only relevant when logging to eventlog (win32) (>= 9.2):
499
468
postgresql_event_source : " PostgreSQL"
500
469
501
-
502
470
# - When to Log -
503
471
504
472
# Values in order of decreasing detail:
@@ -589,14 +557,12 @@ postgresql_log_replication_commands: off
589
557
postgresql_log_temp_files : -1
590
558
postgresql_log_timezone : " UTC"
591
559
592
-
593
560
# ------------------------------------------------------------------------------
594
561
# PROCESS TITLE
595
562
# ------------------------------------------------------------------------------
596
563
597
564
postgresql_update_process_title : on # (>= 9.2)
598
565
599
-
600
566
# ------------------------------------------------------------------------------
601
567
# STATISTICS
602
568
# ------------------------------------------------------------------------------
@@ -612,16 +578,13 @@ postgresql_track_functions: "none" # none, pl, all
612
578
postgresql_stats_fetch_consistency : cache # (>= 15)
613
579
postgresql_stats_temp_directory : " pg_stat_tmp" # (<= 14)
614
580
615
-
616
581
# - Monitoring -
617
-
618
582
postgresql_compute_query_id : auto # (>= 14) auto, on, off
619
583
postgresql_log_parser_stats : off
620
584
postgresql_log_planner_stats : off
621
585
postgresql_log_executor_stats : off
622
586
postgresql_log_statement_stats : off
623
587
624
-
625
588
# ------------------------------------------------------------------------------
626
589
# AUTOVACUUM
627
590
# ------------------------------------------------------------------------------
@@ -653,7 +616,6 @@ postgresql_autovacuum_vacuum_cost_delay: 2ms # (<= 11: 20ms, >=12 2ms)
653
616
# default vacuum cost limit for autovacuum,
654
617
postgresql_autovacuum_vacuum_cost_limit : -1
655
618
656
-
657
619
# ------------------------------------------------------------------------------
658
620
# CLIENT CONNECTION DEFAULTS
659
621
# ------------------------------------------------------------------------------
@@ -746,11 +708,10 @@ postgresql_jit_provider: "llvmjit"
746
708
# - Other Defaults -
747
709
748
710
postgresql_dynamic_library_path : " $libdir"
749
- postgresql_extension_destdir : " " # (>= 14)
711
+ postgresql_extension_destdir : " " # (>= 14)
750
712
751
713
postgresql_gin_fuzzy_search_limit : 0 # (<= 9.2)
752
714
753
-
754
715
# ------------------------------------------------------------------------------
755
716
# LOCK MANAGEMENT
756
717
# ------------------------------------------------------------------------------
@@ -768,7 +729,6 @@ postgresql_max_pred_locks_per_relation: -2 # (>= 10) negative values mean
768
729
# / -max_pred_locks_per_relation) - 1
769
730
postgresql_max_pred_locks_per_page : 2 # (>= 10) min 0
770
731
771
-
772
732
# ------------------------------------------------------------------------------
773
733
# VERSION AND PLATFORM COMPATIBILITY
774
734
# ------------------------------------------------------------------------------
@@ -790,7 +750,6 @@ postgresql_sql_inheritance: on # (<= 9.6)
790
750
791
751
postgresql_transform_null_equals : off
792
752
793
-
794
753
# ------------------------------------------------------------------------------
795
754
# ERROR HANDLING
796
755
# ------------------------------------------------------------------------------
@@ -803,7 +762,6 @@ postgresql_restart_after_crash: on
803
762
postgresql_data_sync_retry : off
804
763
postgresql_recovery_init_sync_method : fsync # (>= 14) fsync, syncfs (Linux 5.8+)
805
764
806
-
807
765
# ------------------------------------------------------------------------------
808
766
# CONFIG FILE INCLUDES
809
767
# ------------------------------------------------------------------------------
@@ -816,7 +774,6 @@ postgresql_include_if_exists: false
816
774
# include file
817
775
postgresql_include : false
818
776
819
-
820
777
# ------------------------------------------------------------------------------
821
778
# PGTUNE
822
779
# ------------------------------------------------------------------------------
@@ -829,7 +786,6 @@ postgresql_pgtune_type: "Mixed"
829
786
# Maximum number of expected connections, if "no", default based on db type
830
787
postgresql_pgtune_connections : no
831
788
832
-
833
789
# ------------------------------------------------------------------------------
834
790
# INSTALL/REPO
835
791
# ------------------------------------------------------------------------------
0 commit comments