Can someone give me some expanation about the pfile and the ifile. What's the difference. Which one are the right pfile and ifile?
Can i move these files while the database is running.
They both point to the destination of your initSID.ora on startup. The difference is, ifile can be define as a parameter in your initSID.ora to point to the real destination of your initSID.ora while the pfile is used to explicitly use a specific initSID.ora on startup.
For eample:
If you do not specify the pfile= with your startup command, the default init file used will be $ORACLE_HOME/dbs/initSID.ora where SID is the current value of ORACLE_SID. But if you have several instances in your server and you place special admin dirs for those instances you can put an ifile entry in your $ORACLE_HOME/dbs/initSID.ora file pointing to the actual location of you initSID.ora file.
ifile=$ORACLE_HOME/admin/SID/pfile/initSID.ora
Yes, you can move these files or even edit it while the DB is running.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.