Chinaunix首页 | 论坛 | 博客
  • 博客访问: 231313
  • 博文数量: 47
  • 博客积分: 1630
  • 博客等级: 上尉
  • 技术积分: 972
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-20 12:52
文章存档

2013年(12)

2012年(6)

2010年(27)

2009年(2)

我的朋友

分类: Oracle

2012-08-19 23:19:39

数据泵导入:

指令 impdp

 

一:数据库所有对象的导入:

impdp system/tiger dumpfile=pump_dir:mydatabase_%.dat filesize=100m  nologfile=y  job_name=zhang full=y  estimate_only

 

二:用户数据的导入: 

impdp  system/tiger dumpfile=pump_dir:mydatabase_%.dat filesize=100m  nologfile=y  job_name=zhang  schemas=scott

 

三:导入特定的表:

 

impdp  system/tiger dumpfile=pump_dir:mydatabase_%.dat filesize=100m  nologfile=y  job_name=zhang  tables=scott.emp,scott.dept

 

 

数据泵导出:

指令 expdp

一:数据库所有对象的导出:

expdp system/tiger dumpfile=pump_dir:mydatabase_%.dat filesize=100m  nologfile=y  job_name=zhang full=y  estimate_only

 

二:用户数据的导出: 

expdp system/tiger dumpfile=pump_dir:mydatabase_%.dat filesize=100m  nologfile=y  job_name=zhang  schemas=scott

 

三:导出特定的表:

 

expdp system/tiger dumpfile=pump_dir:mydatabase_%.dat filesize=100m  nologfile=y  job_name=zhang  tables=scott.emp,scott.dept

阅读(1616) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~