This commit is contained in:
2025-07-11 21:05:58 +08:00
parent 5b4392894f
commit e3d64e7485
74 changed files with 14379 additions and 697 deletions

View File

@@ -0,0 +1,28 @@
# PostgreSQL配置文件
# 时区设置
timezone = 'Asia/Shanghai'
log_timezone = 'Asia/Shanghai'
# 字符编码
client_encoding = 'UTF8'
# 连接设置
max_connections = 100
shared_buffers = 128MB
# 日志设置
log_destination = 'stderr'
logging_collector = on
log_directory = 'log'
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
log_rotation_age = 1d
log_rotation_size = 100MB
# 性能设置
effective_cache_size = 1GB
work_mem = 4MB
maintenance_work_mem = 64MB
# 查询优化
random_page_cost = 1.1
effective_io_concurrency = 200