Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. listen_addresses = '*' # what IP address(es) to listen on;
  2. max_connections =4200 # (change requires restart)
  3. ssl = on
  4. ssl_cert_file = 'server.crt'
  5. ssl_key_file = 'server.key'
  6. shared_buffers = 8GB # min 128kB
  7. temp_buffers = 128MB # min 800kB
  8. work_mem = 256MB # min 64kB
  9. maintenance_work_mem = 16GB # min 1MB
  10. autovacuum_work_mem = 4GB # min 1MB, or -1 to use maintenance_work_mem
  11. max_stack_depth = 2MB # min 100kB
  12. dynamic_shared_memory_type = posix # the default is the first option
  13. effective_io_concurrency = 4 # 1-1000; 0 disables prefetching
  14. max_worker_processes = 16 # (change requires restart)
  15. max_parallel_workers_per_gather = 16 # taken from max_parallel_workers
  16. max_parallel_workers = 16 # maximum number of max_worker_processes that
  17. fsync = on # flush data to disk for crash safety
  18. synchronous_commit = off # synchronization level;
  19. full_page_writes = off # recover from partial page writes
  20. checkpoint_timeout = 10min # range 30s-1d
  21. max_wal_size = 2GB
  22. checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0
  23. random_page_cost = 2.5 # same scale as above
  24. effective_cache_size = 20GB
  25. geqo_threshold = 20
  26. default_statistics_target = 5000
  27. constraint_exclusion = on # on, off, or partition
  28. log_destination = 'stderr' # Valid values are combinations of
  29. log_directory = '/var/docker/log/postgresql' # directory where log files are written,
  30. log_line_prefix = '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h' # special values:
  31. log_timezone = 'Europe/Paris'
  32. track_activity_query_size = 8192 # (change requires restart)
  33. autovacuum = on # Enable autovacuum subprocess? 'on'
  34. datestyle = 'iso, dmy'
  35. timezone = 'Europe/Paris'
  36. lc_messages = 'C' # locale for system error message
  37. lc_monetary = 'fr_FR.UTF-8' # locale for monetary formatting
  38. lc_numeric = 'fr_FR.UTF-8' # locale for number formatting
  39. lc_time = 'fr_FR.UTF-8' # locale for time formatting
  40. default_text_search_config = 'pg_catalog.french'
  41. deadlock_timeout = 5s
  42. max_locks_per_transaction = 128 # min 10
  43. escape_string_warning = off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement