using DBMS_LOGSTDBY [message #459483] |
Sat, 05 June 2010 23:42 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
TrongC500
Messages: 3 Registered: May 2010
|
Junior Member |
|
|
I used to skip DBMS_LOGSTDBY.skip logical standby apply DDL in the database but the following error. can you help me fix error
SQL> ALTER DATABASE STOP LOGICAL STANDBY APPLY;
ALTER DATABASE STOP LOGICAL STANDBY APPLY
*
ERROR at line 1:
ORA-01109: database not open
SQL> EXECUTE DBMS_LOGSTDBY.SKIP('SCHEMA_DDL', 'ADMIN', '*', NULL);
BEGIN DBMS_LOGSTDBY.SKIP('SCHEMA_DDL', 'ADMIN', '*', NULL); END;
*
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_LOGSTDBY.SKIP' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
SQL>
[Updated on: Sat, 05 June 2010 23:48] Report message to a moderator
|
|
|
|
Re: using DBMS_LOGSTDBY [message #459563 is a reply to message #459492] |
Mon, 07 June 2010 01:47 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
TrongC500
Messages: 3 Registered: May 2010
|
Junior Member |
|
|
John Watson wrote on Sun, 06 June 2010 03:01DBMS_LOGSTDBY is implemented as stored PL/SQL, therefore your database must be open before you can use it.
can you teil me step by step by setp bugs fix error
|
|
|
|
|
Re: using DBMS_LOGSTDBY [message #460037 is a reply to message #459567] |
Wed, 09 June 2010 07:10 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
TrongC500
Messages: 3 Registered: May 2010
|
Junior Member |
|
|
tail pv_mrp0_9403.trc
*** SESSION ID:(12.1) 2010-06-09 12:41:43.805
Background Managed Standby Recovery process started
*** 2010-06-09 12:41:48.816
Managed Recovery: Active posted.
Background Media Recovery user canceled with status 16037
*** 2010-06-09 12:44:48.853
Managed Recovery: Not Active posted.
Background Media Recovery process shutdown
*** 2010-06-09 12:44:48.853
tail alert_PV.log
Datafile 6: '/u02/oradata/PV/indx01'
Starting datafile 7 recovery in thread 1 sequence 58
Datafile 7: '/u02/oradata/PV/tools01'
Starting datafile 8 recovery in thread 1 sequence 58
Datafile 8: '/u02/oradata/PV/user01'
Starting datafile 9 recovery in thread 1 sequence 58
Datafile 9: '/u02/oradata/PV/data01'
Media Recovery Waiting for thread 1 seq# 58
Wed Jun 9 14:35:23 2010
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DI
[Updated on: Wed, 09 June 2010 07:12] Report message to a moderator
|
|
|
|