|
|
|
|
|
|
Re: How can we open the database when we do not have pfile, spfile, control file and backup. [message #448363 is a reply to message #448324] |
Tue, 23 March 2010 00:37 |
hkchital
Messages: 128 Registered: September 2008 Location: Singapore
|
Senior Member |
|
|
If you are using an SPFILE, it should be part of your RMAN Backups of the Database.
You can recreate your PFILE from the initdummy.ora and modifying it for non-default parameters listed in the alert.log
You can restore the controlfile from RMAN Backups.
You can recreate the controlfile from backup traces OR from a listing of datafiles.
If you haven't been doing RMAN Backups but only OS backups, those should have included the files -- at least an OS backup of the ORACLE_HOME filesystem weekly or monthly would do so !
Hemant K Chitale
|
|
|
|
|
|
Re: How can we open the database when we do not have pfile, spfile, control file and backup. [message #448382 is a reply to message #448324] |
Tue, 23 March 2010 02:00 |
Yasir Hashmi
Messages: 304 Registered: April 2006
|
Senior Member |
|
|
I did a test on my test box.
I deleted all the controlfiles. Next i shutdown abort the database.
Upon startup nomount,icreated the controlfile as :
CREATE CONTROLFILE REUSE DATABASE "TEST" NORESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 '/u/oracle/oradata/test/redo01.log' SIZE 50M,
GROUP 2 '/u/oracle/oradata/test/redo02.log' SIZE 50M,
GROUP 3 '/u/oracle/oradata/test/redo03.log' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'/u/oracle/oradata/test/system01.dbf',
'/u/oracle/oradata/test/undotbs01.dbf',
'/u/oracle/oradata/test/sysaux01.dbf',
'/u/oracle/oradata/test/users01.dbf',
'/u/oracle/oradata/test/example01.dbf',
'/u/oracle/oradata/test/treasury.dbf'
CHARACTER SET WE8ISO8859P1
;
It didn't ask for any media recovery. It must have done instance recovery only.
|
|
|
|
|
|
|
|
|