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