Contents
see List작성일 2016. 01. 21.
exp userid=system/manager owner=scott file='/data/exp/test03.dmp'
exp test/test file=exp.dmp log=exp.log
imp system/manager file=/data/exp/test03.dmp fromuser=scott touser=scott
imp test/test file=exp.dmp log=imp.log
10g 이후론
(sql에서) create or replace directory dp as 'c:\경로' ;
export
$ expdp system/oracle directory=dp dumpfile=test01.dmp full=y
$ expdp system/oracle directory=dp dumpfile=test01.dmp schemas=scott exclude=table:\"=\'EMP\'\"
$ expdp system/oracle directory=dp dumpfile=test02.dmp schemas=scott \
exclude=table:\"IN \(\'EMP\', \'DEPT\'\)\"
$ expdp system/oracle directory=dp dumpfile=test03.dmp schemas=scott \
exclude=index:\"\=\'idx_emp_ename\'\"
$ expdp system/oracle directory=dp dumpfile=test04.dmp schemas=scott \
query=emp:\"\'where sal \> 1000\'\"
$ expdp system/oracle directory=dp dumpfile=test_p_%U.dmp schemas=scott \
job_name=dp_t1 parallel=4
$ expdp system/oracle attach=dp_t1
$ expdp system/oracle directory=dp dumpfile=test01.dmp schemas=scott exclude=table:\"=\'EMP\'\"
$ expdp system/oracle directory=dp dumpfile=test02.dmp schemas=scott \
exclude=table:\"IN \(\'EMP\', \'DEPT\'\)\"
$ expdp system/oracle directory=dp dumpfile=test03.dmp schemas=scott \
exclude=index:\"\=\'idx_emp_ename\'\"
$ expdp system/oracle directory=dp dumpfile=test04.dmp schemas=scott \
query=emp:\"\'where sal \> 1000\'\"
$ expdp system/oracle directory=dp dumpfile=test_p_%U.dmp schemas=scott \
job_name=dp_t1 parallel=4
$ expdp system/oracle attach=dp_t1
import
$ impdp system/oracle dumpfile=test01.dmp table_exists_action=truncate schemas=scott
$ impdp system/oracle directory=dp dumpfile=test01.dmp table_exists_action=truncate schemas=scott
$ impdp system/oracle directory=dp dumpfile=test02.dmp schemas=scott \
remap_schema=scott:hr
$ impdp system/oracle directory=dp dumpfile=test02.dmp schemas=scott \
remap_tablespace='users':'example' table_exists_action=truncate
$ impdp system/oracle directory=dp dumpfile=test02.dmp schemas=scott \
remap_schema=scott:hr
$ impdp system/oracle directory=dp dumpfile=test02.dmp schemas=scott \
remap_tablespace='users':'example' table_exists_action=truncate
database
| No | 작성일 | Title |
|---|---|---|
| 2371 | 2026. 04. 08. | PostgreSQL 17 쿼리 최적화 완벽 가이드: 인덱스 전략, 실행 계획, 신규 기능 총정리 |
| 2356 | 2026. 04. 07. | PostgreSQL 17 MERGE 강화와 JSON_TABLE 실전 가이드 - SQL만으로 JSON 데이터 완벽 처리 |
| 2339 | 2026. 04. 06. | PostgreSQL 17 JSON_TABLE 완벽 가이드 - JSON 데이터를 테이블로 변환하는 최신 SQL 기법 |
| 2324 | 2026. 04. 05. | PostgreSQL 18 비동기 I/O와 UUIDv7, Virtual Generated Columns 실전 활용 |
| 2302 | 2026. 04. 05. | SQL 쿼리 최적화 실전 테크닉: EXPLAIN부터 인덱스 전략까지 |
| 2301 | 2026. 04. 05. | PostgreSQL 18 새 기능 총정리: 비동기 I/O부터 가상 열까지 |
| 2275 | 2026. 04. 04. | Redis 8.0 신기능과 실전 캐싱 전략: 검색, 벡터, 스트림 활용법 |
| 2274 | 2026. 04. 04. | PostgreSQL 17 신기능 완벽 가이드: JSON 쿼리, 병렬 처리, 논리 복제 강화 |
| 2191 | 2026. 02. 11. | 무중단 데이터베이스 마이그레이션 전략 |
| 2190 | 2026. 02. 11. | Redis 8.0 새로운 데이터 구조와 활용법 |