Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check whether Oracle instance is started using pfile or spfile?

IS there a view where i can check whether an instance had been started using a pfile or an spfile?

like image 418
Jay Avatar asked Aug 20 '12 02:08

Jay


1 Answers

This shows database was started by spfile

SQL> show parameter spfile;

NAME    TYPE    VALUE
----    ----   ----------------------------------------------------------
spfile  string /root/apps/oracle/10g/dbs/spfile<DB_NAME>.ora

No values returned means that its started by pfile.

like image 97
AnBisw Avatar answered Oct 06 '22 23:10

AnBisw