Oracle 5.0 Reference Manual page 1151

Table of Contents

Advertisement

Option
MASTER_LOG_FILE
RELAY_LOG_FILE
MASTER_SSL_CA
MASTER_SSL_CAPATH
MASTER_SSL_CERT
MASTER_SSL_KEY
MASTER_SSL_CIPHER
13.4.2.5.
RESET SLAVE
RESET SLAVE
RESET SLAVE
is meant to be used for a clean start: It deletes the
relay log files, and starts a new relay log file. To use
be stopped (use
Connection information stored in the
in the corresponding startup options. This information includes values such as master host, master
port, master user, and master password. Options for which values are not specified are cleared. If the
slave SQL thread was in the middle of replicating temporary tables when it was stopped, and
is issued, these replicated temporary tables are deleted on the slave.
SLAVE
13.4.2.6.
SET GLOBAL sql_slave_skip_counter
SET GLOBAL sql_slave_skip_counter =
This statement skips the next
stops caused by a statement.
This statement is valid only when the slave threads are not running. Otherwise, it produces an error.
When using this statement, it is important to understand that the binary log is actually organized as a
sequence of groups known as event groups. Each event group consists of a sequence of events.
• For transactional tables, an event group corresponds to a transaction.
• For nontransactional tables, an event group corresponds to a single SQL statement.
When you use
middle of a group, the slave continues to skip events until it reaches the end of the group. Execution
then starts with the next event group.
13.4.2.7.
START SLAVE
START SLAVE [thread_types]
SQL Statements for Controlling Slave Servers
Syntax
makes the slave forget its replication position in the master's binary log. This statement
if necessary).
STOP SLAVE
Note
All relay log files are deleted, even if they have not been completely executed
by the slave SQL thread. (This is a condition likely to exist on a replication slave
if you have issued a
master.info
events from the master. This is useful for recovering from replication
N
Note
A single transaction can contain changes to both transactional and
nontransactional tables.
SET GLOBAL sql_slave_skip_counter
Syntax
Maximum Length
255
255
255
255
255
255
511
master.info
SLAVE, the slave replication threads must
RESET
statement or if the slave is highly loaded.)
STOP SLAVE
file is immediately reset using any values specified
Syntax
N
to skip events and the result is in the
1131
and
relay-log.info
files, all the
RESET

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents