오라클
2012.01.13 11:06
Import / Export 하는 방법
다물칸 주소복사
조회 수 3453 추천 수 0 댓글 1
구분 | 팁&트릭 |
---|
command 창에서 다음 명령을 직접 key-in하던가, 배치파일을 만들어두고 스키마 등의 정보만 변경해서 사용하면 됩니다.
- How to Import Full DB
- imp [Import 할 DB의 Schema ID]/[Import 할 DB의 Schema 암호]@[Import 할 DB SID] fromuser=[기존DB의 Schema 이름] touser=[Import 할 Schema이름] file=[Import할 File 절대주소]
- ex) imp ciscm/infinitt@spectra fromuser=cdis touser=ciscm file=medis-CM-cdoc.dmp
- imp [Import 할 DB의 Schema ID]/[Import 할 DB의 Schema 암호]@[Import 할 DB SID] fromuser=[기존DB의 Schema 이름] touser=[Import 할 Schema이름] file=[Import할 File 절대주소]
- How to Export Full DB
- exp [Export할 DB의 Schema ID]/[Export할 DB의 Schema암호]@[Export할 DB SID] file=[Export할 File 절대주소]
- ex) exp cdis/sdm1003@medis file=D:\dump_nckuh_20090619.dmp;
- exp [Export할 DB의 Schema ID]/[Export할 DB의 Schema암호]@[Export할 DB SID] file=[Export할 File 절대주소]
- How to Export Table
- exp [Export할 DB의 Schema ID]/[Export할 DB의 Schema암호]@[Export할 DB SID] file=[Export할 File 절대주소] tables=[Export할 Table 이름]
- ex) exp cis/infinitt@medis file=./dump.dmp tables=tbllink_worklist;
- exp [Export할 DB의 Schema ID]/[Export할 DB의 Schema암호]@[Export할 DB SID] file=[Export할 File 절대주소] tables=[Export할 Table 이름]
-
?
-How to Export Table 의 ex) exp cis/infinitt@medis file=./dump.dmp tables=tbllink_worklist; 에서 마지막 ; 이 들어갈 경우 Export가 되지 않습니다. ; 까지 Table Name으로 인식하는 것 같습니다.