817 to 920 Upgrade - SPFILE - init<SID>.ora
Hello,
We have performed an upgrade on the oracle database from 8174 to 9202.
After the upgrade, I have executed the following command to generate the spfile:
Create spfile from pfile;
and the above stament processed successfully and a file spfileCN2.ora generated.
After the above step I issues the startup command to start the database. The database was started, but it is using the initCN2.ora file instead of spfileCN2.ora .
show parameters spfile ==> value EMPTY
Now my question is how can I start the database just by issuing the startup command and it should pick up the spfileCN2.ora as a parameter file?
I really appreciate your response.
Thanks & regards,
Nikee
Re: 817 to 920 Upgrade - SPFILE - init<SID>.ora
Hi,
In 9i the default behaviour of startup command is
1)initspfile.ora
2)Default Spfile
3)init.ora
4)Default init.ora parameter file
Any of these files should be in $ORACLE_HOME/dbs directory in UNIX and $ORACLE_HOME/database on NT.In your case you created the spfile from the pfile.In order to use spfile i.e spfileCN2.ora make the following an entry in your pfile.Please make the entry as 1st line of init.ora parameter file.
SPFILE='/oracle/app/product/9.2.0/admin//spfile/spfile.ora'
So in this case it will first read the spfile specified and start the database.If it doesnot find then ,it will move as per the above sequence given
Regards
Rohit S Nirkhe,Oracle/Apps DBA
OCP 8i,9i
oracle-support@indiatimes.com