1. Controlfile 재생성을 이용한 방법 ■ orcl -> orcl1으로 변경작업 ※ 사전작업 1) controlfile , pfile 백업 ALTER DATABASE BACKUP CONTROLFILE TO TRACE AS '/app/oracle/work/con_bak.trc'; create pfile from spfile; 2) controlfile script 수정 -. REUSE -> SET으로 변경 -. DBNAME -> orcl 에서 orcl1으로 변경 CREATE CONTROLFILE set DATABASE "orcl1" RESETLOGS ARCHIVELOG . . 3) pfile 이름 변경 및 내용 수정 -. db_name orcl1로 변경 -. local_listener='LISTE..
1. ORACLE Oracle Database Online Documentation 11g Assists in determining hardware and software requirements, installing, configuring, or administering an Oracle Database Gateway for APPC, developing applications that access remote host databases through the gateway using either the SNA communication proto docs.oracle.com -. Oracle 11g Release 2 OS 버전 DB 버전 Windows Server 2003 - all x64 editions..
1. ORA-00054 -. inactive session 이여도 자원을 점유중이여서 그런지 nowait error가 발생한다. SELECT A.SID , A.SERIAL# , A.STATUS FROM V$SESSION A , V$LOCK B , DBA_OBJECTS C WHERE A.SID = B.SID AND B.ID1 = C.OBJECT_ID AND B.TYPE = 'TM' AND C.OBJECT_NAME = '테이블명' 2. kill ALTER SYSTEM KILL SESSION '12,345'
1. Listener 설정 1) $ORACLE_HOME/network/admin/sqlnet.ora 설정 --1. 특정 IP 만 접속 tcp.validnode_checking = yes tcp.invited_nodes = (1xx.x.x.x , 192.x.x.x) -> , 로 구분 -> 1xx.x.x.x , 192.x.x.x IP 주소만 허용, 그 외에는 ora-12537 발생 --2. 특정 IP 만 차단 tcp.validnode_checking = yes tcp.excluded_nodes=( 1xx.x.x.x ) -> 1xx.x.x.x 만 접속 거절, 그 외의 다른 기기에서는 정상적인 접속 가능 ※ Listener 재기동 필요 -. tcp_validnode_checking 파라메터 적용 -> 재기동 후..
1. sqltrace -. 세션에서 트레이스 설정 방법 alter session set sql_trace = true; -- query alter session set sql_trace = false; -. 트레이스 파일 생성 경로 select value from v$diag_info where name = 'Diag Trace'; VALUE -------------------------------------------------------------------------------- /*****/trace 2. trc 파일 분석가능한 리포트로 변경 tkprof tracefile.trc outputfile.prf sys=no ※sys=no 옵션은 sql을 파싱하는 과정에서 내부적으로 수행되는 sql문을 ..
오라클 전제품 매뉴얼(최신 위주) http://www.oracle.com/technology/documentation/index.html 웹로직 버전별 매뉴얼 http://download.oracle.com/docs/cd/E13222_01/more_wls.html 웹로직 10.3.3 http://download.oracle.com/docs/cd/E14571_01/wls.htm 웹로직 10.3 http://download.oracle.com/docs/cd/E12840_01/wls/docs103/sitemap.html 웹로직 10.0 http://download.oracle.com/docs/cd/E13222_01/wls/docs100/index.html 웹로직 9.2 http://download.oracle..