Professional Documents
Culture Documents
Pfile and Spfile
Pfile and Spfile
Pfile and Spfile
pfile is the parameter file .It is the text file that contains oracle instance parameters and it can be
changed by text editor such as vi or notepad++.
Spfile is the Server parameter file.It is the binary file and only can be change by using alter system
command.This feature introduced in 9i.When instance start up,it search for spfile by default,if no
spfile is found then it will use pfile.
Note:By default oracle will use spfile when instance starts,but you want to use the pfile instead of
spfile then you must specify like below.
File created.
SCOPE = SPFILE // The change is applied in the server parameter file only and
No change is made to the current instance and change take place after instance got restarted.
SCOPE = MEMORY // The change is applied in memory only. Changes will gone when we restarted
the instance.
SCOPE = BOTH // The change is applied in both the server parameter file and memory . (current
and next startup)
example:
----------
NAME ISSYS_MOD
------------------------------------------------------------ ---------
sga_max_size FALSE
NAME ISSYS_MOD
------------------------------------------------------------ ---------
sga_target IMMEDIATE
System altered.
System altered.