
저는 현재 Percona 5.6을 사용하여 Galera Cluster를 시험해보고 있습니다. 베어메탈에서 2노드 클러스터 테스트를 진행했습니다. 0(끄기)으로 설정 하면 repl.commit_order
sysbench로 측정된 TPS 성능은 독립형 Percona 인스턴스의 성능과 비슷합니다.
repl.commit_order
3(기본값)으로 설정 하면 TPS 성능은 독립형 Percona 인스턴스와 비교하여 약 10%입니다.
각 인스턴스의 Sysbench 명령은 다음과 같습니다.
sysbench --test=/usr/share/doc/sysbench/tests/db/oltp.lua --oltp-table-size=5000000 --oltp-tables-count=1 --num-threads=32 --mysql-host=127.0.0.1 --mysql-user=root --mysql-password=**** --mysql-port=3306 --report-interval=1 --max-requests=0 --max-time=0 --mysql-db=sbtest run
첫째: 다양한 commit_order 모드의 의미는 무엇입니까?
둘째: 성능을 향상시킬 수 있는 다른 조정 사항을 제안할 수 있는 사람이 있습니까?
답변1
실제로 클러스터 성능을 향상시키기 위해 다른 작업을 수행할 수 있다는 것이 밝혀졌습니다. 다음 두 링크는 유용한 리소스였습니다.
http://openlife.cc/blogs/2011/august/running-sysbench-tests-against-galera-cluster
https://www.percona.com/blog/2013/12/07/linux-performance-tuning-tips-mysql/