Basic Oracle Concepts and Programming Question:
Download Job Interview Questions and Answers PDF
How To Create a Server Parameter File?
Answer:
This is Step 5. The initialization parameter file is good to get an Oracle database instance started. But it is not ideal run an instance as production. You need to convert the initialization parameter file into a Server Parameter File (SPFile) using the CREATE SPFILE statement. The script below shows you how do this:
SQL> CREATE SPFILE=$ORACLE_HOME/dbs/SPFILEggl.ora
2 FROM PFILE=$ORACLE_HOME/database/initggl_ini.ora;
File created.
Note that $ORACLE_HOME should be replaced by the real path name where your Oracle server is intalled.
The SPFile should be located in the expected directory and named as SPFILE($SID).ora.
SQL> CREATE SPFILE=$ORACLE_HOME/dbs/SPFILEggl.ora
2 FROM PFILE=$ORACLE_HOME/database/initggl_ini.ora;
File created.
Note that $ORACLE_HOME should be replaced by the real path name where your Oracle server is intalled.
The SPFile should be located in the expected directory and named as SPFILE($SID).ora.
Download Oracle Database Interview Questions And Answers
PDF
Previous Question | Next Question |
How To Connect the Oracle Server as SYSDBA? | How To Start an Oracle Instance? |