The Official Way To Know If Spfile Or Init.ora Was Used To Start

The official way is as easy as look at the paremeters, in this case the instance started from a spfile;

 

 
SQL> show parameter ifile

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
ifile                                file
SQL> show parameter spfile

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
spfile                               string      C:\TEMPHOME\112\DBHOME_1\DATAB
                                                 ASE\SPFILETEMPHOME.ORA
SQL>

Remember, the instance follow the next order for startup, if spfile exist will be used as first option, if spfile not exist but init.ora exist then init.ora will be the choiced.

HTH – Antonio NAVARRO

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s