Şöyle yaparız
# Memory settingsshared_buffers = 16GBwork_mem = 64MBmaintenance_work_mem = 2GBeffective_cache_size = 48GB# Connection settingsmax_connections = 500# Checkpoint settingscheckpoint_segments = 32checkpoint_completion_target = 0.9# WAL settingswal_buffers = 16MBmax_wal_size = 4GB# Logging settingslog_min_duration_statement = 5000 # Log queries taking longer than 5 seconds