Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: standby database problem ???

RE: standby database problem ???

From: Reardon, Bruce (CALBBAY) <Bruce.Reardon_at_comalco.riotinto.com.au>
Date: Tue, 09 Apr 2002 20:03:29 -0800
Message-ID: <F001.004403B5.20020409200329@fatcity.com>


Janet,

I have found that on NT a shutdown immediate can still lead to recovery being required when the database is started back up. That is, maybe you didn't really have a consistent cold backup of your primary. I have instead opted for a shutdown immediate, startup, shutdown normal sequence to ensure the database is consistent.

Have a look at the alert log of your primary and see if when you started it back up after the "cold" backup it contained a line like "alter database open
Beginning crash recovery of 1 threads"

That is, did a crash recovery follow the database being opened.

HTH,
Bruce Reardon

-----Original Message-----
Sent: Wednesday, 10 April 2002 12:58

Hi,

I created a primary and a standby database. Both are 9i on Win2000, the same host. Everything was fine, except the last step:

SQL> RECOVER MANAGED STANDBY DATABASE TIMEOUT 20; ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1:
'C:\ORA_9I\ORADATA\SB1\DATAFILE\SYSTEM01.DBF' ORA-16016: archived log for thread 1 sequence# 7 unavailable

I backed up the primary database when the archive was not on. I shutdown the db using shutdown immediate, and made a complete, cold back, I changed the primary database to archive log right after backup. Why the backup is not sufficient? Must the db in archivelog mode before making a backup?

Thank you!
Janet
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Reardon, Bruce (CALBBAY)
  INET: Bruce.Reardon_at_comalco.riotinto.com.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Apr 09 2002 - 23:03:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US