Skip to Main Content
Oracle Data Guard 11gR2 Administration : Beginner's Guide
book

Oracle Data Guard 11gR2 Administration : Beginner's Guide

by Yunus Emre Baransel, Nassyam Basha
June 2013
Beginner content levelBeginner
404 pages
9h 40m
English
Packt Publishing
Content preview from Oracle Data Guard 11gR2 Administration : Beginner's Guide

Time for action – changing the Database Guard setting

As we mentioned before, the default Database Guard mode for a logical standby database is set to ALL. Let's try to insert data into the HR.REGIONS table, which is out of the replication scope because of the skip rule we created.

  1. Connect the logical standby database with SYS user. Check the Database Guard mode and skip rules with the following query:
    SQL> SELECT GUARD_STATUS FROM V$DATABASE;
    
    GUARD_S
    -------
    ALL
    
    SQL> SELECT OWNER, NAME,STATEMENT_OPT, PROC  FROM DBA_LOGSTDBY_SKIP  WHERE STATEMENT_OPT <> 'INTERNAL SCHEMA';
    
    OWNER    NAME         STATEMENT_OPT   PROC
    -------- ------------ --------------- ------------------
                          DIRECTORY
    HR       %            DML
                          TABLESPACE      SYS.CHANGE_TS_DDL 

    Database Guard mode is ALL and all HR tables ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Database Administration: The Essential Refe

Oracle Database Administration: The Essential Refe

David C. Kreines, Brian Laskey
Oracle Database 12c Security

Oracle Database 12c Security

Scott Gaetjen, David Knox, William Maroulis

Publisher Resources

ISBN: 9781849687904Other