標籤:mysql最佳化 5.5 5.6
MySQL官方5.6.10版本出來後,號稱比以往版本效能提升了很多,實際測試了下,確實有所提升,但相比Percona 5.6.6在效能方面還是沒有優勢。
1、tpcc測試結果
650) this.width=650;" title="MySQL 5.6.10 vs Percona 5.6.6之TPCCC效能測試結果" src="http://dp.imysql.com:8080/files/upload_yejr_imysql/MySQL_5.6.10_vs_Percona_5.6.6_TPCC_OLTP_benchmarking_20130221.png" style="border:0px;" alt="MySQL_5.6.10_vs_Percona_5.6.6_TPCC_OLTP_" />
點擊看大圖
2、測試環境
650) this.width=650;" title="MySQL 5.6.10 vs Percona 5.6.6之TPCCC效能測試-測試環境" src="http://dp.imysql.com:8080/files/upload_yejr_imysql/MySQL_5.6.10_vs_Percona_5.6.6_TPCC_OLTP_benchmarking_env_20130221.png" style="border:0px;" alt="MySQL_5.6.10_vs_Percona_5.6.6_TPCC_OLTP_" />
3、InnoDB關鍵配置選項
650) this.width=650;" title="MySQL 5.6.10 vs Percona 5.6.6之TPCCC效能測試-InnoDB關鍵配置選項" src="http://dp.imysql.com:8080/files/upload_yejr_imysql/MySQL_5.6.10_vs_Percona_5.6.6_TPCC_OLTP_benchmarking_var_20130221.png" style="border:0px;" alt="MySQL_5.6.10_vs_Percona_5.6.6_TPCC_OLTP_" />
備忘:
1、ring replication:是指3個節點搭建環形複製,各自分別都是master/slave。在測試過程中,還嘗試類比master宕機,slave任意切換master,驗證GTID模式下的資料可靠性,在測試模式下,確實保證了資料可靠性。
2、bp8_facts:設定innodb_buffer_pool_instances = 8以及metadata_locks_hash_instances = 256,預設配置則是innodb_buffer_pool_instances = 1。
3、nobinlog:是指關閉binlog的模式。
個人觀點:官方版本做的越來越好了,Percona分支除了在易用性方面繼續保持優勢外,效能提升方面優勢越來越小了,後繼乏力。如果還是這樣的話,再往後可以考慮切換到官方版本主線上來。
--------------------------------------分割線--------------------------------------
知數堂 (http://zhishuedu.com)培訓是由資深MySQL專家葉金榮、吳炳錫聯合推出的專業優質培訓品牌,主要有MySQL DBA實戰最佳化和Python營運開發課程,是業內最有良心、最有品質的培訓課程。
本文出自 “老葉茶館” 部落格,請務必保留此出處http://imysql.blog.51cto.com/1540006/1879768
最佳化系列 | MySQL 5.6.10 vs Percona 5.6.6之TPCCC效能測試