oracle12c数据泵导出expdp和导入impdp

一、导出expdp:

    1. cdb全库导出:

        expdp system/sky directory=exp_cdb dumpfile=sky_full.dmp logfile=sky_full.log full=y

        操作如下:

C:\Users\v074>sqlplus / as sysdba


SQL*Plus: Release 12.1.0.2.0 Production on 星期四 6月 6 13:42:32 2019


Copyright (c) 1982, 2014, Oracle. All rights reserved.


连接到:

Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options


SQL> create directory exp_cdb as 'e:\app\exp_cdb';


目录已创建。


SQL> exit

从 Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options 断开


C:\Users\v074>expdp system/sky directory=exp_cdb dumpfile=sky_full.dmp logfile=sky_full.log full=y


Export: Release 12.1.0.2.0 - Production on 星期四 6月 6 13:46:01 2019


Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.


连接到: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options


警告: 连接到容器数据库的根或种子时通常不需要 Oracle Data Pump 操作。


启动 "SYSTEM"."SYS_EXPORT_FULL_01": system/******** directory=exp_cdb dumpfile=sky_full.dmp logfile=sky_full.log full=y

正在使用 BLOCKS 方法进行估计...

处理对象类型 DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA

处理对象类型 DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA

处理对象类型 DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA

...(省略)

处理对象类型 DATABASE_EXPORT/POST_SYSTEM_IMPCALLOUT/MARKER

. . 导出了 "SYS"."KU$_USER_MAPPING_VIEW" 6.085 KB 36 行

. . 导出了 "ORDDATA"."ORDDCM_DOCS" 252.9 KB 9 行

. . 导出了 "WMSYS"."WM$CONSTRAINTS_TABLE$" 0 KB 0 行

...(省略)

. . 导出了 "SYS"."NACL$_WALLET_EXP" 0 KB 0 行

. . 导出了 "WMSYS"."WM$EXP_MA
  • 0
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

sky@sea

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值