오라클 26ai에서 바뀐 에러 메시지 — 실제 출력과 19c 문서 비교

Oracle AI Database 26ai(23.26)는 익숙한 에러를 19c와 다르게 출력해요. 어떤 메시지는 원인이 된 객체·컬럼·값을 직접 보여 주고, 어떤 메시지는 문장 자체가 바뀌었어요. 예전 문구로 검색하거나 로그를 메시지 문자열로 거르고 있었다면 여기서 결과가 어긋나요.

아래 "26ai" 메시지는 모두 우리 실험실에서 실제로 실행한 출력이고, 각 에러 페이지에 나오는 것과 같아요. "19c" 문구는 Oracle Database 19c Error Messages 공식 문서에서 그대로 옮겼고, 읽은 페이지 링크를 붙였어요.

메시지에 객체·컬럼·값 이름이 들어가요 12개

  • ORA-00942

    19c 문서table or view does not exist 출처

    Oracle AI Database 26ai 실제 출력
    ORA-00942: table or view "LAB_A"."CUSTOMER" does not exist
    ORA-00942: 테이블 또는 뷰  "LAB_A"."CUSTOMER"이(가) 존재하지 않습니다.

    원인과 해결

  • ORA-00001

    19c 문서unique constraint (string.string) violated 출처

    Oracle AI Database 26ai 실제 출력
    ORA-00001: unique constraint (LAB_A.PRODUCTS_PK) violated on table LAB_A.PRODUCTS columns (PRODUCT_ID)
    ORA-00001: 고유한 제약 조건(LAB_A.PRODUCTS_PK)이 테이블 LAB_A.PRODUCTS 열(PRODUCT_ID)에서 위반되었습니다.

    원인과 해결

  • ORA-01722

    19c 문서invalid number 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01722: unable to convert string value containing 'A' to a number: CODE
    ORA-01722: 'A'을(를) 포함하는 문자열 값을 숫자로 변환할 수 없음: CODE

    원인과 해결

  • ORA-01438

    19c 문서value larger than specified precision allowed for this column 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01438: value 1000 greater than specified precision (5, 2) for column
    ORA-01438: 1000 값이 지정된 전체 자릿수 (5, 2)( 열)보다 큽니다.

    원인과 해결

  • ORA-00932

    19c 문서inconsistent datatypes: expected string got string 출처

    Oracle AI Database 26ai 실제 출력
    ORA-00932: expression (20240101) is of data type NUMBER, which is incompatible with expected data type DATE
    ORA-00932:  (20240101) 표현식의 데이터 유형 NUMBER은(는) 필요한 데이터 유형 DATE과(와) 호환되지 않습니다.

    원인과 해결

  • ORA-00979

    19c 문서not a GROUP BY expression 출처

    Oracle AI Database 26ai 실제 출력
    ORA-00979: "JOB": must appear in the GROUP BY clause or be used in an aggregate function
    ORA-00979: "JOB"은(는) GROUP BY 절에 나타나거나 집계 함수에서 사용되어야 합니다.

    원인과 해결

  • ORA-00918

    19c 문서column ambiguously defined 출처

    Oracle AI Database 26ai 실제 출력
    ORA-00918: DEPT_ID: column ambiguously specified - appears in  and
    ORA-00918: DEPT_ID: 모호하게 지정된 열 -  및 에 표시됩니다.

    원인과 해결

  • ORA-01008

    19c 문서not all variables bound 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01008: value for bind variable placeholder 2 was not provided
    ORA-01008: 바인드 변수 위치 표시자 2에 대한 값이 제공되지 않았습니다.

    원인과 해결

  • ORA-01045

    19c 문서user string lacks CREATE SESSION privilege; logon denied 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01045: Login denied. User APP_USER does not have CREATE SESSION privilege.

    원인과 해결

  • ORA-00972

    19c 문서identifier is too long 출처

    Oracle AI Database 26ai 실제 출력
    ORA-00972: The identifier The system...rk before ... exceeds the maximum length of 128 bytes.
    ORA-00972: The system...rk before ... 식별자가 최대 길이인 128바이트를 초과합니다.

    원인과 해결

  • ORA-01000

    19c 문서maximum open cursors exceeded 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01000: maximum open cursors for session exceeded Potential Leaked SQL_ID: buav8k4m4d5fy
    ORA-01000: 세션에 대한 최대 열린 커서가 초과되었습니다. Potential Leaked SQL_ID: buav8k4m4d5fy

    원인과 해결

  • ORA-01652

    19c 문서unable to extend temp segment by string in tablespace string 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01652: unable to grow temp segment in tablespace LAB_TMP by 1MB during operation with SQL ID : 105yw6uy4n3gd, temp space used by session : 1 (MB)
    ORA-01652: 작업 중 temp segment(LAB_TMP 테이블스페이스)을(를) 1MB만큼 늘릴 수 없습니다(SQL ID: 105yw6uy4n3gd). 세션에 사용된 임시 공간: 1(MB)

    원인과 해결

문장 자체가 바뀌었어요 8개

  • ORA-01017

    19c 문서invalid username/password; logon denied 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01017: invalid credential or not authorized; logon denied

    원인과 해결

  • ORA-00054

    19c 문서resource busy and acquire with NOWAIT specified or timeout expired 출처

    Oracle AI Database 26ai 실제 출력
    ORA-00054: Failed to acquire a lock (Type: "TM", Name: "DML", Description: "Synchronizes accesses to an object") because it is currently held by another session. The resource being locked can be identified by 80420 ("Table") and 0 ("operation")
    ORA-00054: 잠금(유형: "TM", 이름: "DML", 설명: "Synchronizes accesses to an object")은 현재 다른 세션에서 보유하고 있으므로 확보를 실패했습니다. 잠그려는 리소스가 80420("Table") 및 0("operation")에 의해 식별될 수 있습니다.

    원인과 해결

  • ORA-01422

    19c 문서exact fetch returns more than requested number of rows 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01422: exact fetch returned more than the requested number of rows (1)

    원인과 해결

  • ORA-01843

    19c 문서not a valid month 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01843: An invalid month was specified.
    ORA-01843: 부적합한 월이 지정되었습니다.

    원인과 해결

  • ORA-01858

    19c 문서a non-numeric character was found where a numeric was expected 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01858: A non-numeric character was found instead of a numeric character.
    ORA-01858: 숫자 문자 대신 숫자가 아닌 문자가 발견되었습니다.

    원인과 해결

  • ORA-01653

    19c 문서unable to extend table string.string by string in tablespace string 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01653: unable to increase tablespace LAB_DATA by 1MB during insert or update on table LAB_A.SALES_HIST
    ORA-01653: LAB_DATA 테이블스페이스를 1MB까지 늘릴 수 없습니다. LAB_A.SALES_HIST 테이블에서 삽입 또는 업데이트를 수행하는 중이었습니다.

    원인과 해결

  • ORA-01950

    19c 문서no privileges on tablespace 'string' 출처

    Oracle AI Database 26ai 실제 출력
    ORA-01950: The user LAB_A has insufficient quota on tablespace LAB_DATA.
    ORA-01950: 사용자 LAB_A에게는 LAB_DATA 테이블스페이스에 대한 할당량이 부족합니다.

    원인과 해결

  • ORA-02261

    19c 문서such unique or primary key already exists in the table 출처

    Oracle AI Database 26ai 실제 출력
    ORA-02261: The unique or primary key already exists in the table.
    ORA-02261: 고유 또는 기본 키가 테이블에 존재합니다.

    원인과 해결

모든 에러 아래에 붙는 Help: 줄

26ai의 SQL*Plus는 에러 바로 아래에 온라인 에러 도움말 링크를 찍어요. 이 사이트의 오라클 에러 157개 모두 실행 결과에 이 줄이 있었어요. 예를 들어 ORA-00942:

ORA-00942: table or view "LAB_A"."CUSTOMER" does not exist
Help: https://docs.oracle.com/error-help/db/ora-00942/

내 코드와 모니터링에서 확인할 것

에러는 메시지 문장이 아니라 코드(예: ORA-00942, 드라이버가 주는 에러 번호)로 비교하세요. 메시지 전체를 비교하는 로그 필터·알림 규칙·애플리케이션 코드는 26ai 문구를 놓쳐요.

새로 붙은 정보는 쓸모가 있어요. ORA-00942는 어떤 스키마의 어떤 테이블을 찾았는지, ORA-00001은 테이블과 컬럼을, ORA-01722는 변환에 실패한 값을 알려 줘요. 읽는 법은 각 에러 페이지에 있어요.

만든 방법: 각 에러를 컨테이너의 Oracle AI Database 26ai Free에서 실제로 실행하고(이미지·시각은 각 페이지에 표시), 에러 첫 줄을 19c 문서와 비교했어요. 이 사이트에 페이지가 있는 에러만 실었어요.