CREATE PFILE='/u01/oracle/product/920/dbs/racdb_init.ora'
FROM SPFILE='/u01/oracle/product/dbs/racdb_spfile.ora';
CREATE SPFILE='/u01/oracle/product/920/dbs/racdb_spfile.ora'
FROM PFILE='/u01/oracle/product/dbs/racdb_init.ora';
sys@ARTDOM>show parameter spfile
NAME TYPE VALUE
--------------- ----------- ------------------------------
spfile string /app/oracle/product/10.1.0/dbs/spfileARTDOM.ora
SQL>alter system set open_cursors=300;
SQL>alter system set open_cursors=300 scope=spfile;
SQL>alter system set open_cursors=300 scope=both;
SQL> Select name, issys_modifiable from v$parameter ;
sys@ARTDOM>create pfile from spfile ;
File created
# cd /app/oracle/product/10.1.0/dbs
# more initARTDOM.ora
SGA_TARGET=1166016512 # 1112M
ARTDOM.__db_cache_size=855638016
ARTDOM.__java_pool_size=16777216
ARTDOM.__large_pool_size=16777216
ARTDOM.__shared_pool_size=268435456
sys@ARTDOM>alter system set processes =10000 scope=both ;
alter system set processes =10000 scope=both
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
-- SPFILE 적용
sys@ARTDOM>alter system set processes =10000 scope=spfile ;
System altered.
-- DB 재기동
sys@ARTDOM>shutdown immediate ;
Database closed.
Database dismounted.
ORACLE instance shut down.
sys@ARTDOM>startup
idle>startup nomount
ORA-00064: object is too large to allocate on this O/S (1,23242560)
idle>exit
Disconnected
[ARTDOM]> sqlplus ' /as sysdba'
SQL*Plus: Release 10.1.0.4.0 - Production on Mon Sep 1 13:49:17 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
idle>create pfile from spfile ;
File created.
==> 이후 pfile 을 통해서 수정한다.
*.processes=10000
==> 아래 처럼 수정
*.processes=100
==> DB 기동 시도
SQL>startup pfile='/app/oracle/product/10.1.0/dbs/initARTDOM.ora';
ORACLE instance started.
Total System Global Area 1174405120 bytes
Fixed Size 1329584 bytes
Variable Size 316913232 bytes
Database Buffers 855638016 bytes
Redo Buffers 524288 bytes
Database mounted.
Database opened.
==> 정상 확인
- 강좌 URL : http://www.gurubee.net/lecture/3540
- 구루비 강좌는 개인의 학습용으로만 사용 할 수 있으며, 다른 웹 페이지에 게재할 경우에는 출처를 꼭 밝혀 주시면 고맙겠습니다.~^^
- 구루비 강좌는 서비스 제공을 위한 목적이나, 학원 홍보, 수익을 얻기 위한 용도로 사용 할 수 없습니다.