Advertisement
Guest User

Untitled

a guest
Apr 21st, 2014
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 31.53 KB | None | 0 0
  1. # ----------------------------
  2. # pgPool-II configuration file
  3. # ----------------------------
  4. #
  5. # This file consists of lines of the form:
  6. #
  7. #   name = value
  8. #
  9. # Whitespace may be used.  Comments are introduced with "#" anywhere on a line.
  10. # The complete list of parameter names and allowed values can be found in the
  11. # pgPool-II documentation.
  12. #
  13. # This file is read on server startup and when the server receives a SIGHUP
  14. # signal.  If you edit the file on a running system, you have to SIGHUP the
  15. # server for the changes to take effect, or use "pgpool reload".  Some
  16. # parameters, which are marked below, require a server shutdown and restart to
  17. # take effect.
  18. #
  19.  
  20.  
  21. #------------------------------------------------------------------------------
  22. # CONNECTIONS
  23. #------------------------------------------------------------------------------
  24.  
  25. # - pgpool Connection Settings -
  26.  
  27. listen_addresses = '*'
  28.                                    # Host name or IP address to listen on:
  29.                                    # '*' for all, '' for no TCP/IP connections
  30.                                    # (change requires restart)
  31. port = 10000
  32.                                    # Port number
  33.                                    # (change requires restart)
  34. socket_dir = '/db/pgpool/run'
  35.                                    # Unix domain socket path
  36.                                    # The Debian package defaults to
  37.                                    # /var/run/postgresql
  38.                                    # (change requires restart)
  39.  
  40.  
  41. # - pgpool Communication Manager Connection Settings -
  42.  
  43. pcp_port = 9900
  44.                                    # Port number for pcp
  45.                                    # (change requires restart)
  46. pcp_socket_dir = '/db/pgpool/run'
  47.                                    # Unix domain socket path for pcp
  48.                                    # The Debian package defaults to
  49.                                    # /var/run/postgresql
  50.                                    # (change requires restart)
  51.  
  52. # - Backend Connection Settings -
  53.  
  54.  
  55. # Host name or IP address to connect to for backend 0
  56. # Port number for backend 0
  57. # Weight for backend 0 (only in load balancing mode)
  58. # Data directory for backend 0
  59. # Controls various backend behavior
  60. # ALLOW_TO_FAILOVER or DISALLOW_TO_FAILOVER
  61.   backend_hostname0       = '10.12.240.95'
  62.  
  63. backend_port0           = 5447
  64. backend_weight0         = 1
  65. backend_data_directory0 = '/data3/PostgresPlus/'
  66. backend_flag0           = ALLOW_TO_FAILOVER
  67.   backend_hostname1       = '10.12.240.96'
  68.  
  69. backend_port1           = 5447
  70. backend_weight1         = 1
  71. backend_data_directory1 = '/data3/PostgresPlus/'
  72. backend_flag1           = ALLOW_TO_FAILOVER
  73.  
  74. # - Authentication -
  75.  
  76. enable_pool_hba = off
  77.                                    # Use pool_hba.conf for client authentication
  78. pool_passwd = 'pool_passwd'
  79.                                    # File name of pool_passwd for md5 authentication.
  80.                                    # "" disables pool_passwd.
  81.                                    # (change requires restart)
  82. authentication_timeout = 60
  83.                                    # Delay in seconds to complete client authentication
  84.                                    # 0 means no timeout.
  85.  
  86. # - SSL Connections -
  87.  
  88. ssl = off
  89.                                    # Enable SSL support
  90.                                    # (change requires restart)
  91. #ssl_key = './server.key'
  92.                                    # Path to the SSL private key file
  93.                                    # (change requires restart)
  94. #ssl_cert = './server.cert'
  95.                                    # Path to the SSL public certificate file
  96.                                    # (change requires restart)
  97. #ssl_ca_cert = ''
  98.                                    # Path to a single PEM format file
  99.                                    # containing CA root certificate(s)
  100.                                    # (change requires restart)
  101. #ssl_ca_cert_dir = ''
  102.                                    # Directory containing CA root certificate(s)
  103.                                    # (change requires restart)
  104.  
  105.  
  106. #------------------------------------------------------------------------------
  107. # POOLS
  108. #------------------------------------------------------------------------------
  109.  
  110. # - Pool size -
  111.  
  112. num_init_children = 50
  113.                                    # Number of pools
  114.                                    # (change requires restart)
  115. max_pool = 4
  116.                                    # Number of connections per pool
  117.                                    # (change requires restart)
  118. listen_backlog_multiplier = 5
  119.  
  120. # - Life time -
  121.  
  122. child_life_time = 300
  123.                                    # Pool exits after being idle for this many seconds
  124. child_max_connections = 2000
  125.                                    # Pool exits after receiving that many connections
  126.                                    # 0 means no exit
  127. connection_life_time = 0
  128.                                    # Connection to backend closes after being idle for this many seconds
  129.                                    # 0 means no close
  130. client_idle_limit = 0
  131.                                    # Client is disconnected after being idle for that many seconds
  132.                                    # (even inside an explicit transactions!)
  133.                                    # 0 means no disconnection
  134.  
  135.  
  136. #------------------------------------------------------------------------------
  137. # LOGS
  138. #------------------------------------------------------------------------------
  139.  
  140. # - Where to log -
  141.  
  142. log_destination = 'stderr'
  143.                                    # Where to log
  144.                                    # Valid values are combinations of stderr,
  145.                                    # and syslog. Default to stderr.
  146.  
  147. # - What to log -
  148.  
  149. print_timestamp = on
  150.                                    # Print timestamp on each line
  151.                                    # (change requires restart)
  152.  
  153. log_connections = on
  154.                                    # Log connections
  155. log_hostname = on
  156.                                    # Hostname will be shown in ps status
  157.                                    # and in logs if connections are logged
  158. log_statement = off
  159.                                    # Log all statements
  160. log_per_node_statement = off
  161.                                    # Log all statements
  162.                                    # with node and backend informations
  163. log_standby_delay = 'if_over_threshold'
  164.                                    # Log standby delay
  165.                                    # Valid values are combinations of always,
  166.                                    # if_over_threshold, none
  167.  
  168. # - Syslog specific -
  169.  
  170. syslog_facility = 'LOCAL0'
  171.                                    # Syslog local facility. Default to LOCAL0
  172. syslog_ident = 'pgpool'
  173.                                    # Syslog program identification string
  174.                                    # Default to 'pgpool'
  175.  
  176. # - Debug -
  177.  
  178. debug_level = 0
  179.                                    # Debug message verbosity level
  180.                                    # 0 means no message, 1 or more mean verbose
  181.  
  182.  
  183. #------------------------------------------------------------------------------
  184. # FILE LOCATIONS
  185. #------------------------------------------------------------------------------
  186.  
  187. pid_file_name = '/db/pgpool/run/pgm.pid'
  188.                                    # PID file name
  189.                                    # (change requires restart)
  190. logdir = '/db/pgpool/tmp/pgm'
  191.                                    # Directory of pgPool status file
  192.                                    # (change requires restart)
  193.  
  194.  
  195. #------------------------------------------------------------------------------
  196. # CONNECTION POOLING
  197. #------------------------------------------------------------------------------
  198.  
  199. connection_cache = on
  200.                                    # Activate connection pools
  201.                                    # (change requires restart)
  202.  
  203.                                    # Semicolon separated list of queries
  204.                                    # to be issued at the end of a session
  205.                                    # The default is for 8.3 and later
  206. #reset_query_list = 'ABORT; DISCARD ALL'
  207. reset_query_list = 'ABORT; DISCARD ALL; SET DATESTYLE="ISO, DMY"'
  208.  
  209.                                    # The following one is for 8.2 and before
  210. #reset_query_list = 'ABORT; RESET ALL; SET SESSION AUTHORIZATION DEFAULT'
  211.  
  212.  
  213. #------------------------------------------------------------------------------
  214. # REPLICATION MODE
  215. #------------------------------------------------------------------------------
  216.  
  217. replication_mode = off
  218.                                    # Activate replication mode
  219.                                    # (change requires restart)
  220. replicate_select = off
  221.                                    # Replicate SELECT statements
  222.                                    # when in replication or parallel mode
  223.                                    # replicate_select is higher priority than
  224.                                    # load_balance_mode.
  225.  
  226. insert_lock = off
  227.                                    # Automatically locks a dummy row or a table
  228.                                    # with INSERT statements to keep SERIAL data
  229.                                    # consistency
  230.                                    # Without SERIAL, no lock will be issued
  231. lobj_lock_table = ''
  232.                                    # When rewriting lo_creat command in
  233.                                    # replication mode, specify table name to
  234.                                    # lock
  235.  
  236. # - Degenerate handling -
  237.  
  238. replication_stop_on_mismatch = off
  239.                                    # On disagreement with the packet kind
  240.                                    # sent from backend, degenerate the node
  241.                                    # which is most likely "minority"
  242.                                    # If off, just force to exit this session
  243.  
  244. failover_if_affected_tuples_mismatch = off
  245.                                    # On disagreement with the number of affected
  246.                                    # tuples in UPDATE/DELETE queries, then
  247.                                    # degenerate the node which is most likely
  248.                                    # "minority".
  249.                                    # If off, just abort the transaction to
  250.                                    # keep the consistency
  251.  
  252.  
  253. #------------------------------------------------------------------------------
  254. # LOAD BALANCING MODE
  255. #------------------------------------------------------------------------------
  256.  
  257. load_balance_mode = on
  258.                                    # Activate load balancing mode
  259.                                    # (change requires restart)
  260. ignore_leading_white_space = on
  261.                                    # Ignore leading white spaces of each query
  262. white_function_list = ''
  263.                                    # Comma separated list of function names
  264.                                    # that don't write to database
  265.                                    # Regexp are accepted
  266. black_function_list = 'currval,lastval,nextval,setval'
  267.                                    # Comma separated list of function names
  268.                                    # that write to database
  269.                                    # Regexp are accepted
  270.  
  271.  
  272. #------------------------------------------------------------------------------
  273. # MASTER/SLAVE MODE
  274. #------------------------------------------------------------------------------
  275.  
  276. master_slave_mode = on
  277.                                    # Activate master/slave mode
  278.                                    # (change requires restart)
  279. master_slave_sub_mode = 'stream'
  280.                                    # Master/slave sub mode
  281.                                    # Valid values are combinations slony or
  282.                                    # stream. Default is slony.
  283.                                    # (change requires restart)
  284.  
  285. # - Streaming -
  286.  
  287. sr_check_period = 10
  288.                                    # Streaming replication check period
  289.                                    # Disabled (0) by default
  290. sr_check_user = 'pgcheck'
  291.                                    # Streaming replication check user
  292.                                    # This is neccessary even if you disable streaming
  293.                                    # replication delay check by sr_check_period = 0
  294. sr_check_password = 'pgcheck'
  295.                                    # Password for streaming replication check user
  296. delay_threshold = 10000000
  297.                                    # Threshold before not dispatching query to standby node
  298.                                    # Unit is in bytes
  299.                                    # Disabled (0) by default
  300.  
  301. # - Special commands -
  302.  
  303. follow_master_command = ''
  304.                                    # Executes this command after master failover
  305.                                    # Special values:
  306.                                    #   %d = node id
  307.                                    #   %h = host name
  308.                                    #   %p = port number
  309.                                    #   %D = database cluster path
  310.                                    #   %m = new master node id
  311.                                    #   %H = hostname of the new master node
  312.                                    #   %M = old master node id
  313.                                    #   %P = old primary node id
  314.                                    #   %r = new master port number
  315.                                    #   %R = new master database cluster path
  316.                                    #   %% = '%' character
  317.  
  318.  
  319. #------------------------------------------------------------------------------
  320. # PARALLEL MODE
  321. #------------------------------------------------------------------------------
  322.  
  323. parallel_mode = off
  324.                                    # Activates parallel query mode
  325.                                    # (change requires restart)
  326. pgpool2_hostname = ''
  327.                                    # Set pgpool2 hostname
  328.                                    # (change requires restart)
  329.  
  330. # - System DB info -
  331.  
  332. #system_db_hostname  = 'localhost'
  333. #                                   # (change requires restart)
  334. #system_db_port = 5432
  335. #                                   # (change requires restart)
  336. #system_db_dbname = 'pgpool'
  337. #                                   # (change requires restart)
  338. #system_db_schema = 'pgpool_catalog'
  339. #                                   # (change requires restart)
  340. #system_db_user = 'pgpool'
  341. #                                   # (change requires restart)
  342. #system_db_password = ''
  343. #                                   # (change requires restart)
  344.  
  345.  
  346. #------------------------------------------------------------------------------
  347. # HEALTH CHECK
  348. #------------------------------------------------------------------------------
  349.  
  350. health_check_period = 3
  351.                                    # Health check period
  352.                                    # Disabled (0) by default
  353. health_check_timeout = 20
  354.                                    # Health check timeout
  355.                                    # 0 means no timeout
  356. health_check_user = 'pgcheck'
  357.                                    # Health check user
  358. health_check_password = 'pgcheck'
  359.                                    # Password for health check user
  360. health_check_max_retries = 5
  361.                                    # Maximum number of times to retry a failed health check before giving up.
  362. health_check_retry_delay = 1
  363.                                    # Amount of time to wait (in seconds) between retries.
  364.  
  365.  
  366. #------------------------------------------------------------------------------
  367. # FAILOVER AND FAILBACK
  368. #------------------------------------------------------------------------------
  369.  
  370. failover_command = ''
  371.                                    # Executes this command at failover
  372.                                    # Special values:
  373.                                    #   %d = node id
  374.                                    #   %h = host name
  375.                                    #   %p = port number
  376.                                    #   %D = database cluster path
  377.                                    #   %m = new master node id
  378.                                    #   %H = hostname of the new master node
  379.                                    #   %M = old master node id
  380.                                    #   %P = old primary node id
  381.                                    #   %r = new master port number
  382.                                    #   %R = new master database cluster path
  383.                                    #   %% = '%' character
  384. failback_command = ''
  385.                                    # Executes this command at failback.
  386.                                    # Special values:
  387.                                    #   %d = node id
  388.                                    #   %h = host name
  389.                                    #   %p = port number
  390.                                    #   %D = database cluster path
  391.                                    #   %m = new master node id
  392.                                    #   %H = hostname of the new master node
  393.                                    #   %M = old master node id
  394.                                    #   %P = old primary node id
  395.                                    #   %r = new master port number
  396.                                    #   %R = new master database cluster path
  397.                                    #   %% = '%' character
  398.  
  399. fail_over_on_backend_error = on
  400.                                    # Initiates failover when reading/writing to the
  401.                                    # backend communication socket fails
  402.                                    # If set to off, pgpool will report an
  403.                                    # error and disconnect the session.
  404.  
  405. search_primary_node_timeout = 10
  406.                                    # Timeout in seconds to search for the
  407.                                    # primary node when a failover occurs.
  408.                                    # 0 means no timeout, keep searching
  409.                                    # for a primary node forever.
  410.  
  411. #------------------------------------------------------------------------------
  412. # ONLINE RECOVERY
  413. #------------------------------------------------------------------------------
  414.  
  415. recovery_user = 'nobody'
  416.                                    # Online recovery user
  417. recovery_password = ''
  418.                                    # Online recovery password
  419. recovery_1st_stage_command = ''
  420.                                    # Executes a command in first stage
  421. recovery_2nd_stage_command = ''
  422.                                    # Executes a command in second stage
  423. recovery_timeout = 90
  424.                                    # Timeout in seconds to wait for the
  425.                                    # recovering node's postmaster to start up
  426.                                    # 0 means no wait
  427. client_idle_limit_in_recovery = 0
  428.                                    # Client is disconnected after being idle
  429.                                    # for that many seconds in the second stage
  430.                                    # of online recovery
  431.                                    # 0 means no disconnection
  432.                                    # -1 means immediate disconnection
  433.  
  434.  
  435. #------------------------------------------------------------------------------
  436. # WATCHDOG
  437. #------------------------------------------------------------------------------
  438.  
  439. # - Enabling -
  440.  
  441. use_watchdog = off
  442.                                     # Activates watchdog
  443.                                     # (change requires restart)
  444.  
  445. # -Connection to up stream servers -
  446.  
  447. trusted_servers = ''
  448.                                     # trusted server list which are used
  449.                                     # to confirm network connection
  450.                                     # (hostA,hostB,hostC,...)
  451.                                     # (change requires restart)
  452. ping_path = '/bin'
  453.                                     # ping command path
  454.                                     # (change requires restart)
  455.  
  456. # - Watchdog communication Settings -
  457.  
  458. wd_hostname = ''
  459.                                     # Host name or IP address of this watchdog
  460.                                     # (change requires restart)
  461. wd_port = 9000
  462.                                     # port number for watchdog service
  463.                                     # (change requires restart)
  464. wd_authkey = ''
  465.                                     # Authentication key for watchdog communication
  466.                                     # (change requires restart)
  467.  
  468. # - Virtual IP control Setting -
  469.  
  470. delegate_IP = ''
  471.                                     # delegate IP address
  472.                                     # If this is empty, virtual IP never bring up.
  473.                                     # (change requires restart)
  474. ifconfig_path = '/sbin'
  475.                                     # ifconfig command path
  476.                                     # (change requires restart)
  477. if_up_cmd = 'ifconfig eth0:0 inet $_IP_$ netmask 255.255.255.0'
  478.                                     # startup delegate IP command
  479.                                     # (change requires restart)
  480. if_down_cmd = 'ifconfig eth0:0 down'
  481.                                     # shutdown delegate IP command
  482.                                     # (change requires restart)
  483.  
  484. arping_path = '/usr/sbin'           # arping command path
  485.                                     # (change requires restart)
  486.  
  487. arping_cmd = 'arping -U $_IP_$ -w 1'
  488.                                     # arping command
  489.                                     # (change requires restart)
  490.  
  491. # - Behaivor on escalation Setting -
  492.  
  493. clear_memqcache_on_escalation = on
  494.                                     # Clear all the query cache on shared memory
  495.                                     # when standby pgpool escalate to active pgpool
  496.                                     # (= virtual IP holder).
  497.                                     # This should be off if client connects to pgpool
  498.                                     # not using virtual IP.
  499.                                     # (change requires restart)
  500. wd_escalation_command = ''
  501.                                     # Executes this command at escalation on new active pgpool.
  502.                                     # (change requires restart)
  503.  
  504. # - Lifecheck Setting -
  505.  
  506. # -- common --
  507.  
  508. wd_lifecheck_method = 'heartbeat'
  509.                                     # Method of watchdog lifecheck ('heartbeat' or 'query')
  510.                                     # (change requires restart)
  511. wd_interval = 10
  512.                                     # lifecheck interval (sec) > 0
  513.                                     # (change requires restart)
  514.  
  515. # -- heartbeat mode --
  516.  
  517. wd_heartbeat_port = 9694
  518.                                     # Port number for receiving heartbeat signal
  519.                                     # (change requires restart)
  520. wd_heartbeat_keepalive = 2
  521.                                     # Interval time of sending heartbeat signal (sec)
  522.                                     # (change requires restart)
  523. wd_heartbeat_deadtime = 30
  524.                                     # Deadtime interval for heartbeat signal (sec)
  525.                                     # (change requires restart)
  526. heartbeat_destination0 = 'host0_ip1'
  527.                                     # Host name or IP address of destination 0
  528.                                     # for sending heartbeat signal.
  529.                                     # (change requires restart)
  530. heartbeat_destination_port0 = 9694
  531.                                     # Port number of destination 0 for sending
  532.                                     # heartbeat signal. Usually this is the
  533.                                     # same as wd_heartbeat_port.
  534.                                     # (change requires restart)
  535. heartbeat_device0 = ''
  536.                                     # Name of NIC device (such like 'eth0')
  537.                                     # used for sending/receiving heartbeat
  538.                                     # signal to/from destination 0.
  539.                                     # This works only when this is not empty
  540.                                     # and pgpool has root privilege.
  541.                                     # (change requires restart)
  542.  
  543. #heartbeat_destination1 = 'host0_ip2'
  544. #heartbeat_destination_port1 = 9694
  545. #heartbeat_device1 = ''
  546.  
  547. # -- query mode --
  548.  
  549. wd_life_point = 3
  550.                                     # lifecheck retry times
  551.                                     # (change requires restart)
  552. wd_lifecheck_query = 'SELECT 1'
  553.                                     # lifecheck query to pgpool from watchdog
  554.                                     # (change requires restart)
  555. wd_lifecheck_dbname = 'template1'
  556.                                     # Database name connected for lifecheck
  557.                                     # (change requires restart)
  558. wd_lifecheck_user = 'nobody'
  559.                                     # watchdog user monitoring pgpools in lifecheck
  560.                                     # (change requires restart)
  561. wd_lifecheck_password = ''
  562.                                     # Password for watchdog user in lifecheck
  563.                                     # (change requires restart)
  564.  
  565. # - Other pgpool Connection Settings -
  566.  
  567. #other_pgpool_hostname0 = 'host0'
  568.                                     # Host name or IP address to connect to for other pgpool 0
  569.                                     # (change requires restart)
  570. #other_pgpool_port0 = 5432
  571.                                     # Port number for othet pgpool 0
  572.                                     # (change requires restart)
  573. #other_wd_port0 = 9000
  574.                                     # Port number for othet watchdog 0
  575.                                     # (change requires restart)
  576. #other_pgpool_hostname1 = 'host1'
  577. #other_pgpool_port1 = 5432
  578. #other_wd_port1 = 9000
  579.  
  580.  
  581. #------------------------------------------------------------------------------
  582. # OTHERS
  583. #------------------------------------------------------------------------------
  584. relcache_expire = 0
  585.                                    # Life time of relation cache in seconds.
  586.                                    # 0 means no cache expiration(the default).
  587.                                    # The relation cache is used for cache the
  588.                                    # query result against PostgreSQL system
  589.                                    # catalog to obtain various information
  590.                                    # including table structures or if it's a
  591.                                    # temporary table or not. The cache is
  592.                                    # maintained in a pgpool child local memory
  593.                                    # and being kept as long as it survives.
  594.                                    # If someone modify the table by using
  595.                                    # ALTER TABLE or some such, the relcache is
  596.                                    # not consistent anymore.
  597.                                    # For this purpose, cache_expiration
  598.                                    # controls the life time of the cache.
  599.  
  600. relcache_size = 256
  601.                                    # Number of relation cache
  602.                                    # entry. If you see frequently:
  603.                                    # "pool_search_relcache: cache replacement happend"
  604.                                    # in the pgpool log, you might want to increate this number.
  605.  
  606. check_temp_table = off
  607.                                    # If on, enable temporary table check in SELECT statements.
  608.                                    # This initiates queries against system catalog of primary/master
  609.                                    # thus increases load of master.
  610.                                    # If you are absolutely sure that your system never uses temporary tables
  611.                                    # and you want to save access to primary/master, you could turn this off.
  612.                                    # Default is on.
  613.  
  614.  
  615. #------------------------------------------------------------------------------
  616. # ON MEMORY QUERY MEMORY CACHE
  617. #------------------------------------------------------------------------------
  618. memory_cache_enabled = off
  619.                                    # If on, use the memory cache functionality, off by default
  620. memqcache_method = 'shmem'
  621.                                    # Cache storage method. either 'shmem'(shared memory) or
  622.                                    # 'memcached'. 'shmem' by default
  623.                                    # (change requires restart)
  624. memqcache_memcached_host = 'localhost'
  625.                                    # Memcached host name or IP address. Mandatory if
  626.                                    # memqcache_method = 'memcached'.
  627.                                    # Defaults to localhost.
  628.                                    # (change requires restart)
  629. memqcache_memcached_port = 11211
  630.                                    # Memcached port number. Mondatory if memqcache_method = 'memcached'.
  631.                                    # Defaults to 11211.
  632.                                    # (change requires restart)
  633. memqcache_total_size = 67108864
  634.                                    # Total memory size in bytes for storing memory cache.
  635.                                    # Mandatory if memqcache_method = 'shmem'.
  636.                                    # Defaults to 64MB.
  637.                                    # (change requires restart)
  638. memqcache_max_num_cache = 1000000
  639.                                    # Total number of cache entries. Mandatory
  640.                                    # if memqcache_method = 'shmem'.
  641.                                    # Each cache entry consumes 48 bytes on shared memory.
  642.                                    # Defaults to 1,000,000(45.8MB).
  643.                                    # (change requires restart)
  644. memqcache_expire = 0
  645.                                    # Memory cache entry life time specified in seconds.
  646.                                    # 0 means infinite life time. 0 by default.
  647.                                    # (change requires restart)
  648. memqcache_auto_cache_invalidation = on
  649.                                    # If on, invalidation of query cache is triggered by corresponding
  650.                                    # DDL/DML/DCL(and memqcache_expire).  If off, it is only triggered
  651.                                    # by memqcache_expire.  on by default.
  652.                                    # (change requires restart)
  653. memqcache_maxcache = 409600
  654.                                    # Maximum SELECT result size in bytes.
  655.                                    # Must be smaller than memqcache_cache_block_size. Defaults to 400KB.
  656.                                    # (change requires restart)
  657. memqcache_cache_block_size = 1048576
  658.                                    # Cache block size in bytes. Mandatory if memqcache_method = 'shmem'.
  659.                                    # Defaults to 1MB.
  660.                                    # (change requires restart)
  661. memqcache_oiddir = '/var/log/pgpool/oiddir'
  662.                                    # Temporary work directory to record table oids
  663.                                    # (change requires restart)
  664. white_memqcache_table_list = ''
  665.                                    # Comma separated list of table names to memcache
  666.                                    # that don't write to database
  667.                                    # Regexp are accepted
  668. black_memqcache_table_list = ''
  669.                                    # Comma separated list of table names not to memcache
  670.                                    # that don't write to database
  671.                                    # Regexp are accepted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement