database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
ㆍOracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Oracle Tutorials 9259 게시물 읽기
 News | Q&A | Columns | Tutorials | Devel | Files | Links
No. 9259
9i spfile 생성 및 수정 예제
작성자
정재익(advance)
작성일
2002-01-05 15:46
조회수
5,987

9i spfile 생성 및 수정 예제

 

PURPOSE

This document explains how to modify the content of a new SPFILE parameter file, since it cannot be manually modified.

 

 

SCOPE & APPLICATION

For all DBAs that need to modify the content of the SPFILE parameter file.

 

 

How to Modify the Content of an SPFILE Parameter File:

======================================================

 

Do one of the following:

A. Use the ALTER SYSTEM command, provided that the instance, at startup, 
      used either 
          => the SPFILE directly 
          => or an init.ora including the SPFILE=spfileSID.ora parameter 

      SQL> alter system set undo_management=auto scope=spfile; 
      System altered. 

-- OR -- 

B. Use the export method. 

      1. Therefore you need to first export the SPFILE content to a PFILE which 
            will necessarily be an ASCII text file: 

            SQL> create pfile='initDB1test.ora' from spfile; 
            File created. 

            Name the SPFILE used: 
                * If the instance directly used an spfile, the spfile is named 
                    spfileSID.ora 
                * If the instance used an spfile through an init.ora, its name is 
                    defined in the init.ora in SPFILE=spfileSID.ora. 

                    In this case, you would use the following SQL command: 

                    SQL> create pfile='initDB1test.ora' from spfile='spfileDB1.ora'; 
                    File created. 
   
      2. You modify the PFILE 'initDB1test.ora' parameter values: 

            You want to change the UNDO_MANAGEMENT value from AUTO to MANUAL: 
            change the value in the PFILE 'initDB1test.ora'. 


      3. Recreate the SPFILE from the modified PFILE 'initDB1test.ora': 
            If the spfile to be recreated is named spfileDB1.ora, then use: 

            SQL> create spfile='spfileDB1.ora' from pfile='initDB1test.ora'; 
            File created. 
     
            If the spfile to be recreated is named spfileDB1NEW.ora, use: 

            SQL> create spfile='spfileDB1NEW.ora' from pfile='initDB1test.ora'; 
            File created. 

from oracle

[Top]
No.
제목
작성자
작성일
조회
9262OPEN_CURSORS 파라미터를 매우 크게 잡을 경우 고려할 사항
정재익
2002-01-05
7026
9261checkpoint not complete에 대해서
정재익
2002-01-05
7070
9260DBMS_SQL Package versus Native Dynamic SQL
정재익
2002-01-05
6330
92599i spfile 생성 및 수정 예제
정재익
2002-01-05
5987
9258그림 화일 연동 (bfile,blob in oas)예제
정재익
2002-01-05
6879
9257단.복수의 오라클 엔진에 db복사
정재익
2002-01-05
5160
9256TABLE(INDEX)을 다른 TABLESPACE로 옮기는 방법(8I,ALTER TABLE .. MOVE)
정재익
2002-01-05
6045
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다