- 最后登录
- 2014-5-13
- 在线时间
- 10 小时
- 威望
- 45
- 金钱
- 275
- 注册时间
- 2012-1-9
- 阅读权限
- 10
- 帖子
- 26
- 精华
- 0
- 积分
- 45
- UID
- 151
|
1#
发表于 2013-8-16 15:08:54
|
查看: 5269 |
回复: 4
将一7亿的普通表数据导出后,导出语句:
oracle@kevin.example.com:~> expdp kevin/kevin tables=phone content=data_only compression=data_only directory=data_pump_dir dumpfile=phone_full_part1.dmp,phone_full_part2.dmp,phone_full_part3.dmp,phone_full_part4.dmp logfile=phone_full.log parallel=4
Starting "kevin"."SYS_EXPORT_TABLE_10": kevin/******** tables=phone content=data_only compression=data_only directory=data_pump_dir dumpfile=phone_full_part1.dmp,phone_full_part2.dmp,phone_full_part3.dmp,phone_full_part4.dmp logfile=phone_full.log parallel=4
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
#######Total estimation using BLOCKS method: 53.31 GB
#####. . exported "kevin"."phone" 5.275 GB 734015165 rows
Master table "kevin"."SYS_EXPORT_TABLE_10" successfully loaded/unloaded
******************************************************************************
Dump file set for kevin.SYS_EXPORT_TABLE_10 is:
/oracle/app/admin/ora11g/dpdump/phone_full_part1.dmp
/oracle/app/admin/ora11g/dpdump/phone_full_part2.dmp
/oracle/app/admin/ora11g/dpdump/phone_full_part3.dmp
Job "kevin"."SYS_EXPORT_TABLE_10" successfully completed at 11:33:13
将以上导出的数据,导入到分区表中,导入语句:
impdp kevin/kevin content=data_only directory=data_pump_dir dumpfile=phone_full_part1.dmp,phone_full_part2.dmp,phone_full_part3.dmp,phone_full_part4.dmp logfile=phone_full.log parallel=4 remap_table=phone:phone_yy CONTENT=data_only TABLE_EXISTS_ACTION=append
但是结果是,我源表的数据增加了7亿,要怎样操作,能快速将这7亿的数据导入到分区表 |
|