Home » RDBMS Server » Server Administration » When we start database which file is accessed fist.
When we start database which file is accessed fist. [message #468508] Fri, 30 July 2010 07:00 Go to next message
zahidbashir
Messages: 34
Registered: September 2009
Member
Hello,
The question should rather sound very easy. I knew the answer but got confused. Is it pfile or spfile which is accessed first when database is started. I google it but the result was more confusion as some say pfile and some spfile. I guess its spfile.
Re: When we start database which file is accessed fist. [message #468512 is a reply to message #468508] Fri, 30 July 2010 07:28 Go to previous messageGo to next message
cookiemonster
Messages: 13959
Registered: September 2008
Location: Rainy Manchester
Senior Member
Normally you wouldn't have both.
Oracle will use the spfile by default but you can explicitly tell it to use the pfile instead:
startup pfile=<file name>
Re: When we start database which file is accessed fist. [message #468530 is a reply to message #468512] Fri, 30 July 2010 10:09 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
It depends spfile or pfile depending on what you have, where you have them and which startup command you execute.

Regards
Michel
Re: When we start database which file is accessed fist. [message #468598 is a reply to message #468530] Sat, 31 July 2010 00:24 Go to previous messageGo to next message
zahidbashir
Messages: 34
Registered: September 2009
Member
Thanks Smile
Re: When we start database which file is accessed fist. [message #468612 is a reply to message #468598] Sat, 31 July 2010 02:55 Go to previous messageGo to next message
ashy
Messages: 2
Registered: July 2010
Junior Member
Actually oracle will check the file in the following manner
spfile<sid>.ora
spfile.ora
pfile<sid>.ora
pfile
Re: When we start database which file is accessed fist. [message #468616 is a reply to message #468612] Sat, 31 July 2010 03:14 Go to previous message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Which pfile can contain a reference to a spfile, the opposite is also true.

Regards
Michel
Previous Topic: How to know currently running databases in single server ?
Next Topic: Undo Management
Goto Forum:
  


Current Time: Fri Nov 29 08:33:32 CST 2024