Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following SQL is run by Dbvisit Replicate to turn on supplemental logging:

 

Section
Column
width1%

 

Column
width99%
Panel
bgColorCCC
SQL> alter database add supplemental log data; 

If

...

DDL

...

is

...

enabled,

...

then

...

the

...

following

...

is

...

run

...

Section
Column
width1%

 

Column
width99%
Panel
bgColorCCC
SQL> alter database add supplemental log data (primary key) columns;
 

For

...

each

...

table

...

to

...

be

...

replicated

...

the

...

following

...

SQL

...

is

...

run

Section
Column
width1%

 

Column
width99%
Panel
bgColorCCC
SQL> alter table '||owner||'.'||table_name||' add supplemental log data (primary key) columns; 

To

...

check

...

and

...

monitor

...

what

...

supplemental

...

logging

...

has

...

been

...

turned

...

on,

...

the

...

following

...

query

...

can

...

be

...

run

...

Section
Column
width1%

 

Column
width99%
Panel
bgColorCCC
SQL> SELECT supplemental_log_data_min MIN, supplemental_log_data_pk PK, supplemental_log_data_ui UI, supplemental_log_data_fk FK,supplemental_log_data_all "ALL" FROM 
v$databasel
v$database;