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: Help needed with physical standby database

RE: Help needed with physical standby database

From: <Mayen.Shah_at_lazard.com>
Date: Thu, 3 May 2007 15:59:29 -0400
Message-ID: <OFAEFDA37A.23CCF184-ON852572D0.006CD81C-852572D0.006DD10B@lazard.com>

Thank you Richard,

Actually I had tried that but was not able to rename file in standby database because standby_file_management was set to auto. After mounting standby database I changed standby_file_management to manual and was able to rename file and recover standby database.

Thanks
Mayen

                                                                                
                                                                                
                                                                                
    "Richard J.                                                              To 
    Goulet"                   Mayen Shah/ITS/Lazard_at_Lazard NYC,                 
    <rgoulet_at_kanbay.c         oracle-l_at_freelists.org,                           
    om>                       oracle-l-bounce_at_freelists.org                     
                                                                             cc 
    May 03 2007 03:24                                                           
    PM                                                                  Subject 
                              RE: Help needed with physical standby database    
                                                                                
                                                                                



I'd copy that last file from the primary system onto the standby and then restart the recovery. You might also have to run a datafile rename too.

........................................................................
.............................................................
Kanbay
Dick Goulet, Senior Oracle DBA
45 Bartlett ST | Marlborough, MA 01752 USA Tel: 508.573.1978 | Fax: 508.229.2019 | Cell: 508.742.5795
rgoulet_at_kanbay.com
........................................................................
.............................................................



-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mayen.Shah_at_lazard.com
Sent: Thursday, May 03, 2007 2:16 PM
To: oracle-l_at_freelists.org; oracle-l-bounce_at_freelists.org Subject: Help needed with physical standby database

Environment : Oracle 9i (9.2.0.7)
OS :Solaris 8

Setup :Primary database and physical standby database.

I tried to add tablespace in primary database with three datafiles. Command succeeded on primary site. Unfortunately, filesystem ran out of space on standby site after creating two files.. Received following error in alert.log on standby site.

Recovery created file /oracle_tspaces/oradata/jrnl_ln_data01.dbf WARNING: File being created with same name as in Primary Existing file may be overwritten Thu May 3 12:30:07 2007 Recovery created file
/oracle_tspaces/oradata/jrnl_ln_data02.dbf
WARNING: File being created with same name as in Primary Existing file may be overwritten Thu May 3 12:31:05 2007 File #192 added to control file as 'UNNAMED00192'. Originally created as: '/oracle_tspaces/oradata/jrnl_ln_data03.dbf' Recovery was unable to create the file as: '/oracle_tspaces/oradata/jrnl_ln_data03.dbf' MRP0: Background Media Recovery terminated with error 1274 Thu May 3 12:31:07 2007 Errors in file
/opt/oracle/admin/bdump/proddb_mrp0_15828.trc:
ORA-01274: cannot add datafile
'/oracle_tspaces/oradata/jrnl_ln_data03.dbf' - file could not be created ORA-19502: write error on file
"/oracle_tspaces/oradata/jrnl_ln_data03.dbf", blockno 213889 (blocksize=8192)
ORA-27063: skgfospo: number of bytes read/written is incorrect SVR4 Error: 28: No space left on device
Additional information: -1
Additional information: 1048576
ORA-19502: write error on file
"/oracle_tspaces/oradata/jrnl_ln_data03.dbf", blockno 213761 (blocksize=8192)
ORA-27063: skgfospo: number of bytes read/written is incorrect Additional information: 748544 Additional information: 1048576 Some recovered datafiles maybe left media fuzzy Media recovery may continue but open resetlogs may fail
MRP0: Background Media Recovery process shutdown Thu May 3 12:51:53 2007 ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION After adding additional space to filesystem on standby site, I tried to start recovery and got following in alert.log at standby site:

Attempt to start background Managed Standby Recovery process MRP0 started with pid=16
MRP0: Background Managed Standby Recovery process started MRP0: Background Media Recovery terminated with error 1111 Thu May 3 12:51:59 2007 Errors in file
/opt/oracle/admin/bdump/proddb_mrp0_21606.trc:

ORA-01111: name for data file 192 is unknown - rename to correct file
ORA-01110: data file 192: '/opt/oracle/product/dbs/UNNAMED00192'
ORA-01157: cannot identify/lock data file 192 - see DBWR trace file
ORA-01111: name for data file 192 is unknown - rename to correct file
ORA-01110: data file 192: '/opt/oracle/product/dbs/UNNAMED00192'
MRP0: Background Media Recovery process shutdown Thu May 3 12:52:00 2007
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE D

I tried to refresh standby controlfile but did not help.

Any help in this matter is greatly appreciated.

Thank you.
Mayen

--
http://www.freelists.org/webpage/oracle-l





--
http://www.freelists.org/webpage/oracle-l
Received on Thu May 03 2007 - 14:59:29 CDT

Original text of this message

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