TiDB v5.3 Documentationand stability • Reduce the write latency of TiKV by separating I/O operations from Raftstore thread pool (disabled by default) 2.2.1 Compatibility changes Note: When upgrading from an earlier TiDB version store- �→ io-pool �→ -size Newly added The allowable number of threads that process Raft I/O tasks, which is the size of the StoreWriter thread pool. When you modify the size of this thread pool, refer to configura- tion item, the data is written to the disk. When the value of raftstore. �→ store- �→ io-pool �→ -size is 0, this con- figuration item does not take effect. 35 Configuration file Configuration0 码力 | 2996 页 | 49.30 MB | 1 年前3
TiDB v5.4 Documentationthere might be high latency for the read queries and high CPU usage for TiKV’s unified �→ read �→ pool. In such cases, because the Limit operator only requires a small set of data, if you set tidb_enable_paging can cache. The default value is1000. TiKV snap- �→ generator �→ -pool- �→ size Newly added The size of the snap- �→ generator �→ thread pool. The default value is 2. 35 Configuration file Configuration enable_elastic_threadpool �→ Newly added Determines whether to enable or disable the elastic thread pool function. Enabling this configu- ration item can significantly improve TiFlash CPU utilization in0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v6.1 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1127 11.2.3 Tune TiKV Thread Pool Performance · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1134 11.2.4 Tune TiKV Memory foreground-write-bandwidth • quota.foreground-read-bandwidth • quota.max-delay-duration • server.grpc-memory-pool-quota • server.max-grpc-send-msg-len • server.raft-msg-max-batch-size • In v6.1.0, some configuration max-batch-wait-time: 2000000 TiKV parameter configuration storage.scheduler-worker-pool-size: 5 raftstore.store-pool-size: 3 raftstore.apply-pool-size: 3 rocksdb.max-background-jobs: 8 server.grpc-concurrency: 6 readpool0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v5.1 DocumentationConfiguration item Change type Description TiKV con- figuration file resolved- �→ ts.scan �→ -lock- �→ pool- �→ size Newly added The number of threads that TiKV uses to scan the MVCC (multi- version concurrency 2000000 51 TiKV parameter configuration storage.scheduler-worker-pool-size: 5 raftstore.store-pool-size: 3 raftstore.apply-pool-size: 3 rocksdb.max-background-jobs: 8 raftdb.max-background-jobs: 4 max-background-jobs: 4 raftstore.apply-max-batch-size: 2048 raftstore.apply-pool-size: 3 raftstore.store-max-batch-size: 2048 raftstore.store-pool-size: 3 readpool.storage.normal-concurrency: 10 readpool.unified0 码力 | 2745 页 | 47.65 MB | 1 年前3
TiDB v7.1 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1374 11.2.3 Tune TiKV Thread Pool Performance · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1382 11.2.4 Tune TiKV Memory TiKV batch-get �→ operations. In situations where data is highly dispersed and the gRPC �→ thread pool has insufficient resources, batching coprocessor �→ requests can improve performance by more than LDAP SASL authen- tica- tion. authentication_ldap_sasl_init_pool_size �→ Newly added Specifies the initial connec- tions in the connec- tion pool to the LDAP server in LDAP SASL authen- tica- tion. 540 码力 | 5716 页 | 104.74 MB | 1 年前3
TiDB v7.6 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1392 11.2.3 Tune TiKV Thread Pool Performance · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1400 11.2.4 Tune TiKV Memory instance.tidb_slow_log_threshold: 300 tikv: readpool.storage.use-unified-pool: false readpool.coprocessor.use-unified-pool: true pd: replication.enable-placement-rules: true replication.location-labels: id="development">0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v7.5 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1378 11.2.3 Tune TiKV Thread Pool Performance · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1386 11.2.4 Tune TiKV Memory instance.tidb_slow_log_threshold: 300 tikv: readpool.storage.use-unified-pool: false readpool.coprocessor.use-unified-pool: true pd: replication.enable-placement-rules: true replication.location-labels: id="development">0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v6.5 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1338 11.2.3 Tune TiKV Thread Pool Performance · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1346 11.2.4 Tune TiKV Memory instance.tidb_slow_log_threshold: 300 tikv: readpool.storage.use-unified-pool: false readpool.coprocessor.use-unified-pool: true pd: replication.enable-placement-rules: true replication.location-labels: id="development">0 码力 | 5282 页 | 99.69 MB | 1 年前3
TiDB v5.2 Documentationmax-batch-wait-time: 2000000 TiKV parameter configuration storage.scheduler-worker-pool-size: 5 raftstore.store-pool-size: 3 raftstore.apply-pool-size: 3 rocksdb.max-background-jobs: 8 raftdb.max-background-jobs: 4 max-background-jobs: 4 raftstore.apply-max-batch-size: 2048 raftstore.apply-pool-size: 3 raftstore.store-max-batch-size: 2048 raftstore.store-pool-size: 3 readpool.storage.normal-concurrency: 10 readpool.unified min-thread-count: 5 rocksdb.max-background-jobs: 8 server.grpc-concurrency: 6 storage.scheduler-worker-pool-size: 20 server.enable-request-batch: false TiDB global variable configuration { set global ti0 码力 | 2848 页 | 47.90 MB | 1 年前3
TiDB v8.5 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1861 11.2.3 Tune TiKV Thread Pool Performance · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1870 11.2.4 Tune TiKV Memory instance.tidb_slow_log_threshold: 300 tikv: readpool.storage.use-unified-pool: false readpool.coprocessor.use-unified-pool: true pd: replication.enable-placement-rules: true replication.location-labels: id="development">0 码力 | 6730 页 | 111.36 MB | 10 月前3共 34 条- 1
- 2
- 3
- 4













