智能化下的产物,无人棋牌室
Percona Server 5.6.26-74.0 发布,主要更新内容如下:
新特性
- TokuDB storage engine source has been merged into the Percona Servercode. TokuDB storage engine
tokudb_version
variable now has the same value as thePercona Serverversion
variable. - TokuDB Hot Backup has been renamed to Percona TokuBackup and it is now open source.Source code has been integrated into Percona Server code as a git submodule. TokuDB Hot Backupplugin source code has been merged into Percona Server code.
- Tokutek Fractal Tree has been renamed to Percona FT and its source code has been integrated into Percona Server code as a git submodule.
- TokuDB tests for Percona Server 5.6 have been merged into Percona Server 5.6 code.
- Google SNAPPY compression/decompression algorithm is now available as TokuDB Compression table format.
- Percona Server now supports changing the
server_id
variable per session, by implementing the newpseudo_server_id
variable. This feature is also fixing upstream bug#35125. - Percona Server has temporarily disabled savepoints in triggers and stored functions. The reason is that even having fixed bug #1438990 and bug #1464468 we have found more cases where savepoints in triggers break binary logging and replication, resulting in server crashes and broken slaves. This feature will be disabled until the above issues are properly resolved.
LOCK TABLES FOR BACKUP
now flushes the current binary log coordinates to InnoDB. Thus, under activeLOCK TABLES FOR BACKUP
, the binary log coordinates in InnoDB are consistent with its redo log and any non-transactional updates (as the latter are blocked byLOCK TABLES FOR BACKUP
). It is planned that this change will enable Percona XtraBackup to avoid issuing the more invasiveLOCK BINLOG FOR BACKUP
command under some circumstances.innodb_stress
has been added to the list of default MTR suites. For most supported systems satisfying the newly added dependencies is straightforward, but on CentOS 5, the default Python is too old. Thuspython26
andpython26-mysqldb
packages should be installed there andpython26
should be made the default python for the testsuite environment.- Three new TokuDB variables,
tokudb_client_pool_threads
,tokudb_cachetable_pool_threads
, andtokudb_checkpoint_pool_threads
, have been implemented to improve the controlling of thread pool size. - Percona Server has implemented new
tokudb_enable_partial_eviction
option in TokuDBto allow disabling of partial eviction of nodes. - Percona Server has implemented new
tokudb_compress_buffers_before_eviction
option inTokuDB which allows the evictor to compress unused internal node partitions in order to reduce memory requirements as a first step of partial eviction before fully evicting the partition and eventually the entire node.
Bugs 修复
- Querying
GLOBAL_TEMPORARY_TABLES
table would crash threads working with internal temporary tables used byALTER TABLE
. Bug fixed #1113388. - Selecting from
GLOBAL_TEMPORARY_TABLES
table while running an onlineALTER TABLE
on a partitioned table in parallel could lead to a server crash. Bug fixed #1193264. - Kill Idle Transactions feature could cause an assertion on a debug build due to a race condition. Bug fixed #1206008.
libmylsqclient_16
symbols were missing in Percona Server shared library package onRHEL/CentOS 7. Bug fixed #1420691.- Prepared statements in stored procedures could crash Response Time Distribution plugin. Bug fixed #1426345.
- When variable
innodb_corrupt_table_action
is set toWarn/Salvage
then server could crash on updating table statistics during query execution on affected tables. Bug fixed#1426610. - A sequence of failing
TRUNCATE TABLE
, then insert to that table, andCHECK TABLE
would crash the server. Bug fixed #1433197. - When InnoDB change buffering was enabled and used, executing a
FLUSH TABLE ... FOR EXPORT
would cause a server hang andSHOW PROCESSLIST
would show that table in aSystem Lock
state. Bug fixed #1454441 (upstream #77011). FLUSH INDEX_STATISTICS
/FLUSH CHANGED_PAGE_BITMAPS
andFLUSH USER_STATISTICS
/RESET CHANGE_PAGE_BITMAPS
pairs of commands were inadvertently joined, i.e. issuing either command had the effect of both. The first pair, besides flushing both index statistics and changed page bitmaps, had the effect ofFLUSH INDEX_STATISTICS
requiringSUPER
instead ofRELOAD
privilege. The second pair resulted inFLUSH USER_STATISTICS
destroying changed page bitmaps. Bug fixed #1472251.- Enabling
super_read_only
together withread_only
inmy.cnf
would result in server crashing on startup. The workaround is to enablesuper_read_only
dynamically on a running server.Bug fixed #1389935 ( the fix was ported from Facebook patch #14d5d9). - Enabling
super_read_only
as a command line option would not enableread_only
. Bug fixed #1389935 ( the fix was ported from Facebook patch #14d5d9). - If a new connection thread was created while a
SHOW PROCESSLIST
command or aINFORMATION_SCHEMA.PROCESSLIST
query was in progress, it could have a negativeTIME_MS
value returned in thePROCESSLIST
output. Bug fixed #1379582. - With support for Fake Changes enabled, a write to an InnoDB table that would cause B-tree reorganization could lead to server assertion with the
unknown error code 1000
. Bug fixed#1410410. - Running
ALTER TABLE ... DISCARD TABLESPACE
with support for Fake Changes enabled would lead to a server assertion. Bug fixed #1372219. ALTER TABLE
did not allow to change a column toNOT NULL
if the column was referenced in a foreign key. Bug fixed #1470677 (upstream #77591).DROP TABLE IF EXISTS
which fails due to a foreign key presence could break replication if slave had replication filters. Bug fixed #1475107 (upstream #77684).- Enabling Log Archiving for XtraDB when
--innodb-read-only
option was enabled would cause server to crash. Bug fixed #1484432. - LRU manager thread flushing was being accounted to
buffer_flush_background
InnoDBmetrics which was wrong and redundant. Bug fixed #1491420. - Fixed a typo in the cleaner thread loop where
n_flushed
is added to, instead of reset, by the idle server flushing. This may cause a cleaner thread sleep skip on a non-idle server. Bug fixed #1491435. - Running TokuDB for a long time with lots of file open and close operations could lead to a server crash due to server incorrectly setting a reserved value. Bug fixed #690.
- Fixed TokuDB memory leak due to data race in context status initialization. Bug fixed #697.
- Removed unnecessary calls to
malloc_usable_size()
function in PerconaFT library to improve the performance. Bug fixed #682.
Other bugs fixed: #1370002, #1464468, #1287299, #1472256, #867, #870, #878, #658, #661, #663,#665, #687, #696, #698, #870, #685, and #878.
更多内容请看:dzone.com
Percona 为 mysql”>MySQL 数据库服务器进行了改进,在功能和性能上较 MySQL 有着很显著的提升。该版本提升了在高负载情况下的 InnoDB 的性能、为 DBA 提供一些非常有用的性能诊断工具;另外有更多的参数和命令来控制服务器行为。
Percona Server 只包含 MySQL 的服务器版,并没有提供相应对 MySQL 的 Connector 和 GUI 工具进行改进。
Percona Server 使用了一些 google+mysql+tools”>google-mysql-tools, Proven Scaling, Open Query 对 MySQL 进行改造。