Oracle 5.0 Reference Manual page 1478

Table of Contents

Advertisement

Replication and Binary Logging Options and Variables
UPDATE sales.january SET amount=amount+1000;
Note
In the preceding example the statement is replicated because
replicate-ignore-db
through the
explicitly in the statement, the statement has not been filtered.
If you need cross-database updates to work, use
[1460]
instead. See
%
Beginning with MySQL 5.0.84, this option has no effect on BEGIN, COMMIT, or
statements. (Bug #43263)
--replicate-do-table=db_name.tbl_name
Command-Line Format
Option-File Format
Tells the slave SQL thread to restrict replication to the specified table. To specify more than one
table, use this option multiple times, once for each table. This works for both cross-database updates
and default database updates, in contrast to
"How Servers Evaluate Replication Filtering
This option affects only statements that apply to tables. It does not affect statements that apply only
to other database objects, such as stored routines. To filter statements operating on stored routines,
use one or more of the
--replicate-ignore-table=db_name.tbl_name
Command-Line Format
Option-File Format
Tells the slave SQL thread not to replicate any statement that updates the specified table, even if any
other tables might be updated by the same statement. To specify more than one table to ignore, use
this option multiple times, once for each table. This works for cross-database updates, in contrast
to
--replicate-ignore-db
Filtering
Rules".
This option affects only statements that apply to tables. It does not affect statements that apply only
to other database objects, such as stored routines. To filter statements operating on stored routines,
use one or more of the
--replicate-rewrite-db=from_name->to_name
Command-Line Format
Option-File Format
statement). Because the
USE
Section 16.2.3, "How Servers Evaluate Replication Filtering
--replicate-do-table=name
replicate-do-table
Permitted Values
Type
string
Rules".
--replicate-*-db
--replicate-ignore-table=name
replicate-ignore-table
Permitted Values
Type
string
[1457]. See
Section 16.2.3, "How Servers Evaluate Replication
--replicate-*-db
--replicate-rewrite-db=old_name->new_name
replicate-rewrite-db
Permitted Values
Type
string
1458
[1457]
only applies to the default database (set
sales
--replicate-wild-ignore-table=db_name.
[1458]
--replicate-do-db
options.
[1458]
options.
[1458]
--
database was specified
Rules".
ROLLBACK
[1457]. See
Section 16.2.3,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents