久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

expdp如何導出

133次閱讀
沒有評論

共計 1237 個字符,預計需要花費 4 分鐘才能閱讀完成。

這篇文章給大家分享的是有關 expdp 如何導出的內容。丸趣 TV 小編覺得挺實用的,因此分享給大家做個參考,一起跟隨丸趣 TV 小編過來看看吧。

一、創建 expdp 備份目錄
create directory home as /home/oracle/backup
二、對備份目錄賦予讀寫權限
grant read,write on directory home to scott;
三、導出數據
 1、導出所有的除 SYS、ORDSYS、MDSYS 以外的方案,此類導出也被稱為完全導出模式
expdp scott/oracle cluster=n compression=all full=y parallel=2 nologfile=y dumpfile=EX%U.dmp directory=home reuse_dumpfiles=y
 2、使用 tablespaces 參數導出 users 和 example 表空間內所有的對象
expdp scott/oracle cluster=n tablespace=users,example parallel=2 nologfile=y dumpfile=EX%U.dmp directory=home reuse_dumpfiles=y
3、使用 schemas 參數導出 hr 和 oe 兩個方案
expdp scott/oracle cluster=n schemas=hr,oe parallel=2 nologfile=y dumpfile=EX%U.dmp directory=home reuse_dumpfiles=y
4、使用 tables 參數導出 dept 和 emp
expdp scott/oracle tables=scott.dept,scott.emp parallel=2 nologfile=y dumpfile=EX%U directory=home reuse_dumpfiles=y
5、使用排除參數備份表
不備份 DEPT 表,其它表都備份
 expdp scott/oracle exclude=table:\ IN \(\ DEPT\ \)\ parallel=2 nologfile=y dumpfile=EX%U directory=home reuse_dumpfiles=y
排除多張表
expdp scott/oracle exclude=table:\ IN \(\ DEPT\ ,\ EMP\ \)\ parallel=2 nologfile=y dumpfile=EX%U directory=home reuse_dumpfiles=y
6、排除方案備份
expdp scott/oracle full=y exclude=schema:\ IN \(\ OE\ ,\ HR\ \)\ parallel=2 nologfile=y dumpfile=EX%U directory=home reuse_dumpfiles=y

感謝各位的閱讀!關于“expdp 如何導出”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,讓大家可以學到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!

正文完
 
丸趣
版權聲明:本站原創文章,由 丸趣 2023-07-20發表,共計1237字。
轉載說明:除特殊說明外本站除技術相關以外文章皆由網絡搜集發布,轉載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 嘉荫县| 阿拉尔市| 和林格尔县| 保德县| 靖西县| 彭山县| 象山县| 大连市| 安顺市| 东乡县| 玉田县| 云霄县| 大足县| 安宁市| 康马县| 嵊泗县| 靖安县| 门源| 兴文县| 车致| 密山市| 且末县| 若尔盖县| 岚皋县| 桂林市| 宁晋县| 平邑县| 洞口县| 南昌县| 礼泉县| 扶风县| 安庆市| 镇沅| 德惠市| 盐津县| 乐平市| 丽江市| 三门县| 寿光市| 驻马店市| 古丈县|