tidb测试环境搭建

Posted ijia

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tidb测试环境搭建相关的知识,希望对你有一定的参考价值。

基于tidb2.0版本需要调整的参数

[tidb@ansible01 tidb-ansible]$ vim ./roles/machine_benchmark/defaults/main.yml  

---

fio_deploy_dir: " tikv_data_dir /fio"

# fio randread iops
min_ssd_randread_iops: 400

# fio mixed randread and sequential write
min_ssd_mix_randread_iops: 100
min_ssd_mix_write_iops: 100

# fio mixed randread and sequential write lat
max_ssd_mix_randread_lat: 2500000
max_ssd_mix_write_lat: 300000

# fio test file size
benchmark_size: 10G

 

[tidb@ansible01 tidb-ansible]$ vim ./roles/machine_benchmark/defaults/main.yml
---

fio_deploy_dir: " tikv_data_dir /fio"

# fio randread iops
min_ssd_randread_iops: 400

# fio mixed randread and sequential write
min_ssd_mix_randread_iops: 100
min_ssd_mix_write_iops: 100

# fio mixed randread and sequential write lat
max_ssd_mix_randread_lat: 250
max_ssd_mix_write_lat: 300

# fio test file size
benchmark_size: 10G

以上是关于tidb测试环境搭建的主要内容,如果未能解决你的问题,请参考以下文章

TIDB - 使用TIUP在线搭建TIDB集群

TIDB-cenos7开发环境搭建

TiDB环境搭建与基础功能验证

TiDB入门:从入门到“跑路”

mysql8.0.20安装测试innodb cluster

mysql8.0.20安装测试innodb cluster