89498

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 invo
Replication and Master or Slave Shutdowns It is safe to shut down a master server and restart it lat
Replication and Temporary Tables The discussion in the following paragraphs does notapply
Updates involving nontransactional storage engines. When using GTlDs, updates to tables using nontra
Backward Compatibility Considerations of backward compatibility only apply when using a recent versi
Keycache Probes The keycache probes are triggered when using the index key cache used with the MylSA
SQL Syntax for Online DDL Typically, you do not need to do anything special to enable online DDL whe
Federated Storage Engine Notes and Tips You should be aware of the foliowing points when using the F
Handling 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 str
memory Tables and Replication A server s MEMORY tables become empty when it is shut down and restart
Multiple management nodes. When using multiple management servers: •    You must give
Replication with Differing Table Definitions on Master and Slave Source and target tables for replic
Statement-based replication. When using statement-based replication, a simple rule of thumb to follo
Transactions and the count () function. When using MySQL Cluster Replication, it is not possible to
Using GTlDs for Failover and Scaleout There are a number of techniques when using MySQL Replication

więcej podobnych podstron