Database/Oracle
[Oracle] ORA-00838 오류 처리
비니미니파파
2014. 4. 14. 16:01
oralce 메모리 설정을 하다 실수를 하여 ORA-00838 을 영접하게 되었다...
구글링 결과
sqlplus / as sysdba
SQL> create pfile from spfile;
SQL> exit
위의 작업으로 INITorcl.ORA 파일을 생성한다. (SPFILEORCL.ORA 파일로 부터)
파일 위치는 오라클 설치 폴더 \app\Administrator\product\11.2.0\dbhome_1\database (11g 기준)
INITorcl.ORA 을 열고
*.memory_max_target=222298112 *.memory_target=222298112 *.sga_max_size=268435456 *.sga_target=0 부분을 수정 한다.
sqlplus / as sysdba
SQL> create spfile from pfile;
SQL> startup
수정한 INITorcl.ORA 파일로 부터 SPFILEORCL.ORA 파일을 생성한다. 그리고, startup
**** 정리 ****
create pfile from spfile; // SPFILEORCL.ORA 을 INITorcl.ORA 로
create spfile from pfile; // INITorcl.ORA 을 SPFILEORCL.ORA 로