Percona Server 5.6跟5.5的差異統計

來源:互聯網
上載者:User

Percona Server 5.6跟5.5的差異統計

一、摒棄掉的:
1、SHOW [GLOBAL] TEMPORARY TABLES功能取消,只能用TEMPORARY_TABLES 和 GLOBAL_TEMPORARY_TABLES
 2、innodb_thread_concurrency_timer_based 參數取消,5.5預設是false;開啟的化innodb控制線程並發的方式
                                          將會用無鎖的計時器機制。預設使用原始的互斥量機制。
3、innodb_recovery_stats參數廢除:記錄恢複的詳細過程到errorlog裡面。
4、慢查詢日誌和show processlist裡面的rows_read列不再顯示,因為本身是一個很模糊的值,沒有太多有意義。

二、替代:
1、 show engine innodb status 的OLDEST VIEW的輸出部分在5.6中調整到了視圖xtradb_read_view顯示
2、 show engine innodb status 的雜湊表使用記憶體部分調整到XTRADB_INTERNAL_HASH_TABLES顯示
3、 INNODB_RSEG表重新命名成了 XTRADB_RSEG.
 4、 為預讀區分配固定大小使用了不同的實現方式:緩衝預讀區的值只在每一個緩衝池初始化的時候預先計算一次,
    而不是寫入程式碼成64MB(之前版本的做法)
5、回應時間分布統計功能使用外掛程式形式實現,擴充的原來的統計功能,讀寫分別作了單獨統計,複製線程的慢更新
  SQL不會被統計到,SHOW QUERY_RESPONSE_TIME命令廢除,直接查詢query_response_time表,重新整理命令也從原來
  的FLUSH QUERY_RESPONSE_TIME改成了變數query_response_time_flush控制

三、相似或者等價的功能點(官方版本加入或者percona自己做了進一步升級):
1、Crash-Resistant Replication被 MYSQL creash safe replication替代
2、Improved InnoDB I/O Scalability功能補丁做了改進(廢除參數:innodb_adaptive_flushing_method、
  innodb_checkpoint_age_target、innodb_flush_neighbor_pages、innodb_read_ahead
    新增:innodb_log_checksum_algorithm)
3、InnoDB Data Dictionary Size Limit功能在5.6中使用table-definition-cache這個變數來限制資料字典大小
4、Expand Table Import被InnoDB transportable tablespaces功能替代
5、The InnoDB data dictionary INFORMATION_SCHEMA tables have been superseded by the MySQL implementations
 6、XtraDB SYS_STATS persistent table and index statistics has been replaced by the MySQL 5.6 implementation
 7、Dump/Restore of the Buffer Pool被官方5.6功能替代
8、fast_index_creation (replaced by MySQL 5.6’s ALGORITHM= option).
 9、Fast InnoDB Checksum has been deprecated after Percona Server 5.5.28-29.2 because the innodb_checksum_algorithm
    variable in MySQL 5.6 makes it redundant.
 10、Handle BLOB End of Line feature has been replaced by MySQL 5.6 binary-mode configuration option.
 11、Percona Server 5.5 implemented utf8_general50_ci and ucs2_general50_ci collations as a fix for
    the upstream bug: #27877. These are now being replaced by MySQL 5.6 utf8_general_mysql500_ci
    and ucs2_general_mysql500_ci collations.
 12、Percona Server INFORMATION_SCHEMA _STATS tables in 5.5 have been replaced by new tables in MySQL 5.6:
    INNODB_SYS_TABLES, INNODB_SYS_INDEXES, INNODB_SYS_COLUMNS,INNODB_SYS_FIELDS, INNODB_SYS_FOREIGN,
    INNODB_SYS_FOREIGN_COLS,INNODB_SYS_TABLESTATS (although MySQL 5.6 does not have MYSQL_HANDLES_OPENED,
    instead it has REF_COUNT). Following tables haven’t been implemented in MySQL 5.6 but information is
    available in other tables: INNODB_SYS_STATS - use MYSQL.INNODB_(INDEX|TABLE)_STATS instead,
    INNODB_TABLE_STATS - use INNODB_SYS_TABLESTATS or MYSQL.INNODB_TABLE_STATS instead,
    and INNODB_INDEX_STATS - use MYSQL.INNODB_INDEX_STATS instead.

四、從5.5引入:
Feature Ported                                        Version
 Thread Pool      5.6.10-60.2
 Atomic write support for Fusion-io devices  5.6.11-60.3
 Improved InnoDB I/O Scalability    5.6.11-60.3
 Improved NUMA support      5.6.11-60.3
 Suppress Warning Messages    5.6.11-60.3
 Improved MEMORY Storage Engine    5.6.11-60.3
 Restricting the number of binlog files    5.6.11-60.3
 Too Many Connections Warning    5.6.11-60.3
 Error Code Compatibility    5.6.11-60.3
 Lock-Free SHOW SLAVE STATUS    5.6.11-60.3
 Percona Toolkit UDFs      5.6.11-60.3
 Support for Fake Changes    5.6.11-60.3
 Kill Idle Transactions      5.6.11-60.3
 Enforcing Storage Engine    5.6.11-60.3
 Utility user      5.6.11-60.3
 Extending the secure-file-priv server option  5.6.11-60.3
 Expanded Program Option Modifiers    5.6.11-60.3
 XtraDB changed page tracking    5.6.11-60.3
 PAM Authentication Plugin    5.6.11-60.3
 User Statistics      5.6.11-60.3
 Slow Query Log      5.6.11-60.3
 Extended Show Engine InnoDB Status    5.6.11-60.3
 Count InnoDB Deadlocks      5.6.11-60.3
 Log All Client Commands (syslog)    5.6.11-60.3
 Show Storage Engines      5.6.11-60.3
 Thread Based Profiling      5.6.11-60.3
 Fixed Size for the Read Ahead Area    5.6.13-60.5
 Improved Buffer Pool Scalability    5.6.13-60.6
 Multiple Adaptive Hash Search Partitions  5.6.13-60.6
 HandlerSocket      5.6.17-66.0
 Response Time Distribution    5.6.21-69.0

五:status和變數差異。。。。

CentOS中編譯安裝Percona Server 5.5.42出現問題解決一例 

Percona Server 的詳細介紹:請點這裡
Percona Server 的:請點這裡

本文永久更新連結地址:

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.