89488

89488



Replication Relay and Status Logs

During replication, a slave server creates several logs that hołd the binary log events relayed f rom the

master to the slave, and to record information about the current status and location within the relay log.

There are three types of logs used in the process, listed here:

•    The relay log consists of the events read from the binary log of the master and written by the slave 1/

O thread. Events in the relay log are executed on the slave as part of the SQL thread.

•    The master info log contains status and current configuration information for the slave's connection

to the master. This log holds information on the master host name, login credentials, and coordinates

indicating howfar the slave has read from the master's binary log.

Prior to MySQL 5.6, this log was always a file (master. info), but in MySQL 5.6 and later, this log

can be written to the mysąl. slave_master_info table instead of a file, by starting the slave with

—master-info-repository=TABLE [2037].

•    The relay log info log holds status information about the execution point within the slave's relay log.

Prior to MySQL 5.6, this log was always a file (relay-log. info), but in MySQL 5.6 and later, this

log can be written to the mysąl. slave_relay_log_info table instead of a file by starting the

slavewith —relay-log-info-repository=TABLE [2038].

Prior to MySQL 5.6.7, the Master_id column of the slave_master_info and slave_relay_log_info tables showed the slave’s server ID instead of the master’s server ID. (Bug #12334346)

In order for replication to be crash-safe when using tables for logging status and relay information, the

tables must use a transactional storage engine, such as innoDB. Beginning with MySQL 5.6.6, these

tables are created using InnoDB. (Bug #13538891)



Wyszukiwarka

Podobne podstrony:
The Slave Relay Log The relay log, like the binary log, consists of a set of numbered files containi
Obtaining the Replication Master Binary Log Coordinates To configure replication on the slave you mu
33.    C.64103 THE COMPOSITION matters : Capital inflows and liąuidity crunch during
6 years and the most recent 6 years, over $40 per barrel in 2009 dollars, and much lower during the
UHAM031 H UNDERSTANDING HEADACHES AND M I G RAI N ES during pregnancy, especially if it is associate
Binary log execution errors and slave_exec_mode. If slave_exec_mode [2028] is IDEMPOTENT, a failure
novconfigure §BJ Configure Toolbar and Status Bar T oolbar - Main Features T oolbar - View Features
Using Answer File and UDF Values During Setup During Setup, keys and values are substituted between
marionetki Goldmana Mastersof theeurozone Peter Su t>*rkmd For mer Altorney General of ke!and. pr
image002 Plus four morę stories, by Ron Goulart, R. A. Lafferty, Pamela Sargent and Howard Waldrop,
00365 m2e8679c0886ed1125ed5bcd4590b4c 369 Regret Indices and Capability Quantification a power of 2
00473 d0c0d42d5f49cfa69c2e04c787ef91 479An Algorithm and a Graphical Approach for Short Run Proces
img041 4 296 EMPLOYERS UABILITY equipment in proper condition, and the morę complex and dangerous t
Picture6 0, .Head Design Based Moutri ___to drawing a robotic mouth: One is to ^ tv imes that conne

więcej podobnych podstron