为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【 TiDB 使用环境】
CPU 48C
内存 128G
NVME SSD 3.8T
【概述】 场景 + 问题概述
sysbench初始化,100表*1亿。初步估计要30小时才能结束。
请问如何通过参数加速这个?
【背景】 做过哪些操作
目前参照文档改了一些参数:
set global tidb_hashagg_final_concurrency=1;
set global tidb_hashagg_partial_concurrency=1;
set global tidb_enable_async_commit = 1;
set global tidb_enable_1pc = 1;
set global tidb_guarantee_linearizability = 0;
set global tidb_enable_clustered_index = 1;
【现象】 业务和数据库现象
【问题】 当前遇到的问题
感觉有点慢。
【业务影响】
【TiDB 版本】
【应用软件及版本】
【附件】 相关日志及配置信息
- TiUP Cluster Display 信息
tiup cluster list
Starting component cluster
: /root/.tiup/components/cluster/v1.8.2/tiup-cluster list
Name User Version Path PrivateKey
tidb-demo tidb v5.3.0 /root/.tiup/storage/cluster/clusters/tidb-demo /root/.tiup/storage/cluster/clusters/tidb-demo/ssh/id_rsa
监控(https://metricstool.pingcap.com/)
- TiDB-Overview Grafana监控
- TiDB Grafana 监控
- TiKV Grafana 监控
- PD Grafana 监控
- 对应模块日志(包含问题前后 1 小时日志)
若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。