首页
Search
1
v2ray异常错误之二
3,310 阅读
2
linux时区设置
2,698 阅读
3
DB2常用操作
2,173 阅读
4
websphere修改jvm内存xmx和xms
1,929 阅读
5
nfs客户端文件属主为nobody的现象
1,552 阅读
技术
生活
运动
游戏
电影
登录
Search
标签搜索
docker
linux
troubleshooting
nginx
secure
truenas
mysql
windows
python
esxi
docker swarm
oracle
zabbix
tomcat
blog
dsm
群晖
rpa
freenas
db
yuc
累计撰写
291
篇文章
累计收到
0
条评论
首页
栏目
技术
生活
运动
游戏
电影
页面
搜索到
1
篇与
的结果
2023-08-24
tidb压测
0x1 tpcc 导入一亿数据,其中最大表是10w,实际最大数据量:最大表 x warehouses的值 tiup bench tpcc -H 192.168.10.150 -P 4000 -p xxx -D tpcc --warehouses 1000 prepare 导入1千万数据, warehouses 设置 100 即可 tiup bench tpcc -H 192.168.10.150 -P 4000 -p xxx -D tpcc_1000 --warehouses 100 prepare 压测影响因素: 线程数、分区表 0x2 tpch 前置配置: set @@tidb_isolation_read_engines='tiflash'; set @@tidb_allow_mpp=1; set @@tidb_mem_quota_query = 10 << 30; # 不开启的话并行导入会有问题 SET GLOBAL tidb_multi_statement_mode='ON'; 导入数据 tiup bench tpch -H 192.168.10.150 -P 4000 -p 'xxx' -D tpch_1000 --dropdata --sf=4 --analyze --tiflash prepare 查询表flash同步状态 SELECT * FROM information_schema.tiflash_replica WHERE TABLE_SCHEMA = 'tpch_1000' and TABLE_NAME = 'lineitem' 测试 tiup bench tpch -H 192.168.10.150 -P 4000 -p 'xxx' -D tpch_1000 --sf 10 --time 1800s -T 64 run
2023年08月24日
2 阅读
0 评论
0 点赞