|
| 1 | +include 'default.v14.conf' |
| 2 | +listen_addresses = '*' |
| 3 | +max_connections = 1000 |
| 4 | +max_locks_per_transaction = 1024 |
| 5 | +temp_buffers = 512MB |
| 6 | +work_mem = 512MB |
| 7 | +maintenance_work_mem = 4GB |
| 8 | +effective_io_concurrency = 16 |
| 9 | +wal_buffers = 256MB |
| 10 | +checkpoint_timeout = 15min |
| 11 | +checkpoint_completion_target = 0.9 |
| 12 | +seq_page_cost = .5 |
| 13 | +random_page_cost = 1.0 |
| 14 | +default_statistics_target = 10 |
| 15 | +log_destination = 'csvlog' |
| 16 | +logging_collector = on |
| 17 | +log_rotation_age = 1d |
| 18 | +log_rotation_size = 0 |
| 19 | +log_min_messages = info |
| 20 | +log_min_error_statement = info |
| 21 | +log_min_duration_statement = -1 |
| 22 | +track_io_timing = on |
| 23 | +track_activity_query_size = 16384 |
| 24 | +log_autovacuum_min_duration = 0 |
| 25 | +autovacuum_vacuum_scale_factor = 0.1 |
| 26 | +autovacuum_vacuum_cost_delay = 0 |
| 27 | +autovacuum_vacuum_threshold = 1000000 |
| 28 | +autovacuum_analyze_threshold = 1000000 |
| 29 | +autovacuum_freeze_max_age = 1000000000 |
| 30 | +vacuum_cost_delay = 0 |
| 31 | +commit_delay = 1000 # range 0-100000, in microseconds |
| 32 | +timezone = 'utc' |
| 33 | +max_worker_processes = 200 |
| 34 | +shared_buffers = 8GB |
| 35 | +effective_cache_size = 24GB |
| 36 | +wal_level = logical |
| 37 | +max_wal_senders = 200 |
| 38 | +wal_keep_size = 12GB |
| 39 | +full_page_writes = on |
| 40 | +max_replication_slots = 100 |
| 41 | +max_logical_replication_workers = 100 |
| 42 | +max_sync_workers_per_subscription = 100 |
| 43 | +wal_sender_timeout = 0 |
| 44 | +max_standby_streaming_delay = 30s |
| 45 | +hot_standby_feedback = on |
| 46 | +wal_compression = on |
| 47 | +old_snapshot_threshold = 1440 # 24 hours in minutes |
0 commit comments