expdp导出数据库实例应用
博客专区 > wi_wi 的博客 > 博客详情
expdp导出数据库实例应用
wi_wi 发表于1年前
expdp导出数据库实例应用
  • 发表于 1年前
  • 阅读 18
  • 收藏 0
  • 点赞 0
  • 评论 0

腾讯云 技术升级10大核心产品年终让利>>>   

 

expdp功能比较丰富,能导出用户、表、表空间。

下面做一个导表

expdp hf/pwd directory=NEWDIR dumpfile=tsubscriber tables=t_subscriber schemas=hf;

报错:

UDE-00010: multiple job modes requested, schema and tables.

是因为expdp中schema与tables参数不能同时出现。

 expdp hf/pwd directory=NEWDIR dumpfile=tsubscriber tables=t_subscriber;


Export: Release 11.2.0.3.0 - Production on Wed Nov 23 10:45:08 2016

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Starting "HF"."SYS_EXPORT_TABLE_01":  hf/******** directory=NEWDIR dumpfile=tsubscriber tables=t_subscriber 
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 344 MB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/TRIGGER
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "HF"."T_SUBSCRIBER"                         296.2 MB 3004722 rows
Master table "HF"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for HF.SYS_EXPORT_TABLE_01 is:
  /archlog/mydir/tsubscriber.dmp
Job "HF"."SYS_EXPORT_TABLE_01" successfully completed at 10:45:38
 

共有 人打赏支持
粉丝 2
博文 72
码字总数 10507
×
wi_wi
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: