vitess.io/vitess@v0.16.2/config/tablet/default.yaml (about)

     1  tabletID: zone-1234
     2  
     3  init:
     4    dbName:            # init_db_name_override
     5    keyspace:          # init_keyspace
     6    shard:             # init_shard
     7    tabletType:        # init_tablet_type
     8    timeoutSeconds: 60 # init_timeout
     9  
    10  db:
    11    socket:     # db_socket
    12    host:       # db_host
    13    port: 0     # db_port
    14    charSet:    # db_charset
    15    flags: 0    # db_flags
    16    flavor:     # db_flavor
    17    sslCa:      # db_ssl_ca
    18    sslCaPath:  # db_ssl_ca_path
    19    sslCert:    # db_ssl_cert
    20    sslKey:     # db_ssl_key
    21    serverName: # db_server_name
    22    connectTimeoutMilliseconds: 0 # db_connect_timeout_ms
    23    app:
    24      user: vt_app      # db_app_user
    25      password:         # db_app_password
    26      useSsl: true      # db_app_use_ssl
    27      preferTcp: false
    28    dba:
    29      user: vt_dba      # db_dba_user
    30      password:         # db_dba_password
    31      useSsl: true      # db_dba_use_ssl
    32      preferTcp: false
    33    filtered:
    34      user: vt_filtered # db_filtered_user
    35      password:         # db_filtered_password
    36      useSsl: true      # db_filtered_use_ssl
    37      preferTcp: false
    38    repl:
    39      user: vt_repl     # db_repl_user
    40      password:         # db_repl_password
    41      useSsl: true      # db_repl_use_ssl
    42      preferTcp: false
    43    appdebug:
    44      user: vt_appdebug # db_appdebug_user
    45      password:         # db_appdebug_password
    46      useSsl: true      # db_appdebug_use_ssl
    47      preferTcp: false
    48    allprivs:
    49      user: vt_allprivs # db_allprivs_user
    50      password:         # db_allprivs_password
    51      useSsl: true      # db_allprivs_use_ssl
    52      preferTcp: false
    53  
    54  oltpReadPool:
    55    size: 16                 # queryserver-config-pool-size
    56    timeoutSeconds: 0        # queryserver-config-query-pool-timeout
    57    idleTimeoutSeconds: 1800 # queryserver-config-idle-timeout
    58    maxLifetimeSeconds: 0    # queryserver-config-pool-conn-max-lifetime
    59    prefillParallelism: 0    # queryserver-config-pool-prefill-parallelism
    60    maxWaiters: 50000        # queryserver-config-query-pool-waiter-cap
    61  
    62  olapReadPool:
    63    size: 200                # queryserver-config-stream-pool-size
    64    timeoutSeconds: 0        # queryserver-config-query-pool-timeout
    65    idleTimeoutSeconds: 1800 # queryserver-config-idle-timeout
    66    prefillParallelism: 0    # queryserver-config-stream-pool-prefill-parallelism
    67    maxWaiters: 0
    68  
    69  txPool:
    70    size: 20                 # queryserver-config-transaction-cap
    71    timeoutSeconds: 1        # queryserver-config-txpool-timeout
    72    idleTimeoutSeconds: 1800 # queryserver-config-idle-timeout
    73    prefillParallelism: 0    # queryserver-config-transaction-prefill-parallelism
    74    maxWaiters: 50000        # queryserver-config-txpool-waiter-cap
    75  
    76  oltp:
    77    queryTimeoutSeconds: 30 # queryserver-config-query-timeout
    78    txTimeoutSeconds: 30    # queryserver-config-transaction-timeout
    79    maxRows: 10000          # queryserver-config-max-result-size
    80    warnRows: 0             # queryserver-config-warn-result-size
    81  
    82  healthcheck:
    83    intervalSeconds: 20             # health_check_interval
    84    degradedThresholdSeconds: 30    # degraded_threshold
    85    unhealthyThresholdSeconds: 7200 # unhealthy_threshold
    86  
    87  gracePeriods:
    88    shutdownSeconds:   0 # shutdown_grace_period
    89    transitionSeconds: 0 # serving_state_grace_period
    90  
    91  replicationTracker:
    92    mode: disable                    # enable_replication_reporter
    93    heartbeatIntervalMilliseconds: 0 # heartbeat_enable, heartbeat_interval
    94  
    95  hotRowProtection:
    96    mode: disable|dryRun|enable # enable_hot_row_protection, enable_hot_row_protection_dry_run
    97    # Recommended value: same as txPool.size.
    98    maxQueueSize: 20            # hot_row_protection_max_queue_size
    99    maxGlobalQueueSize: 1000    # hot_row_protection_max_global_queue_size
   100    maxConcurrency: 5           # hot_row_protection_concurrent_transactions
   101  
   102  consolidator: enable|disable|notOnPrimary # enable-consolidator, enable-consolidator-replicas
   103  passthroughDML: false                    # queryserver-config-passthrough-dmls
   104  streamBufferSize: 32768                  # queryserver-config-stream-buffer-size
   105  queryCacheSize: 5000                     # queryserver-config-query-cache-size
   106  schemaReloadIntervalSeconds: 1800        # queryserver-config-schema-reload-time
   107  watchReplication: false                  # watch_replication_stream
   108  terseErrors: false                       # queryserver-config-terse-errors
   109  messagePostponeParallelism: 4            # queryserver-config-message-postpone-cap
   110  cacheResultFields: true                  # enable-query-plan-field-caching
   111  
   112  
   113  # The following flags are currently not supported.
   114  # enforce_strict_trans_tables
   115  # queryserver-config-strict-table-acl
   116  # queryserver-config-enable-table-acl-dry-run
   117  # queryserver-config-acl-exempt-acl
   118  # enable-tx-throttler
   119  # tx-throttler-config
   120  # tx-throttler-healthcheck-cells
   121  # enable_transaction_limit
   122  # enable_transaction_limit_dry_run
   123  # transaction_limit_per_user
   124  # transaction_limit_by_username
   125  # transaction_limit_by_principal
   126  # transaction_limit_by_component
   127  # transaction_limit_by_subcomponent