Oracle11gr2資料泵新特性(二)
Oracle的11gr2版本中,並沒有對資料泵做出多大的改動,主要是增加了對原始版本引數的支援,並且去掉了一些小的限制。
這一篇介紹資料泵對錶匯出方式的改進。
Oracle11gr2資料泵新特性(一):http://yangtingkun.itpub.net/post/468/491243
在11gr1和以前的版本中,以表模式的匯出有一個限制,所有匯出的表必須處於同一個SCHEMA中,這使得備份不同的SCHEMA下的個別表變得很不方便:
bash-3.00$ expdp yangtk/yangtk directory=d_output dumpfile=t.dp tables=yangtk.t test.t
Export: Release 11.1.0.6.0 - 64bit Production on 星期二, 08 9月, 2009 0:40:36
Copyright (c) 2003, 2007, Oracle. All rights reserved.
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
^CUDE-00001: 使用者已請求取消當前的操作
bash-3.00$ expdp yangtk/yangtk directory=d_output dumpfile=t.dp tables=yangtk.t, test.t
Export: Release 11.1.0.6.0 - 64bit Production on 星期二, 08 9月, 2009 0:41:01
Copyright (c) 2003, 2007, Oracle. All rights reserved.
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
UDE-00012: 表模式匯出僅適用於一個方案中的物件
在11.2中,已經去掉了這個限制,因此只要擁有許可權,就可以匯出任何使用者下的表物件:
[oracle@bjtest ~]$ expdp yangtk/yangtk directory=d_output dumpfile=t_two_onwer.dp tables=yangtk.t test.t
Export: Release 11.2.0.1.0 - Production on 星期二 9月 8 00:21:22 2009
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
連線到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
啟動 "YANGTK"."SYS_EXPORT_TABLE_01": yangtk/******** directory=d_output dumpfile=t_two_onwer.dp tables=yangtk.t test.t
正在使用 BLOCKS 方法進行估計...
處理物件型別 TABLE_EXPORT/TABLE/TABLE_DATA
使用 BLOCKS 方法的總估計: 8.125 MB
處理物件型別 TABLE_EXPORT/TABLE/TABLE
. . 匯出了 "YANGTK"."T" 5.766 MB 143936 行
. . 匯出了 "TEST"."T" 5 KB 1 行
已成功載入/解除安裝了主表 "YANGTK"."SYS_EXPORT_TABLE_01"
******************************************************************************
YANGTK.SYS_EXPORT_TABLE_01 的轉儲檔案集為:
/home/oracle/t_two_onwer.dp
作業 "YANGTK"."SYS_EXPORT_TABLE_01" 已於 00:21:31 成功完成
這雖然是個小改進,但是確實使資料泵的表模式匯出變得方便很多。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-614196/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 12C新特性-資料泵新引數(LOGTIME)Oracle
- Oracle 12C新特性-資料泵新引數(VIEWS_AS_TABLES)OracleView
- 殺停資料泵
- 資料庫升級之-資料泵資料庫
- C++11新特性(二):語言特性C++
- 資料泵重建使用者
- 資料泵匯出匯入
- Oracle資料庫(資料泵)遷移方案(上)Oracle資料庫
- Oracle資料庫(資料泵)遷移方案(下)Oracle資料庫
- 使用資料泵(expdp、impdp)遷移資料庫流程資料庫
- 大資料開發-Flink-1.13新特性大資料
- 深入React v16新特性(二)React
- JDK11新特性學習(二)JDK
- JDK8新特性詳解(二)JDK
- Oracle expdp資料泵遠端匯出Oracle
- oracle邏輯備份之--資料泵Oracle
- 使用impdp,expdp資料泵進入海量資料遷移
- MQTT 5.0 新特性 |(二) 原因碼與 ACKMQQT
- Spring Boot 2.0 新特性(二):新增事件ApplicationStartedEventSpring Boot事件APPdev
- Oracle資料庫的邏輯備份工具-expdp資料泵Oracle資料庫
- Oracle Data Pump 11G 資料泵元件Oracle元件
- Oracle資料泵匯出匯入(expdp/impdp)Oracle
- 史上最全Oracle資料泵常用命令Oracle
- Oracle資料泵(Oracle Data Pump) 19cOracle
- Oracle資料泵的匯入和匯出Oracle
- 12c新特性,線上move資料檔案
- Oracle使用資料泵expdp,impdp進行資料匯出匯入Oracle
- 【RocketMQ】RocketMQ 5.0新特性(二)- Pop消費模式MQ模式
- 資料泵的TRANSFORM引數說明及使用ORM
- 如何寫出高效能程式碼(二)巧用資料特性
- Oracle 12.2新特性: PDB級閃回資料庫(Flashback PDB)Oracle資料庫
- 新特性解讀 | MySQL 8.0.31 匯入直方圖存量資料MySql直方圖
- 細緻入微:如何使用資料泵匯出表的部分列資料
- 資料遷移(1)——通過資料泵表結構批量遷移
- 【Datapump】Oracle資料泵遷移資料命令參考(expdp/impdp說明)Oracle
- 定量,變數柱塞泵的工作原理,分類,工作特性變數
- Oracle12C新特性_不可見欄位(二)Oracle
- kubernetes1.5新特性(二):支援Photon卷外掛
- Java8 新特性 Stream流操作List集合 (二)Java