31 lines
609 B
Plaintext
31 lines
609 B
Plaintext
|
# fems-timescaledb/postgresql.conf
|
||
|
listen_addresses = '*'
|
||
|
port = 5433
|
||
|
max_connections = 100
|
||
|
shared_buffers = 128MB
|
||
|
shared_preload_libraries = 'timescaledb'
|
||
|
|
||
|
# TimescaleDB 설정
|
||
|
timescaledb.telemetry_level = 'off'
|
||
|
timescaledb.max_background_workers = 8
|
||
|
|
||
|
# 메모리 설정
|
||
|
work_mem = '16MB'
|
||
|
maintenance_work_mem = '64MB'
|
||
|
dynamic_shared_memory_type = posix
|
||
|
|
||
|
# WAL 설정
|
||
|
wal_level = 'replica'
|
||
|
max_wal_size = 1GB
|
||
|
min_wal_size = 80MB
|
||
|
|
||
|
# 로깅 설정
|
||
|
log_timezone = 'Asia/Seoul'
|
||
|
datestyle = 'iso, ymd'
|
||
|
timezone = 'Asia/Seoul'
|
||
|
|
||
|
# 로케일 설정
|
||
|
lc_messages = 'C'
|
||
|
lc_monetary = 'C'
|
||
|
lc_numeric = 'C'
|
||
|
lc_time = 'C'
|