tbwshc

          11g數(shù)據(jù)泵NETWORK_LINK功能增強

          11g增強了數(shù)據(jù)泵的NETWORK_LINK功能,使得遠端的導入或?qū)С鲆仓С址謪^(qū)粒度。

           

           

          在10g的時候,數(shù)據(jù)泵的NETWORK_LINK只支持表粒度:

          [orat3@hpserver2 ~]$ expdp test/test network_link=ora10204 dumpfile=tpart.dp logfile=test.log directory=dd tables=t_part:p1

          Export: Release 10.2.0.4.0 - 64bit Production on Monday, 4 June, 2012 0:38:31

          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
          ORA-39001: invalid argument value
          ORA-39203: Partition selection is not supported over a network link.

          很明顯10g并不支持通過網(wǎng)絡方式的分區(qū)選擇功能。而且對于分區(qū)表而言,無論是導出還是導入,都是已一個整體完成的。

          而在11g中,無論是導入還是導出,NETWORK_LINK方式都支持分區(qū)粒度:

          solaris*orcl-/home/oracle$ expdp test/test network_link=t111g dumpfile=t_part_hash.dp directory=d_output nologfile=y tables=t_part_hash:sys_p61

          Export: Release 11.2.0.3.0 - Production on Mon Jun 4 08:24:54 2012

          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 tb- 64bit Production
          With the Partitioning, Oracle Label Security and Real Application Testing options
          Starting "TEST"."SYS_EXPORT_TABLE_01": test/******** network_link=t111g dumpfile=t_part_hash.dp directory=d_output nologfile=y tables=t_part_hash:sys_p61
          Estimate in progress using BLOCKS method...
          Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
          Total estimation using BLOCKS method: 8 MB
          Processing object type TABLE_EXPORT/TABLE/TABLE
          . . exported "TEST"."T_PART_HASH":"SYS_P61" 5.476 KB 13 rows
          Master table "TEST"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
          ******************************************************************************
          Dump file set for TEST.SYS_EXPORT_TABLE_01 is:
          /home/oracle/t_part_hash.dp
          Job "TEST"."SYS_EXPORT_TABLE_01" successfully completed at 08:25:57

          這個功能沒有在新特性文檔中體現(xiàn),但是卻是一個不錯的功能提升。

           

          posted on 2012-09-04 16:55 chen11-1 閱讀(1335) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導航:
           
          主站蜘蛛池模板: 吴川市| 双桥区| 武安市| 乐清市| 无为县| 英山县| 河南省| 赤水市| 二连浩特市| 抚顺市| 莱州市| 龙口市| 保靖县| 绥德县| 西畴县| 新干县| 资源县| 宜章县| 合川市| 广饶县| 宣化县| 广宗县| 松潘县| 黑水县| 盘山县| 景泰县| 巴东县| 石台县| 故城县| 神农架林区| 莱西市| 敦煌市| 黎川县| 华池县| 呼伦贝尔市| 伊宁市| 张家港市| 宜兰县| 繁昌县| 惠安县| 当阳市|