這篇文章將為大家詳細講解有關exp/imp中如何實現(xiàn)遠程導出操作,小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。
實驗:
源庫::192.168.56.20 hostname:slient
目標庫::192.168.56.12 hostname:wang
說明:
tns:20,為對源庫的連接字符串、owner指的是源庫的schema,生成的dmp文件是在目標庫
[oracle@wang dpdump]$ exp system/oracle@20 owner=scott file=partition.dmp log=partition.log
Export: Release 11.2.0.4.0 - Production on Sun Aug 6 01:31:09 2017
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SCOTT
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user SCOTT
About to export SCOTT's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export SCOTT's tables via Conventional Path ...
. . exporting table ADSFDSFDSF 13 rows exported
. . exporting table BONUS 0 rows exported
. . exporting table DBXL 13 rows exported
. . exporting table DEPT 4 rows exported
. . exporting table EMP 14 rows exported
. . exporting table SALGRADE 5 rows exported
. . exporting table TEST
. . exporting partition P1 0 rows exported
. . exporting partition P2 0 rows exported
. . exporting partition P3 0 rows exported
. . exporting partition P4 0 rows exported
. . exporting table TEST123 0 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.
[oracle@wang dpdump]$
--驗證:
[oracle@wang dpdump]$ ls
bill_B_FILE_PACKAGE.dmp bill_B_PACKAGE_STATE_TRANS.dmp dp.log import.log partition.dmp partition.log
[oracle@wang dpdump]$
===補充=========
問題的現(xiàn)象:
EXP-00026: conflicting modes specified
EXP-00000: Export terminated unsuccessfully
備份文件會生成 但是沒有內容。
這個問題主要是 exp的時候 里面參數(shù)發(fā)生了沖突。
比較常見的:
1.同時指定了 owner 和 tables
2.同時指定了 FULL 和tables
3.同時指定了多個owner和full
owner 表示導出整個用戶或者多個用戶 而tables表示只導出其中的表 。
要么只導出其中的表 要么導出整個用戶。不然就會沖突了、
關于“exp/imp中如何實現(xiàn)遠程導出操作”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,使各位可以學到更多知識,如果覺得文章不錯,請把它分享出去讓更多的人看到。
本文名稱:exp/imp中如何實現(xiàn)遠程導出操作-創(chuàng)新互聯(lián)
本文來源:http://jinyejixie.com/article26/cchojg.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供軟件開發(fā)、網(wǎng)站設計、網(wǎng)站收錄、手機網(wǎng)站建設、網(wǎng)站策劃、小程序開發(fā)
聲明:本網(wǎng)站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)