求tidb5.0 通用优化配置

【概述】 场景 + 问题概述
tidb5 tiup cluster xxx config show 求通用优化配置
配置是16c 32g ssd

一般来说默认的参数配置就可以。
根据不同的业务有不同的参数配置方法。
或者可以参考一下类似配置下,我们做的压测的参数。
https://docs.pingcap.com/zh/tidb/stable/v5.0-performance-benchmarking-with-tpcc#tidb-tpc-c-性能对比测试报告---v50-对比-v40

TiDB v5.0 参数配置

Copy

log.level: "error"
performance.max-procs: 20
prepared-plan-cache.enabled: true
tikv-client.max-batch-wait-time: 2000000

TiKV v5.0 参数配置

Copy

pessimistic-txn.pipelined: true
raftdb.allow-concurrent-memtable-write: true
raftdb.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.max-thread-count: 20
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

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。