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>--replicate-wild-do-table, --replicate-wild-ignore-table, and --replicaterewrite-db.For example, issuing the statement CHANGE REPLICATION FILTER REPLICATE_DO_TABLE =(d1.t2) is equivalent to starting the slave mysqld with --replicate-do-table='d1.t2'.CHANGE REPLICATION FILTER differs from the server options in that, to take effect, the statementrequires only that the slave SQL thread be stopped beforehand and restarted afterwards, using STOPSLAVE SQL_THREAD and START SLAVE SQL_THREAD, respectively.This statement leaves any existing replication filtering rules unchanged; to unset all filters of a giventype, set the filter to an empty list, as shown in this example:CHANGE REPLICATION FILTER REPLICATE_DO_DB = ();You can list multiple replication filtering rules in the same statement, separated by commas. Whenmultiple instances of the same rule are found, only the last instance is used.For more information, see CHANGE REPLICATION FILTER Syntax; see also How Servers EvaluateReplication Filtering Rules. (Bug #15877941, Bug #11752237, Bug #67362, Bug #43366)• Replication: Previously, with semisynchronous replication enabled, the master waited fora single slave acknowledgment per transaction before proceeding. A new system variable,rpl_semi_sync_master_wait_for_slave_count, enables the number of slaveacknowledgments required per transaction to be configured. The minimum (and default) value is 1.The maximum is 65,536. Performance is best for small values of this variable.• Overhead for Performance Schema instrumentation associated with thread creation was reduced.(Bug #17539520)• The Performance Schema now instruments the read/write lock Delegate::lock, which is used forthe following classes:Trans_delegateBinlog_storage_delegateBinlog_transmit_delegateBinlog_relay_IO_delegateA different instrument name is used for each subclass, to have distinct statistics for distinct uses. Theinstruments are visible in the schema.setup_instruments table and have these names:wait/synch/rwlock/sql/Trans_delegate::lockwait/synch/rwlock/sql/Binlog_storage_delegate::lockwait/synch/rwlock/sql/Binlog_transmit_delegate::lockwait/synch/rwlock/sql/Binlog_relay_IO_delegate::lock(Bug #17590161, Bug #70577)• Some dependencies between client-side plugin header files were removed:• The MYSQL_PLUGIN_EXPORT macro required by plugin declarations is now declared directly inmysql/client_plugin.h instead of getting the definition from mysql/plugin.h. That macrowas the only thing required by client-side plugins and declared in server-side header mysql/plugin.h, so including mysql/client_plugin.h in an application no longer requires theapplication to also include mysql/plugin.h.• mysql/plugin_trace.h no longer uses C_MODE_START or C_MODE_END. Consequently,including mysql/plugin_trace.h in an application no longer requires the application to alsoinclude my_global.h.43

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

Saved successfully!

Ooh no, something went wrong!