Total(380)
-
[스크랩]ORA-12801
http://blog.naver.com/bueun?Redirect=Log&logNo=60062866661 작업을 하면서 이상한 오류가 발생했다.parallel ......어쩌구 저쩌구....select * from TCSQCSMORA-12801: error signaled in parallel query server P004, instance testdb01:BKTDBORA-01157: cannot identify/lock data file 67 - see DBWR trace fileORA-01110: data file 67: '/dev/rlv006_p023_02' 그래서 알아보다가 테이블이 parallel로 구성되어 있는것을 알았다.TABLESPACE D01B623PCTUSED 0PCTFREE 10IN..
2011.01.26 -
long형 replace
-- 테이블 포맷SQL> desc long_replace Name Null? Type ------------------ -------- ----------------------- LONGTYPE LONG ID VARCHAR2(20) CLOBTYPE CLOB long형 타입의 컬럼은 replace가 되질 않는다. 아래와 같은 메세지를 뿌리게 된다. SQL> update long_replace set longtype = replace(longtype,'기능','기능불가');update long_replace set longtype = replace(longtype,'기능','기능불가') *ERROR at line 1:ORA-00932: 일관성 없는 데이터 유형: NUMBER이(가) 필요하지만 LONG임 방법..
2011.01.24 -
characterset 변경 및 주의할 점.
현재 캐릭터셋은 KO16MSWIN949 이다.그래서 뷁 또는 맗 같은 멀티바이트가 insert 할 수가 있다. C:\Windows\System32>sqlplus system/******@prodSQL*Plus: Release 10.2.0.1.0 - Production on 목 1월 6 17:09:02 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Mining options SQL> select * from sys.props$ wher..
2011.01.06 -
LONG과 CLOB 에 대한 데이터 이전.
CLOB 같은 경우는 일반적으로 CTAS 가 가능하다.그러나 LONG형은 불가능하다. 예전에는 export/import를 통하여 데이터를 이전시키는 경우가 있었다.아래와 같은 명령어로 인하여 COPY가 가능하게 되었다. copy from scott/tiger@prod create test_long2 using select * from test_long; scott/tiger@prod LONG형 테이블을 가져올 데이터 베이스의 계정을 말한다. 그러나 이 명령어는 CLOB 포맷의 컬럼은 COPY가 불가능하다. 다음과 같은 메세지가 보여지게 된다. SQL> scott/tiger@prod Connected. SQL> create table test_long 2 (a varchar2(20), 3 b number,..
2011.01.04 -
[스크랩] 테이블 스페이스, 데이타 파일, 익스텐트 , 프리스페이스 관리하기
출처 : http://database.sarang.net/ioseph/board/index.php?work=view&criteria=oracle&subcrit=qna&curpg=0&aid=7906 ============================================ 굳이 대용량이 아니라고 해도, 현재 사용한 용량을 알고 있어야 디스크를 사서 늘려도 늘릴것이고, 언제쯤 사야하겠다는 예상을 할수 있을텐데 그런 것을 위해 있는 것이 ORACLE의 DBA_FREE_SPACE 뷰이다. 그러나 DBA_FREE_SPACE에는 분명 공간이 있는데 ORACLE이 에러를 내는 경우는 많다. 가끔은 10GB TABLESPACE를 잡아놓고 쓴것은 1GB도 되지 않는데 에러를 내기도 한다. 왜 이런 현상이 생기며, ..
2010.11.30 -
ORA-03113 : end-of-file on communication channel
몇 일전 DB가 startup이 안된다고 해서 원인을 찾아보았습니다. 아래와 같은 에러가 발생하더군요. ORA-03113 : end-of-file on communication channel 음..모지? 이 에러는 여러가지의 경우의 수가 있죠..ㅋ startup을 할때 pfile로 nomount까지 시도해보았지만 역시나 마찬가지 였습니다. 원인은 alert_file 사이즈 초과 문제였습니다. alert_file을 백업해두고 startup을 하니 되더군요. 간단하게 문제를 해결하였습니다. 그러나 mount 상태까지만 디비가 올라오더군요. [oracle@feeds bdump]$ sqlplus "/as sysdba" SQL*Plus: Release 9.2.0.1.0 - Production on Tue Oct ..
2010.11.03