Oracle 10g 資料泵分區表的匯出

來源:互聯網
上載者:User

Oracle 10g 資料泵分區表的匯出

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並不支援通過網路方式的分區選擇功能。而且對於分區表而言,無論是匯出還是匯入,都是已一個整體完成的。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.