Oracle 10g 数据泵分区表的导出

Oracle企业 2012-07-28

Oracle 10g中数据泵支持本地导出/导入分区表的分区,但是NET_LINK不支持分区表的分区。以下为导出部分实验,导入与导出相识。

本地导出:

C:\Users\xionglang>expdp test/test dumpfile=test.dmp logfile=test.log directory=dir_dump tables=t:p1


Export: Release 10.2.0.4.0 - 64bit Production on Tuesday, 19 June, 2012 22:57:09

Copyright (c) 2003, 2007, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "TEST"."SYS_EXPORT_TABLE_01":  test/******** dumpfile=test.dmp logfile=
test.log directory=dir_dump tables=t:p1
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 2 MB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
. . exported "TEST"."T":"P1"                             824.7 KB   49989 rows
Master table "TEST"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for TEST.SYS_EXPORT_TABLE_01 is:
  D:\TEST.DMP

Job "TEST"."SYS_EXPORT_TABLE_01" successfully completed at 22:57:17

NET_LINK方式导出:

C:\Users\xionglang>expdp test/test dumpfile=test1.dmp logfile=test.log directory=dir_dump tables=t:p2 network=test

ORA-39001: invalid argument value

ORA-39203: Partition selection is not supported over a network link.

很明显10g并不支持通过网络方式的分区选择功能。而且对于分区表而言,无论是导出还是导入,都是已一个整体完成的。

相关推荐

eastnow / 0评论 2017-07-24