Guest User

Untitled

a guest
Aug 3rd, 2014
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.18 KB | None | 0 0
  1. # PostgreSQL configuration file
  2. # -----------------------------
  3. #
  4. # This file consists of lines of the form:
  5. #
  6. # name = value
  7. #
  8. # (The "=" is optional.) Whitespace may be used. Comments are introduced with
  9. # "#" anywhere on a line. The complete list of parameter names and allowed
  10. # values can be found in the PostgreSQL documentation.
  11. #
  12. # The commented-out settings shown in this file represent the default values.
  13. # Re-commenting a setting is NOT sufficient to revert it to the default value;
  14. # you need to reload the server.
  15. #
  16. # This file is read on server startup and when the server receives a SIGHUP
  17. # signal. If you edit the file on a running system, you have to SIGHUP the
  18. # server for the changes to take effect, or use "pg_ctl reload". Some
  19. # parameters, which are marked below, require a server shutdown and restart to
  20. # take effect.
  21. #
  22. # Any parameter can also be given as a command-line option to the server, e.g.,
  23. # "postgres -c log_connections=on". Some parameters can be changed at run time
  24. # with the "SET" SQL command.
  25. #
  26. # Memory units: kB = kilobytes Time units: ms = milliseconds
  27. # MB = megabytes s = seconds
  28. # GB = gigabytes min = minutes
  29. # h = hours
  30. # d = days
  31.  
  32.  
  33. #------------------------------------------------------------------------------
  34. # FILE LOCATIONS
  35. #------------------------------------------------------------------------------
  36.  
  37. # The default values of these variables are driven from the -D command-line
  38. # option or PGDATA environment variable, represented here as ConfigDir.
  39.  
  40. data_directory = '/var/lib/postgresql/9.2/main' # use data in another directory
  41. # (change requires restart)
  42. hba_file = '/etc/postgresql/9.2/main/pg_hba.conf' # host-based authentication file
  43. # (change requires restart)
  44. ident_file = '/etc/postgresql/9.2/main/pg_ident.conf' # ident configuration file
  45. # (change requires restart)
  46.  
  47. # If external_pid_file is not explicitly set, no extra PID file is written.
  48. external_pid_file = '/var/run/postgresql/9.2-main.pid' # write an extra PID file
  49. # (change requires restart)
  50.  
  51.  
  52. #------------------------------------------------------------------------------
  53. # CONNECTIONS AND AUTHENTICATION
  54. #------------------------------------------------------------------------------
  55.  
  56. # - Connection Settings -
  57. listen_addresses = '0.0.0.0'
  58. #listen_addresses = 'localhost' # what IP address(es) to listen on;
  59. # comma-separated list of addresses;
  60. # defaults to 'localhost'; use '*' for all
  61. # (change requires restart)
  62. port = 5432 # (change requires restart)
  63. # max_connections = 1000 # (change requires restart)
  64. # Note: Increasing max_connections costs ~400 bytes of shared memory per
  65. # connection slot, plus lock space (see max_locks_per_transaction).
  66. #superuser_reserved_connections = 3 # (change requires restart)
  67. unix_socket_directory = '/var/run/postgresql' # (change requires restart)
  68. #unix_socket_group = '' # (change requires restart)
  69. #unix_socket_permissions = 0777 # begin with 0 to use octal notation
  70. # (change requires restart)
  71. #bonjour = off # advertise server via Bonjour
  72. # (change requires restart)
  73. #bonjour_name = '' # defaults to the computer name
  74. # (change requires restart)
  75.  
  76. # - Security and Authentication -
  77.  
  78. #authentication_timeout = 1min # 1s-600s
  79. ssl = true # (change requires restart)
  80. #ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH' # allowed SSL ciphers
  81. # (change requires restart)
  82. #ssl_renegotiation_limit = 512MB # amount of data between renegotiations
  83. ssl_cert_file = '/etc/ssl/certs/ssl-cert-snakeoil.pem' # (change requires restart)
  84. ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key' # (change requires restart)
  85. #ssl_ca_file = '' # (change requires restart)
  86. #ssl_crl_file = '' # (change requires restart)
  87. #password_encryption = on
  88. #db_user_namespace = off
  89.  
  90. # Kerberos and GSSAPI
  91. #krb_server_keyfile = ''
  92. #krb_srvname = 'postgres' # (Kerberos only)
  93. #krb_caseins_users = off
  94.  
  95. # - TCP Keepalives -
  96. # see "man 7 tcp" for details
  97.  
  98. #tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
  99. # 0 selects the system default
  100. #tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
  101. # 0 selects the system default
  102. #tcp_keepalives_count = 0 # TCP_KEEPCNT;
  103. # 0 selects the system default
  104.  
  105.  
  106. #------------------------------------------------------------------------------
  107. # RESOURCE USAGE (except WAL)
  108. #------------------------------------------------------------------------------
  109.  
  110. # - Memory -
  111.  
  112. # shared_buffers = 20480MB # min 128kB
  113. # (change requires restart)
  114. #temp_buffers = 8MB # min 800kB
  115. #max_prepared_transactions = 0 # zero disables the feature
  116. # (change requires restart)
  117. # Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
  118. # per transaction slot, plus lock space (see max_locks_per_transaction).
  119. # It is not advisable to set max_prepared_transactions nonzero unless you
  120. # actively intend to use prepared transactions.
  121. # work_mem = 64MB # min 64kB
  122. # maintenance_work_mem = 1024MB # min 1MB
  123. max_stack_depth = 4MB # min 100kB
  124.  
  125. # - Disk -
  126.  
  127. temp_file_limit = -1 # limits per-session temp file space
  128. # in kB, or -1 for no limit
  129.  
  130. # - Kernel Resource Usage -
  131.  
  132. #max_files_per_process = 1000 # min 25
  133. # (change requires restart)
  134. #shared_preload_libraries = '' # (change requires restart)
  135.  
  136. # for pg_stat_statements monitoring
  137. shared_preload_libraries = 'pg_stat_statements'
  138.  
  139. track_io_timing = on
  140. # - Cost-Based Vacuum Delay -
  141.  
  142. #vacuum_cost_delay = 0ms # 0-100 milliseconds
  143. #vacuum_cost_page_hit = 1 # 0-10000 credits
  144. #vacuum_cost_page_miss = 10 # 0-10000 credits
  145. #vacuum_cost_page_dirty = 20 # 0-10000 credits
  146. #vacuum_cost_limit = 200 # 1-10000 credits
  147.  
  148. # - Background Writer -
  149.  
  150. #bgwriter_delay = 200ms # 10-10000ms between rounds
  151. #bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
  152. #bgwriter_lru_multiplier = 2.0 # 0-10.0 multipler on buffers scanned/round
  153.  
  154. # - Asynchronous Behavior -
  155.  
  156. #effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
  157.  
  158.  
  159. #------------------------------------------------------------------------------
  160. # WRITE AHEAD LOG
  161. #------------------------------------------------------------------------------
  162.  
  163. # - Settings -
  164. wal_level = hot_standby
  165. max_wal_senders = 5
  166. wal_keep_segments = 512
  167.  
  168. archive_mode = on
  169. archive_command = 'rsync -av %p postgres@85.10.224.25:/var/lib/pgsql/9.2/wal_archive/%f'
  170.  
  171.  
  172.  
  173. #wal_level = minimal # minimal, archive, or hot_standby
  174. # (change requires restart)
  175. fsync = on # turns forced synchronization on or off
  176. #synchronous_commit = on # synchronization level;
  177. # off, local, remote_write, or on
  178. wal_sync_method = fsync # the default is the first option
  179. # supported by the operating system:
  180. # open_datasync
  181. # fdatasync (default on Linux)
  182. # fsync
  183. # fsync_writethrough
  184. # open_sync
  185. #full_page_writes = on # recover from partial page writes
  186. #wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
  187. # (change requires restart)
  188. #wal_writer_delay = 200ms # 1-10000 milliseconds
  189.  
  190. #commit_delay = 0 # range 0-100000, in microseconds
  191. #commit_siblings = 5 # range 1-1000
  192.  
  193. # - Checkpoints -
  194.  
  195. #checkpoint_segments = 3 # in logfile segments, min 1, 16MB each
  196. #checkpoint_timeout = 5min # range 30s-1h
  197. #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
  198. #checkpoint_warning = 30s # 0 disables
  199.  
  200. # - Archiving -
  201.  
  202. #archive_mode = off # allows archiving to be done
  203. # (change requires restart)
  204. #archive_command = '' # command to use to archive a logfile segment
  205. # placeholders: %p = path of file to archive
  206. # %f = file name only
  207. # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
  208. #archive_timeout = 0 # force a logfile segment switch after this
  209. # number of seconds; 0 disables
  210.  
  211.  
  212. #------------------------------------------------------------------------------
  213. # REPLICATION
  214. #------------------------------------------------------------------------------
  215.  
  216. # - Sending Server(s) -
  217.  
  218. # Set these on the master and on any standby that will send replication data.
  219.  
  220. #max_wal_senders = 0 # max number of walsender processes
  221. # (change requires restart)
  222. #wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
  223. #replication_timeout = 60s # in milliseconds; 0 disables
  224.  
  225. # - Master Server -
  226.  
  227. # These settings are ignored on a standby server.
  228.  
  229. #synchronous_standby_names = '' # standby servers that provide sync rep
  230. # comma-separated list of application_name
  231. # from standby(s); '*' = all
  232. #vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
  233.  
  234. # - Standby Servers -
  235.  
  236. # These settings are ignored on a master server.
  237.  
  238. #hot_standby = on # "on" allows queries during recovery
  239. # (change requires restart)
  240. #max_standby_archive_delay = 30s # max delay before canceling queries
  241. # when reading WAL from archive;
  242. # -1 allows indefinite delay
  243. #max_standby_streaming_delay = 30s # max delay before canceling queries
  244. # when reading streaming WAL;
  245. # -1 allows indefinite delay
  246. #wal_receiver_status_interval = 10s # send replies at least this often
  247. # 0 disables
  248. #hot_standby_feedback = off # send info from standby to prevent
  249. # query conflicts
  250.  
  251.  
  252. #------------------------------------------------------------------------------
  253. # QUERY TUNING
  254. #------------------------------------------------------------------------------
  255.  
  256. # - Planner Method Configuration -
  257.  
  258. enable_bitmapscan = on
  259. enable_hashagg = on
  260. enable_hashjoin = on
  261. enable_indexscan = on
  262. enable_indexonlyscan = on
  263. enable_material = on
  264. enable_mergejoin = on
  265. enable_nestloop = on
  266. enable_seqscan = on
  267. enable_sort = on
  268. enable_tidscan = on
  269.  
  270.  
  271.  
  272. #enable_bitmapscan = on
  273. #enable_hashagg = on
  274. #enable_hashjoin = on
  275. #enable_indexscan = on
  276. #enable_indexonlyscan = on
  277. #enable_material = on
  278. #enable_mergejoin = on
  279. #enable_nestloop = on
  280. #enable_seqscan = on
  281. #enable_sort = on
  282. #enable_tidscan = on
  283.  
  284. # - Planner Cost Constants -
  285.  
  286. seq_page_cost = 1.0 # measured on an arbitrary scale
  287. random_page_cost = 2.0 # same scale as above
  288. cpu_tuple_cost = 0.01 # same scale as above
  289. cpu_index_tuple_cost = 0.005 # same scale as above
  290. cpu_operator_cost = 0.0025 # same scale as above
  291. # effective_cache_size = 32768MB
  292.  
  293.  
  294.  
  295. #seq_page_cost = 1.0 # measured on an arbitrary scale
  296. #random_page_cost = 4.0 # same scale as above
  297. #cpu_tuple_cost = 0.01 # same scale as above
  298. #cpu_index_tuple_cost = 0.005 # same scale as above
  299. #cpu_operator_cost = 0.0025 # same scale as above
  300. #effective_cache_size = 128MB
  301.  
  302. # - Genetic Query Optimizer -
  303.  
  304. geqo = on
  305. geqo_threshold = 12
  306. geqo_effort = 10 # range 1-10
  307. geqo_pool_size = 0 # selects default based on effort
  308. geqo_generations = 0 # selects default based on effort
  309. geqo_selection_bias = 2.0 # range 1.5-2.0
  310. geqo_seed = 0.0 # range 0.0-1.0
  311.  
  312.  
  313. #geqo = on
  314. #geqo_threshold = 12
  315. #geqo_effort = 5 # range 1-10
  316. #geqo_pool_size = 0 # selects default based on effort
  317. #geqo_generations = 0 # selects default based on effort
  318. #geqo_selection_bias = 2.0 # range 1.5-2.0
  319. #geqo_seed = 0.0 # range 0.0-1.0
  320.  
  321. # - Other Planner Options -
  322.  
  323. # default_statistics_target = 300 # range 1-10000
  324. # constraint_exclusion = partition # on, off, or partition
  325. cursor_tuple_fraction = 0.1 # range 0.0-1.0
  326. from_collapse_limit = 8
  327. join_collapse_limit = 8 # 1 disables collapsing of explicit
  328. # JOIN clauses
  329.  
  330.  
  331.  
  332. #default_statistics_target = 100 # range 1-10000
  333. #constraint_exclusion = partition # on, off, or partition
  334. #cursor_tuple_fraction = 0.1 # range 0.0-1.0
  335. #from_collapse_limit = 8
  336. #join_collapse_limit = 8 # 1 disables collapsing of explicit
  337. # JOIN clauses
  338.  
  339.  
  340. #------------------------------------------------------------------------------
  341. # ERROR REPORTING AND LOGGING
  342. #------------------------------------------------------------------------------
  343.  
  344. # - Where to Log -
  345.  
  346. #log_destination = 'stderr' # Valid values are combinations of
  347. # stderr, csvlog, syslog, and eventlog,
  348. # depending on platform. csvlog
  349. # requires logging_collector to be on.
  350.  
  351. # This is used when logging to stderr:
  352. #logging_collector = off # Enable capturing of stderr and csvlog
  353. # into log files. Required to be on for
  354. # csvlogs.
  355. # (change requires restart)
  356.  
  357. # These are only used if logging_collector is on:
  358. #log_directory = 'pg_log' # directory where log files are written,
  359. # can be absolute or relative to PGDATA
  360. #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
  361. # can include strftime() escapes
  362. #log_file_mode = 0600 # creation mode for log files,
  363. # begin with 0 to use octal notation
  364. #log_truncate_on_rotation = off # If on, an existing log file with the
  365. # same name as the new log file will be
  366. # truncated rather than appended to.
  367. # But such truncation only occurs on
  368. # time-driven rotation, not on restarts
  369. # or size-driven rotation. Default is
  370. # off, meaning append to existing files
  371. # in all cases.
  372. #log_rotation_age = 1d # Automatic rotation of logfiles will
  373. # happen after that time. 0 disables.
  374. #log_rotation_size = 10MB # Automatic rotation of logfiles will
  375. # happen after that much log output.
  376. # 0 disables.
  377.  
  378. # These are relevant when logging to syslog:
  379. #syslog_facility = 'LOCAL0'
  380. #syslog_ident = 'postgres'
  381.  
  382. # This is only relevant when logging to eventlog (win32):
  383. #event_source = 'PostgreSQL'
  384.  
  385. # - When to Log -
  386.  
  387. #client_min_messages = notice # values in order of decreasing detail:
  388. # debug5
  389. # debug4
  390. # debug3
  391. # debug2
  392. # debug1
  393. # log
  394. # notice
  395. # warning
  396. # error
  397.  
  398. #log_min_messages = warning # values in order of decreasing detail:
  399. # debug5
  400. # debug4
  401. # debug3
  402. # debug2
  403. # debug1
  404. # info
  405. # notice
  406. # warning
  407. # error
  408. # log
  409. # fatal
  410. # panic
  411.  
  412. #log_min_error_statement = error # values in order of decreasing detail:
  413. # debug5
  414. # debug4
  415. # debug3
  416. # debug2
  417. # debug1
  418. # info
  419. # notice
  420. # warning
  421. # error
  422. # log
  423. # fatal
  424. # panic (effectively off)
  425.  
  426. log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
  427. # and their durations, > 0 logs only
  428. # statements running at least this number
  429. # of milliseconds
  430.  
  431.  
  432. # - What to Log -
  433.  
  434. #debug_print_parse = off
  435. #debug_print_rewritten = off
  436. #debug_print_plan = off
  437. #debug_pretty_print = on
  438. #log_checkpoints = off
  439. #log_connections = off
  440. #log_disconnections = off
  441. log_duration = off
  442. #log_error_verbosity = default # terse, default, or verbose messages
  443. #log_hostname = off
  444. log_line_prefix = '%t ' # special values:
  445. # %a = application name
  446. # %u = user name
  447. # %d = database name
  448. # %r = remote host and port
  449. # %h = remote host
  450. # %p = process ID
  451. # %t = timestamp without milliseconds
  452. # %m = timestamp with milliseconds
  453. # %i = command tag
  454. # %e = SQL state
  455. # %c = session ID
  456. # %l = session line number
  457. # %s = session start timestamp
  458. # %v = virtual transaction ID
  459. # %x = transaction ID (0 if none)
  460. # %q = stop here in non-session
  461. # processes
  462. # %% = '%'
  463. # e.g. '<%u%%%d> '
  464. #log_lock_waits = off # log lock waits >= deadlock_timeout
  465. #log_statement = 'none' # none, ddl, mod, all
  466. #log_temp_files = -1 # log temporary files equal or larger
  467. # than the specified size in kilobytes;
  468. # -1 disables, 0 logs all temp files
  469. log_timezone = 'W-SU'
  470.  
  471.  
  472. #------------------------------------------------------------------------------
  473. # RUNTIME STATISTICS
  474. #------------------------------------------------------------------------------
  475.  
  476. # - Query/Index Statistics Collector -
  477.  
  478. #track_activities = on
  479. #track_counts = on
  480. #track_io_timing = off
  481. #track_functions = none # none, pl, all
  482. #track_activity_query_size = 1024 # (change requires restart)
  483. #update_process_title = on
  484. #stats_temp_directory = 'pg_stat_tmp'
  485.  
  486.  
  487. # - Statistics Monitoring -
  488.  
  489. #log_parser_stats = off
  490. #log_planner_stats = off
  491. #log_executor_stats = off
  492. #log_statement_stats = off
  493.  
  494.  
  495. #------------------------------------------------------------------------------
  496. # AUTOVACUUM PARAMETERS
  497. #------------------------------------------------------------------------------
  498.  
  499. #autovacuum = on # Enable autovacuum subprocess? 'on'
  500. # requires track_counts to also be on.
  501. #log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
  502. # their durations, > 0 logs only
  503. # actions running at least this number
  504. # of milliseconds.
  505. #autovacuum_max_workers = 3 # max number of autovacuum subprocesses
  506. # (change requires restart)
  507. #autovacuum_naptime = 1min # time between autovacuum runs
  508. #autovacuum_vacuum_threshold = 50 # min number of row updates before
  509. # vacuum
  510. #autovacuum_analyze_threshold = 50 # min number of row updates before
  511. # analyze
  512. #autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
  513. #autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
  514. #autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
  515. # (change requires restart)
  516. #autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
  517. # autovacuum, in milliseconds;
  518. # -1 means use vacuum_cost_delay
  519. #autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
  520. # autovacuum, -1 means use
  521. # vacuum_cost_limit
  522.  
  523.  
  524. #------------------------------------------------------------------------------
  525. # CLIENT CONNECTION DEFAULTS
  526. #------------------------------------------------------------------------------
  527.  
  528. # - Statement Behavior -
  529.  
  530. #search_path = '"$user",public' # schema names
  531. #default_tablespace = '' # a tablespace name, '' uses the default
  532. #temp_tablespaces = '' # a list of tablespace names, '' uses
  533. # only default tablespace
  534. #check_function_bodies = on
  535. #default_transaction_isolation = 'read committed'
  536. #default_transaction_read_only = off
  537. #default_transaction_deferrable = off
  538. #session_replication_role = 'origin'
  539. #statement_timeout = 0 # in milliseconds, 0 is disabled
  540. #vacuum_freeze_min_age = 50000000
  541. #vacuum_freeze_table_age = 150000000
  542. #bytea_output = 'hex' # hex, escape
  543. #xmlbinary = 'base64'
  544. #xmloption = 'content'
  545.  
  546. # - Locale and Formatting -
  547.  
  548. datestyle = 'iso, mdy'
  549. #intervalstyle = 'postgres'
  550. timezone = 'W-SU'
  551. #timezone_abbreviations = 'Default' # Select the set of available time zone
  552. # abbreviations. Currently, there are
  553. # Default
  554. # Australia
  555. # India
  556. # You can create your own file in
  557. # share/timezonesets/.
  558. #extra_float_digits = 0 # min -15, max 3
  559. #client_encoding = sql_ascii # actually, defaults to database
  560. # encoding
  561.  
  562. # These settings are initialized by initdb, but they can be changed.
  563. lc_messages = 'en_US.UTF-8' # locale for system error message
  564. # strings
  565. lc_monetary = 'en_US.UTF-8' # locale for monetary formatting
  566. lc_numeric = 'en_US.UTF-8' # locale for number formatting
  567. lc_time = 'en_US.UTF-8' # locale for time formatting
  568.  
  569. # default configuration for text search
  570. default_text_search_config = 'pg_catalog.english'
  571.  
  572. # - Other Defaults -
  573.  
  574. #dynamic_library_path = '$libdir'
  575. #local_preload_libraries = ''
  576.  
  577.  
  578. #------------------------------------------------------------------------------
  579. # LOCK MANAGEMENT
  580. #------------------------------------------------------------------------------
  581.  
  582. #deadlock_timeout = 1s
  583. #max_locks_per_transaction = 64 # min 10
  584. # (change requires restart)
  585. # Note: Each lock table slot uses ~270 bytes of shared memory, and there are
  586. # max_locks_per_transaction * (max_connections + max_prepared_transactions)
  587. # lock table slots.
  588. #max_pred_locks_per_transaction = 64 # min 10
  589. # (change requires restart)
  590.  
  591.  
  592. #------------------------------------------------------------------------------
  593. # VERSION/PLATFORM COMPATIBILITY
  594. #------------------------------------------------------------------------------
  595.  
  596. # - Previous PostgreSQL Versions -
  597.  
  598. #array_nulls = on
  599. #backslash_quote = safe_encoding # on, off, or safe_encoding
  600. #default_with_oids = off
  601. #escape_string_warning = on
  602. #lo_compat_privileges = off
  603. #quote_all_identifiers = off
  604. #sql_inheritance = on
  605. #standard_conforming_strings = on
  606. #synchronize_seqscans = on
  607.  
  608. # - Other Platforms and Clients -
  609.  
  610. #transform_null_equals = off
  611.  
  612.  
  613. #------------------------------------------------------------------------------
  614. # ERROR HANDLING
  615. #------------------------------------------------------------------------------
  616.  
  617. #exit_on_error = off # terminate session on any error?
  618. #restart_after_crash = on # reinitialize after backend crash?
  619.  
  620.  
  621. #------------------------------------------------------------------------------
  622. # CUSTOMIZED OPTIONS
  623. #------------------------------------------------------------------------------
  624.  
  625. # Add settings for extensions here
  626. default_statistics_target = 50
  627. constraint_exclusion = on # pgtune wizard 2014-03-31
  628. checkpoint_completion_target = 0.9 # pgtune wizard 2014-03-31
  629. checkpoint_segments = 1024 # pgtune wizard 2014-03-31
  630. max_connections = 500 # pgtune wizard 2014-03-31
  631. maintenance_work_mem = 4GB # pgtune wizard 2014-03-31
  632. effective_cache_size = 88GB # pgtune wizard 2014-03-31
  633. work_mem = 768MB # pgtune wizard 2014-03-31
  634. wal_buffers = 32MB # pgtune wizard 2014-03-31
  635. shared_buffers = 50GB # pgtune wizard 2014-03-31
  636.  
  637. ## PGTUNE http://pgtune.leopard.in.ua/
  638. #max_connections = 9999
  639. #shared_buffers = 33GB
  640. #effective_cache_size = 99GB
  641. #work_mem = 3460kB
  642. #maintenance_work_mem = 2GB
  643. #checkpoint_segments = 32
  644. #checkpoint_completion_target = 0.7
  645. #wal_buffers = 16MB
  646. #default_statistics_target = 100
Add Comment
Please, Sign In to add comment