Oracle 5.0 Reference Manual page 1502

Table of Contents

Advertisement

How Servers Evaluate Replication Filtering Rules
2. Are there any
--replicate-ignore-db
• Yes.
Do any of them match the database?
• Yes.
Ignore the statement and exit.
• No.
Continue to step 3.
• No.
Continue to step 3.
3. Proceed to checking the table-level replication options, if there are any. For a description of how
these options are checked, see
For binary logging, the steps involved are listed here:
1. Are there any
--binlog-do-db
• Yes.
Continue to step 2.
• No.
Log the statement and exit.
2. Is there a default database (has any database been selected by USE)?
• Yes.
Continue to step 3.
• No.
Ignore the statement and exit.
3. There is a default database. Are there any
• Yes.
Do any of them match the database?
• Yes.
Log the statement and exit.
• No.
Ignore the statement and exit.
• No.
Continue to step 4.
4. Do any of the
--binlog-ignore-db
• Yes.
Ignore the statement and exit.
• No.
Log the statement and exit.
Important
An exception is made in the rules just given for the
ALTER
database being created, altered, or dropped replaces the default database
when determining whether to log or to ignore updates.
[1469]
--binlog-do-db
running with only
--binlog-do-db=sales
which the default database differs from sales.
Relay log files have the same format as binary log files and can be read using mysqlbinlog.
Section 16.2.3.2, "Evaluation of Table-Level Replication
Important
A statement that is still permitted at this stage is not yet actually executed.
The statement is not executed until all table-level options (if any) have also
been checked, and the outcome of that process permits execution of the
statement.
[1469]
or
[1470]
DATABASE, and
DROP DATABASE
can sometimes mean "ignore other databases". For example, a server
1482
[1457]
options?
--binlog-ignore-db
[1469]
--binlog-do-db
options match the database?
statements. In those cases, the
[1469]
does not write to the binary log statements for
Options".
[1470]
options?
options?
CREATE
DATABASE,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents