duckil_plm/fems-postgres/postgresql.conf

35 lines
775 B
Plaintext
Raw Normal View History

2024-11-19 07:21:45 +09:00
# fems-postgres/postgresql.conf
listen_addresses = '*'
2024-11-20 17:07:46 +09:00
port = 5433
2024-11-19 07:21:45 +09:00
max_connections = 100
shared_buffers = 128MB
2024-11-20 17:07:46 +09:00
work_mem = '16MB'
maintenance_work_mem = '64MB'
2024-11-19 07:21:45 +09:00
dynamic_shared_memory_type = posix
2024-11-20 17:07:46 +09:00
effective_cache_size = '1GB'
# TimescaleDB 설정
shared_preload_libraries = 'timescaledb'
timescaledb.telemetry_level = 'off'
timescaledb.max_background_workers = 8
# WAL 설정
wal_level = 'replica'
2024-11-19 07:21:45 +09:00
max_wal_size = 1GB
min_wal_size = 80MB
2024-11-20 17:07:46 +09:00
checkpoint_completion_target = 0.9
wal_buffers = '16MB'
# 로깅 설정
2024-11-19 07:21:45 +09:00
log_timezone = 'Asia/Seoul'
datestyle = 'iso, ymd'
timezone = 'Asia/Seoul'
2024-11-20 17:07:46 +09:00
lc_messages = 'C'
lc_monetary = 'C'
lc_numeric = 'C'
lc_time = 'C'
default_text_search_config = 'pg_catalog.english'
# 성능 최적화
random_page_cost = 1.1
effective_io_concurrency = 200