11.07.2015 Views

MySQL 5.7 Release Notes - Download - MySQL

MySQL 5.7 Release Notes - Download - MySQL

MySQL 5.7 Release Notes - Download - MySQL

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>MySQL</strong> <strong>5.7</strong> <strong>Release</strong> <strong>Notes</strong>can avoid this in such cases by making sure that Slave_open_temp_tables is equal to 0 prior toexecuting these statements.For more information, see CHANGE MASTER TO Syntax, and Switching Masters During Failover.• Performance Schema performance was improved in the following ways:• When a thread connects, reset of all per-thread statistics is now delayed until a statistic is actuallycollected. This lazy initialization benefits workloads with very short-lived sessions, for whichinstrumentation is disabled.• When a thread disconnects, the per-thread statistics are aggregated to a parent only for statisticsthat actually collected data. This optimization benefits workloads with very short-lived sessions, forwhich instrumentation is disabled.• For statement instrumentation, reset of an individual EVENT_NAME statistic is also now delayeduntil a statistic is actually collected. This benefits all workloads that contain only a few types ofstatements (SELECT, INSERT, UPDATE, DELETE, and so forth) from the very large set statementssupported in <strong>MySQL</strong>. Only statements for event names actually executed are aggregated ondisconnect.• The memory footprint of internal memory buffers is reduced, by removing some attributesreserved for future use, that were in fact not used. In particular, statistics for mutexes, rwlocks andconditions now need less memory.(Bug #18324285)• On Windows, NOMINMAX is set using the ADD_DEFINITIONS() CMake macro rather than inconfig.h.cmake so that it is set even without including my_config.h. (Bug #18192896)• On Solaris, mysql_config --libs now includes -R/path/to/library so that libraries can befound at runtime. (Bug #18235669)• CMake support for compiling <strong>MySQL</strong> with gcc on Solaris was improved. Binary distributions forSolaris now are built using gcc rather than Sun Studio, to enable compilation of code not handledby Sun Studio. The client programs and the client libraries except the embedded library are still builtusing Sun Studio.A consequence of this change is that on Solaris, mysql_config no longer provides argumentsfor linking with the embedded library, since this is now built using gcc instead of Sun Studio. Toget linking arguments for the embedded library, use the alternative script mysql_server_configinstead. (Bug #18146422, Bug #17826757)• The CHECK_FUNCTION_REPLACEMENT() CMake macro was removed from Windows.cmake andreplacement functions are set explicitly instead since the result of the check was already hard codedin WindowsCache.cmake. (Bug #18116661)• <strong>MySQL</strong> now compiles using Clang 3.4. (Bug #18047020)• In <strong>MySQL</strong> <strong>5.7</strong>.1, the <strong>MySQL</strong> test suite mysql-test-run.sh program was modified to start theserver with InnoDB rather than MyISAM as the default storage engine. All tests in the <strong>MySQL</strong>test suite were modified to include a force_default_myisam.inc file. This had to be donebecause most legacy test results were recorded with the MyISAM engine and failed with aresult difference if run with InnoDB. A project is underway to migrate these tests and removeforce_default_myisam.inc for tests that do not need MyISAM. In <strong>5.7</strong>.4, the rpl and binlogsuites and parts of the main suite were migrated. (Bug #17902011)• Performance Schema instrumentation was added to capture GTIDs for transaction events. (Bug#17799147)• Performance Schema overhead was reduced for the pfs_lock implementation and the uses ofatomic operations in general. (Bug #17766582)19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!