Skip Grant Sysdba Commands in the Logical Standby (Doc ID 834134.1)

Last updated on MARCH 22, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.1.0.7 [Release 10.2 to 11.1]
Information in this document applies to any platform.

Goal

Each time GRANT SYSDBA is issued on the Primary, the command causes Logical Standby
Apply Process to fail. You can not skip DDL Commands using the DBMS_LOGSTDBY.SKIP Procedure.

 


On the Primary Database:

SQL> grant sysdba to xxxx;

 

 

Error on Logical Standby:

ORA-01031 Error with SQL Apply of Logical Standby:

Thu Jul 31 16:47:46 2008
LOGSTDBY stmt: grant sysdba to scott
LOGSTDBY status: ORA-01031: insufficient privileges
LOGSTDBY id: XID 0x000a.022.000002bb, hSCN 0x0000.0025d31d, lSCN 0x0000.0025d31d, Thread 1, RBA
0x00c4.00007a40.10, txnCscn 0x0000.0025d320, PID 9491, oracle@aulnx9.au.oracle.com (P004)








Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms