Difference Between PFILE and SPFILE in Oracle
Difference Between PFILE and SPFILE in Oracle
A SPFILE doesnot need a local copy of the pfile to start oracle from a remote
machine. Thus eliminates configuration problems.
SPFILE is a binary file and modications to that can only be done through ALTER
SYSTEM SET command.
Changes to the parameters in SPFILE will take immediate effect without restart
of the instance i.e Dynamic change of parameters is possible
PFILE
Static, client side text file
Local copy of pfile required to start database
from a remote machine
SPFILE
Persistent server side binary file
local copy is not required
5
6
Goto SQL prompt and execute the following command to figure out if database is started
with a PFILE or SPFILE.
SQL > SELECT DECODE(value, NULL, PFILE, SPFILE) Init File FROM
sys.v_$parameter WHERE name = spfile;