您好,欢迎来到宝玛科技网。
搜索
您的当前位置:首页Oracle10g数据泵分区表的导出

Oracle10g数据泵分区表的导出

来源:宝玛科技网


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

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 - bit 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 - bit
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 499 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并不支持通过网络方式的分区选择功能。而且对于分区表而言,无论是导出还是导入,都是已一个整体完成的。

Copyright © 2019- baomayou.com 版权所有 赣ICP备2024042794号-6

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务