July 24, 2014

Percona Server 5.1.58-12.9

Percona is glad to announce the release of Percona Server 5.1.58-12.9 on August 12, 2011 (Downloads are available here and from the Percona Software Repositories).

Based on MySQL 5.1.58, including all the bug fixes in it, Percona Server 5.1.58-12.9 is now the current stable release in the 5.1 series. All of Percona’s software is open-source and free, all the details of the release can be found in the 5.1.58-12.9 milestone at Launchpad.

Highlights

Performance Improvements

  • fsync() has been replaced with fdatasync() to improve perfomance where possible. The former is intended to sync the metadata of the file also (size, name, access time, etc.), but for the transaction log and the doublewrite buffer, such sync of metadata isn’t needed. Bug Fixed: #803270 (Yasufumi Kinoshita).
  • A remaining loop from an unimplemented feature degraded the performance when using compressed tables and has been removed (buf_LRU_insert_zip_clean). Bugs Fixed: #802825#61341 in MySQL (Yasufumi Kinoshita).

Compatibility Collations

Two new collations, utf8_general50_ci and ucs2_general50_ci, have been to improve compatibility for those upgrading from MySQL 5.0 or 5.1 prior to version 5.1.24.

A fix for a MySQL bug (#27877) introduced an incompatible change in collations in MySQL 5.1.24. If the following collations were used:

  • utf8_general_ci
  • ucs2_general_ci

and any of the indexes contained the German letter “U+00DF SHARP S” ‘ß’ (which became equal to ‘s’), when upgrading from 5.0 / 5.1.23 or lower:

  • any indexes on columns in that situation must be rebuilt after the upgrade, and
  • unique constrains may get broken after upgrade due to possible duplicates.

This problem is avoided when upgrading to Percona Server by converting the affected tables or columns to the collations introduced:

  • utf8_general_ci to utf8_general50_ci, and
  • ucs2_general_ci to utf8_general50_ci.

Blueprint:utf8-general50-ci-5.1 (Alexey Kopytov).

SHM Buffer Pool has been removed

The ”SHM” buffer pool patch has been removed due to being both invasive and not widely used.

Instead, we recommend using the much safer LRU Dump/Restore patch, which provides similar improvements in restart performance and has the advantage of persisting across machine restarts.

The configuration variables for my.cnf have been kept for compatibility and warnings will be printed for the deprecated options (innodb_buffer_pool_shm_key and innodb_buffer_pool_shm_checksum) if used.

Instructions for disabling the SHM buffer pool can be found here and for setting up LRU dump/restore here.

Bug Fixes

  • When adding a table to the cache, the server may evict and close another if the table cache is full. If the closed table was on the FEDERATED engine and a replication environment, its client connection to the remote server was closed leading to an unappropriated network error and stopping the Slave SQL thread. Bugs Fixed #813587#51196 and #61790 in MySQL (Alexey Kopytov).
  • Querying global_temporary_tables caused the server to crash in some scenarios due to insufficient locking. Fixed by introducing a new mutex to protect from race conditions. Bugs Fixed:#745241 (Alexey Kopytov).
  • As the option ignore-builtin-innodb is incompatible with Percona Server with XtraDB, the server will not start and print the corresponding error instead. Bug Fixed: #704216 (Laurynas Biveinis).
  • Querying INNODB_SYS_TABLES after an ALTER TABLE statement leaded to a server crash. Bug Fixed: #627189 (Yasufumi Kinoshita).
  • The 64-bit CAS implementation may lead to a server crash on IA32 systems. Bug Fixed: #803865 (Laurynas Biveinis).
  • Using the innodb_lazy_drop_table option led to an assertion error when truncating a table in some scenarios. Bug Fixed:#798371 (Yasufumi Kinoshita).

Other Changes

  • Improvements and fixes on platform-specific distribution:
    • The compilation of the Response Time Distribution patch has been fixed on Solaris (supported platform) and Windows (experimental). Bug Fixed: #737947 (Laurynas Biveinis)

For more information, please see the following links:

 

About Stewart Smith

Stewart Smith has a deep background in database internals including MySQL, MySQL Cluster, Drizzle, InnoDB and HailDB. he is also one of the founding core developers of the Drizzle database server. He served at Percona from 2011-2014. He is a former Percona employee.

Comments

  1. Hello, Stewart,

    if I’m not mistaken, 5.1.58 are still not available at the Apt repositories on Ubuntu (lucid and maverick at least). Looks like ‘repo.percona.com/apt lucid main’ contains a previous (5.1.57) release. Could you please to check it?

    Thanks!

  2. Andrew says:

    Stewart,

    I can confirm what Eugene said, it is not in the lucid apt repo. I had to install from .deb allow older client libs to connect (http://bugs.mysql.com/bug.php?id=61222).

    Thank you in advance.

Speak Your Mind

*