Oracle 19c Error Codes
오라클 데이터베이스 19c 에러코드
ORA-00000
: Normal, Successful completion.
: 성공.
Cause (원인)
: Normal exit.
: 성공적인 종료
Action (대처방안)
: None
: 없음
ORA-00001
: Unique constraint (string.string) violated.
: 유일성(무결성) 제약조건에 위배됩니다.
Cause (원인)
: An UPDATE or INSERT statement attempted to insert a duplicate key.
For Trusted Oracle configured in DBMS MAC mode, you may see this message
if a duplicate entry exists at a different level.
: UPDATE 문 혹은 INSERT 문 수행시, 중복된 Key를 삽입하려 할 때 발생된다.
MAC 모드로 구성된 Trusted Oracle의 경우, 중복된 Entry가 다른 레벨에 존재해도 이 오류가 발생될 수 있다.
Action (대처방안)
: Either remove the unique restriction or do not insert the key.
: 해당 Unique 제약조건을 삭제하거나, 해당 Key 삽입 시도를 멈춘다.
* MAC Mode (Mandatory Acccess Control; 강제적 접근 제어) (URL)
* Trusted Oracle
- Trusted OS 상에서 Strict Multi-level Security(MLS) 정책을 지원하기 위해
1992년에 Oracle사가 출시한 MLS RDBMS 이다.
ORA-00257
: Archiver error. Connect AS SYSDBA only until resolved.
: 아카이버 오류. 공간이 확보되기 전에는 내부 접속만 가능.
Cause (원인)
: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is that the destination device is out of space to store the redo log file. Another possible cause is that a destination marked as MANDATORY has failed.
: 아카이빙 프로세스가 REDO 로그를 기록하던 중 에러를 감지한 경우이다.
문제가 바로 해결되지 않으면 실행중이던 트랜잭션이 멈추게 된다.
ORA-00257 오류는 대체로 REDO 로그가 저장되는 공간이 가득차서 생긴다.
다른 원인으로는 로그를 기록하는 디바이스에 Fail이 발생한 경우이다.
Action (대처방안)
: Check the alert log and trace files for detailed error information.
: Alert 로그와 트레이스 파일의 에러 정보를 확인한다.
ORA-01031
: Insufficient privileges.
: 권한이 불충분합니다.
Cause (원인)
: An attempt was made to perform a database operation without the necessary privileges.
: 필요한 권한이 부여되지 않은채 DB 오퍼레이션을 수행할때 발생된다.
Action (대처방안)
: Ask your database administrator or designated security administrator to grant you the necessary privileges.
: DBA 혹은 보안 담당자에게 쿼리 수행에 필요한 권한 부여를 요청한다.
ORA-01481
: Invalid number format model.
: 숫자 형식 모델이 부적합합니다.
Cause (원인)
: The user is attempting to either convert a number to a string via TO_CHAR
or a string to a number via TO_NUMBER and has supplied an invalid number format model parameter.
: TO_CHAR 를 이용하여 숫자를 문자열로 변환하려하거나,
TO_NUMBER 를 이용하여 문자열을 숫자로 변환하려 할때
부적합한 숫자 포맷을 사용했을때 발생한다.
Action (대처방안)
: Consult your manual.
: 메뉴얼을 참고한다.
ORA-01789
: Query block has incorrect number of result columns.
: 질의 블록은 부정확한 수의 결과 열을 가지고 있습니다.
Cause (원인)
: All of the queries participating in a set expression do not contain the same number ofSELECT
list columns.
: 집합 표현식이 내재된 쿼리의SELECT
문에서 칼럼의 개수가 일치하지 않을 때 발생된다.
Action (대처방안)
: Check that all the queries in the set expression have the same number ofSELECT
list columns.
: 집합 표현식이 내재된 모든 쿼리의SELECT
문에 Column의 개수가 일치하는가를 확인한다.
- 두 쿼리를 UNION 할 때 빈번히 발생하는데, UNION 하는 쿼리끼리 조회하는 Column의 수를 일치시킨다.
Reference: Oracle, Database Error Messages, URL, 2023년 1월 27일 검색.
Reference: Oracle, Questions - Trusted Oracle, URL, 2023년 2월 23일 검색.