轉載自: html
http://www.chinaxing.org/articles/Database/2015/10/23/2015-10-22-mysql-5.7.htmlmysql
sys-schemagit
http://mingxinglai.com/cn/2016/03/sys-schema/github
http://keithlan.github.io/2015/07/17/22_performance_schema/sql
MySQL Performance-Schema(一) 配置篇緩存
MySQL Performance-Schema(二) 理論篇安全
MySQL Performance-Schema(三) 實踐篇架構
Percona的一個測試,在MySQL5.7的狀況下將innodb_page_size調整到4k,能夠比16k性能提高70%以上;https://www.percona.com/blog/2016/08/10/small-innodb_page_size-performance-boost-ssd/併發
MySQL 5.7 算是放大招了,易用性,性能,可用性,安全等都有很大的改善。框架
性能提高3倍以上。包括:
innodb_buffer_pool_size
Resizing the InnoDB Buffer Pool OnlineVARCHAR
類型列的長度CHANGE REPLICATION FILTER
Making MySQL Slave Replication Filter DynamicCHANGE MASTER
Change Master without stopping slave altogetherEXPLAIN FOR CONNECTION
來查看執行中Query得狀況,起到運行時profile的做用。監控系統性能能的Schema得以從新設計架構,包括Metadata Locking、Transactions、Memory Usage、Stored Programs、Prepared Statements,MySQL Performace Schema
提高bufferPool的dump和load,支持只dump每一個BufferPool最熱的百分之N(默認25%)的頁面,load在後臺運行,不影響用戶的查詢執行 MySQL Dumping and Reloading the InnoDB Buffer Pool
SHOW SLAVE STATUS