# -----------------------------
# Tantor configuration file
# -----------------------------
#
# IWTM custom values
listen_addresses = '*'
port = 5433
max_connections = 1000 # (change requires restart)
tcp_keepalives_idle = 60 # TCP_KEEPIDLE, in seconds'
tcp_keepalives_interval = 20 # TCP_KEEPINTVL, in seconds'
tcp_keepalives_count = 2 # TCP_KEEPCNT
shared_buffers = 128kB
huge_pages = try # on, off, or try
max_locks_per_transaction = 512
temp_buffers = 32MB
work_mem = 16MB
effective_cache_size = 4096MB
min_wal_size = 6144MB
max_wal_size = 6144MB
lc_messages = 'en_US.UTF-8' # locale for system error message
log_directory = 'pg_log'
log_filename = 'postgresql.log' # log file name pattern
log_rotation_age = 0 # Automatic rotation of logfiles will happen after that time. 0 disables.
log_rotation_size = 0 # Automatic rotation of logfiles will happen after that much log output. 0 disables.
log_min_duration_statement = 120000 # -1 is disabled, 0 logs all statements
track_activity_query_size = 32768 # (change requires restart)
log_autovacuum_min_duration = 30000 # -1 disables, 0 logs all actions and
# stats_temp_directory = '/var/lib/postgresql/tantor-be-15/data/pg_stat_tmp'
autovacuum_max_workers = 5
autovacuum_naptime = 20
maintenance_work_mem = 1GB
autovacuum_freeze_max_age = 1000000000
#shared_preload_libraries = 'pg_stat_statements'
track_io_timing = on
track_activity_query_size = 32768
enable_partitionwise_join = on
constraint_exclusion = off # on, off, or partition
standard_conforming_strings = on |