SPFILE persistent across startups [message #262287] |
Sun, 26 August 2007 00:51 |
naveenkumar001
Messages: 62 Registered: July 2007 Location: Bangalore
|
Member |
|
|
Hi,
1) Can any one please tell the main difference between PFILE and SPFILE, because
Using ALTER SYSTEM we can make changes to the parameters in PFILE but the thing is we need to manually change in the init.ora file to reflect the changes on future startups, but with SPFILE, the ALTER SYSTEM command can update the binary file as well. This allows the changes to be persistent across startups. I think this is not the main difference.
2) Why server-side initialization parameter file is considered as spfile and client-side initialization parameter file is considered as pfile?
Regards,
Naveen
|
|
|
|
|
|
|
Re: SPFILE persistent across startups [message #262295 is a reply to message #262294] |
Sun, 26 August 2007 01:19 |
Mohammad Taj
Messages: 2412 Registered: September 2006 Location: Dubai, UAE
|
Senior Member |
|
|
Main difference
spfile ===> binary file
pfile ====> ascii text file
you can't changes directly spfile
you can changes directly pfile
default instance startup parameter file is spfile.
if spfile is not found then pfile (init.ora) is used.
prior oracle 9i init.ora pfile is used.
and for any changes we need to down database server.
but in 9i through alter system ...command and new feature spfile we can edit and change any (modifiable) parameter without down oracle server.
Regards
Taj
[Updated on: Sun, 26 August 2007 01:20] Report message to a moderator
|
|
|
|
|