1樓:網友
full=y 這個引數的含義就是全庫備份 當然了 這只是邏輯層面上的。
2樓:網友
exp user/pwd@instance file=path full=y。我在生產庫裡用過。不過。你在匯入目標資料庫之前要建立相關的使用者,表空間等等。
如何實現oracle11g和oracle10g的資料互相匯入匯出?
3樓:網友
方法/步驟。
開啟開始選單中的執行。
開啟以後,在執行框中輸入cmd,點選確定。
執行以下命令:
sqlplus system/密碼。
2 建立資料匯出目錄expnc_dir為目錄名,'e:cdatabak'為資料庫實際目錄,命令如下:
create directory expnc_dir as 'e:cdatabak';
為oracle使用者授予訪問資料目錄的許可權,命令如下:
grant read,write on directory expnc_dir to dxzyjt;
執行資料幫浦出命令,注意一定要在cmd下執行,不能登入sqlplus後執行。
expdp dxzyjt/dxzyjt@ncdata_ directory=expnc_dir dumpfile= schemas=dxzyjt logfile=;
備份介面如下:
以上是匯出的步驟,匯入與匯出的步驟基本一樣,有不清楚的可以聯絡我。
如何實現oracle11g和oracle10g的資料互相匯入匯出
4樓:網友
您好,很高興為您解答。
oracle10g 資料匯入到oracle11g 中:
在oracle10g 上執行:exp ts/ts@orcl file=d:\
在oracle11g 上建立好表空間和使用者後執行:imp ts/ts@orcl file=d:\
oracle11g 資料匯入到oracle10g 中:
1.在oracle11g 伺服器命令列中用expdp 匯出資料。
expdp ts/ts@orcl directory=expdp_dir dumpfile= logfile= version= (schemas=ccense)
2.在oracle10g 伺服器dos 命令列中用impdp 匯入資料:
把oracle11g 的備份檔案放到oracl10g 伺服器的impdp_dir 目錄中,並建立好相應的使用者和表空間,然後執行下面的命令:
impdp ts/ts@orcl directory=impdp_dir dumpfile= logfile= version= (schemas=ccense)
oracle 的imp/exp 元件的乙個操作原則就是向下相容,且有一些規則:
1、低版本的exp/imp 可以連線到高版本(或同版本)的資料庫伺服器,但高版本的exp/imp 不能連線到低版本的資料庫伺服器。
2、高版本exp 出的dmp 檔案,低版本無法imp(無法識別dmp 檔案);低版本exp 出的dmp 檔案,高版本可以imp(向下相容)。
3、從oracle 低版本export 的資料可以import 到oracle 高版本中,但限於oracle 的相鄰版本,如從oracle 7 到 oracle 8。對於兩個不相鄰版本間進行轉換,如從oracle 6 到 oracle 8,則應先將資料輸入到中間版本—oracle 7,再從中間資料庫轉入更高版本oracle8
centos 6 0下安裝oracle 10g出現的問題
缺少一個軟體包。glibc 你可以在光碟上找到檔案以glibc開頭的這個包使用如下命令安裝 rpm ivh glibc rpm安裝後在 lib下就會有ld linux.so.2這個檔案了。 安裝報錯 runinstaller home oracle db database install oui l...
oracle中select多欄位但是隻groupby其中某
1 建立測試表,create table exp report accounts account id varchar2 20 responsibility cent id varchar2 20 period name varchar2 20 2 插入測試資料 insert into exp re...
在linu上安裝oracle11g必須在圖形介面才能安裝嗎
oracle可以在圖形介面上安裝,即使是在linux下也是如此。當然了,也能在命令列的模式下安裝。要想在命令模式下安裝oracle。在linux上安裝oracle11g必須在圖形介面才能安裝嗎 其實,oracle資料庫是有命令列模式下的安裝方法的,只是,由於大多數人對於命令不太熟悉,所以,才會使用圖...