89498
Safe slave shutdown when using temporary tables. Temporary tables are replicated except
in the case where you stop the slave server (not just the slave threads) and you have replicated
temporary tables that are open for use in updates that have not yet been executed on the slave. If you
stop the slave server, the temporary tables needed by those updates are no longer available when
the slave is restarted. To avoid this problem, do not shut down the slave while it has temporary tables
open. Instead, use thefollowing procedurę:
1. Issue a stop slave SQL_THREAD statement.
2. Use SHOW STATUS to check the value of the Slave_open_temp_tables [613] variable.
3. If the value is not 0, restart the slave SQL thread with START SLAVE SQL_THREAD and repeat the
procedurę later.
4. When the value is 0, issue a mysqladmin shutdown command to stop the slave.
Wyszukiwarka
Podobne podstrony:
When and how to make aclaim In the case of hospital and physician services, most providers will invoReplication and Master or Slave Shutdowns It is safe to shut down a master server and restart it latReplication and Temporary Tables The discussion in the following paragraphs does notapplyUpdates involving nontransactional storage engines. When using GTlDs, updates to tables using nontraBackward Compatibility Considerations of backward compatibility only apply when using a recent versiKeycache Probes The keycache probes are triggered when using the index key cache used with the MylSASQL Syntax for Online DDL Typically, you do not need to do anything special to enable online DDL wheFederated Storage Engine Notes and Tips You should be aware of the foliowing points when using the FHandling MySQL Recovery with ZFS When using ZFS replication to provide a constant copy of your data,memcached Deployment When using memcached you can use a number of different potential deployment strmemory Tables and Replication A server s MEMORY tables become empty when it is shut down and restartMultiple management nodes. When using multiple management servers: • You must giveReplication with Differing Table Definitions on Master and Slave Source and target tables for replicStatement-based replication. When using statement-based replication, a simple rule of thumb to folloTransactions and the count () function. When using MySQL Cluster Replication, it is not possible toUsing GTlDs for Failover and Scaleout There are a number of techniques when using MySQL Replicationwięcej podobnych podstron