728x90
원인 : 파티션 인덱스가 unusable이 발생하여 constraint 생성이 불가
<대상 확인>
SQL> select * from dba_ind_partitions where status='UNUSABLE';
해결 방법 : 인덱스 리빌드 이후 constraint 생성
SQL> alter index emp rebuild partition emp_202305 online parallel 8;
SQL> alter table emp add constraint emp_const primary key (emp_no);
728x90
'oracle' 카테고리의 다른 글
[ORACLE] ORA-08104 : this index object is being online built or rebuilt (0) | 2023.06.15 |
---|---|
[ORACLE] Partition Global Index (Global 추출 쿼리) (0) | 2023.06.14 |
[ORACLE] VOTING DISK (0) | 2023.05.15 |
[ORACLE] OCR (0) | 2023.05.11 |
[ORACLE] TRIGGER 이용한 테이블 접근 확인 (0) | 2023.05.09 |