http://www.orafaq.com/wiki/Data_Pump

http://www.orafaq.com/wiki/Datapump

 

Datapump 是一个服务,基于大容量数据迁移的结构,用来取代旧的 import/export 工具。旧的 import/export 工具仍然可用,但不支持所有的 Oracle 10g 和 11g 的功能。这个新的工具名为 expdp 和 impdp。

本文介绍 Oracle 10g 及之后版本导出/入工具的步骤,内容如下:

  • 开始使用 datapump 导出
  • 创建数据库目录
  • 再次尝试导出
  • 导入另一个数据库
  • 网络导入
  • 从 PL/SQL 调用
  • Oracle 11g Release 1 (11.1) Data Pump 导出和导入概述
  • Oracle 11g Release 1 (11.1) Data Pump 导出和导入模式
  • 参考资料
  • 修改记录

 

开始用 datapump 导出

$ expdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp
 
Export: Release 10.2.0.1.0 - 64bit Production on Friday, 31 March,  2006 11:36:07
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
 
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
 
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name DMPDIR is invalid

相关文章: