mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
722 B
32 lines
722 B
port = 5432
|
|
listen_addresses='*'
|
|
unix_socket_directories='{$APP_PATH}/tmp'
|
|
|
|
max_connections=200
|
|
max_wal_size = 1GB
|
|
min_wal_size = 80MB
|
|
shared_buffers = 128MB
|
|
work_mem = 4MB
|
|
effective_cache_size = 4GB
|
|
temp_buffers = 8MB
|
|
max_prepared_transactions = 0
|
|
max_stack_depth = 2MB
|
|
bgwriter_lru_maxpages = 100
|
|
max_worker_processes = 8
|
|
dynamic_shared_memory_type = posix
|
|
|
|
|
|
log_timezone = 'Asia/Shanghai'
|
|
datestyle = 'iso, ymd'
|
|
timezone = 'Asia/Shanghai'
|
|
default_text_search_config = 'pg_catalog.simple'
|
|
|
|
|
|
logging_collector = on
|
|
log_destination = 'stderr'
|
|
log_directory = '{$APP_PATH}/logs'
|
|
log_filename = 'postgresql-%Y-%m-%d.log'
|
|
log_statement = all
|
|
log_rotation_age = 7d
|
|
log_rotation_size = 100MB
|
|
log_min_duration_statement = 5000
|
|
|