Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaf23176

Browse files
Reorder vacuum GUCs in postgresql.conf.sample to match docs
ca9c6a5 consolidated most of vacuum-related GUCs' documentation intoa new subsection. It neglected, however, to reorganizepostgresql.conf.sample to match the new order. Do this now.Reported-by: Álvaro HerreraDiscussion:https://postgr.es/m/202501110902.5banlseavz7c%40alvherre.pgsql
1 parent1c854eb commitaf23176

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

‎src/backend/utils/misc/postgresql.conf.sample

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,6 @@
185185
#max_files_per_process = 1000# min 64
186186
# (change requires restart)
187187

188-
# - Cost-Based Vacuum Delay -
189-
190-
#vacuum_cost_delay = 0# 0-100 milliseconds (0 disables)
191-
#vacuum_cost_page_hit = 1# 0-10000 credits
192-
#vacuum_cost_page_miss = 2# 0-10000 credits
193-
#vacuum_cost_page_dirty = 20# 0-10000 credits
194-
#vacuum_cost_limit = 200# 1-10000 credits
195-
196188
# - Background Writer -
197189

198190
#bgwriter_delay = 200ms# 10-10000ms between rounds
@@ -656,9 +648,11 @@
656648

657649

658650
#------------------------------------------------------------------------------
659-
#AUTOVACUUM
651+
#VACUUMING
660652
#------------------------------------------------------------------------------
661653

654+
# - Automatic Vacuuming -
655+
662656
#autovacuum = on# Enable autovacuum subprocess? 'on'
663657
# requires track_counts to also be on.
664658
autovacuum_worker_slots = 16# autovacuum worker slots to allocate
@@ -688,6 +682,22 @@ autovacuum_worker_slots = 16# autovacuum worker slots to allocate
688682
# autovacuum, -1 means use
689683
# vacuum_cost_limit
690684

685+
# - Cost-Based Vacuum Delay -
686+
687+
#vacuum_cost_delay = 0# 0-100 milliseconds (0 disables)
688+
#vacuum_cost_page_hit = 1# 0-10000 credits
689+
#vacuum_cost_page_miss = 2# 0-10000 credits
690+
#vacuum_cost_page_dirty = 20# 0-10000 credits
691+
#vacuum_cost_limit = 200# 1-10000 credits
692+
693+
# - Freezing -
694+
695+
#vacuum_freeze_table_age = 150000000
696+
#vacuum_freeze_min_age = 50000000
697+
#vacuum_failsafe_age = 1600000000
698+
#vacuum_multixact_freeze_table_age = 150000000
699+
#vacuum_multixact_freeze_min_age = 5000000
700+
#vacuum_multixact_failsafe_age = 1600000000
691701

692702
#------------------------------------------------------------------------------
693703
# CLIENT CONNECTION DEFAULTS
@@ -722,12 +732,6 @@ autovacuum_worker_slots = 16# autovacuum worker slots to allocate
722732
#lock_timeout = 0# in milliseconds, 0 is disabled
723733
#idle_in_transaction_session_timeout = 0# in milliseconds, 0 is disabled
724734
#idle_session_timeout = 0# in milliseconds, 0 is disabled
725-
#vacuum_freeze_table_age = 150000000
726-
#vacuum_freeze_min_age = 50000000
727-
#vacuum_failsafe_age = 1600000000
728-
#vacuum_multixact_freeze_table_age = 150000000
729-
#vacuum_multixact_freeze_min_age = 5000000
730-
#vacuum_multixact_failsafe_age = 1600000000
731735
#bytea_output = 'hex'# hex, escape
732736
#xmlbinary = 'base64'
733737
#xmloption = 'content'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp