Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What To Do If the Binary SPFile Is Wrong for the Default Instance
What To Do If the Binary SPFile Is Wrong for the Default Instance? - Oracle DBA FAQ - Introduction to Oracle Database 10g Express Edition
✍: FYIcenter.com
Let's say the SPFile for the default instance is a binary file, and some settings are wrong in the SPFile, like SGA setting is bellow 20MB, how do you change a setting in the binary file? This seems to be a hard task, because the binary SPFile is not allowed to be edited manually. It needs to be updated by the server with instance started. But you can not start the instance because the SPFile has a wrong setting.
One way to solve the problem is to stop using the binary SPFile, and use a text version of the a parameter file to start the instance. Here is an example of how to use the backup copy (text version) of the parameter file for the default instance to start the instance:
>.\bin\sqlplus Enter user-name: SYSTEM/fyicenter AS SYSDBA Connected to an idle instance SQL> startup PFILE=$ORACLE_HOME\config\scripts\initXETemp.ora; ORACLE instance started. Total System Global Area 146800640 bytes Fixed Size 1286220 bytes Variable Size 58724276 bytes Database Buffers 83886080 bytes Redo Buffers 2904064 bytes Database mounted. Database opened.
As you can see, 10g XE is distributed with a backup copy of the parameter file for the default instance XE. The "startup" can take an option called PFILE to let you use a SPFILE from any location. The default instance is running correctly now.
2007-04-25, 4761👍, 0💬
Popular Posts:
Why does malloc(0) return valid memory address? What's the use? malloc(0) does not return a non-NULL...
What is the difference between RegisterClientScriptBloc kand RegisterStartupScript? RegisterClientSc...
What will be printed as the result of the operation below: main() { char *p1; char *p2; p1=(char *)m...
What are some advantages and disadvantages of Java Sockets? Advantages of Java Sockets: Sockets are ...
Can two catch blocks be executed? No, once the proper catch section is executed the control goes fin...