상세 컨텐츠

본문 제목

Data Pump Export and Import

Oracle

by 마머선129 2019. 6. 12. 14:56

본문

Data Pump Export and Import 작업 중단법
Datapump 사용 중 세션이 끊기거나 중간에 작업을 종료 할경우(control + c) 로는 전부 정리가 되지 않을 수 있다
아래와 같은 작업을 해주는게 좋다
1) select sid, serial# from v$session s, dba_datapump_sessions d where s.saddr = d.saddr;

2) select * from dba_datapump_jobs;

3) select o.status, o.object_id, o.object_type, o.owner ||’.’||object_name “OWNER.OBJECT”
from dba_object o, dba_datapump_jobs j
where o.owner=j.owner_name and o.object_name=j.job_name and j.job_name not like ‘BIN$#’ order by 4,2;

4) 검색된 테이블 삭제
drop table SYSTEM.JOB_NAME purge;

관련글 더보기

댓글 영역