日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Oracle數(shù)據(jù)庫備份和恢復(fù)的基本命令

以下的文章主要是介紹Oracle數(shù)據(jù)庫備份和恢復(fù)的基本命令的實際操作步驟的相關(guān)介紹,以及在Oracle數(shù)據(jù)庫備份和恢復(fù)的基本命令中的三種不同的工作方式的詳細(xì)介紹,以下就是內(nèi)容的相關(guān)介紹。

專注于為中小企業(yè)提供成都網(wǎng)站設(shè)計、成都網(wǎng)站建設(shè)服務(wù),電腦端+手機端+微信端的三站合一,更高效的管理,為中小企業(yè)石泉免費做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動了1000+企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網(wǎng)站建設(shè)實現(xiàn)規(guī)模擴充和轉(zhuǎn)變。

Oracle數(shù)據(jù)庫備份與恢復(fù)基本命令

1、 獲取幫助

$ exp help=y

$ imp help=y

2、三種工作方式

(1)交互式方式

$ exp 然后按提示輸入所需要的參數(shù)

(2)命令行方式

$ exp user/pwd@dbname file=/oracle/test.dmp full=y

命令行中輸入所需的參數(shù)

(3)Oracle數(shù)據(jù)庫備份與恢復(fù)中我們要走涉及到參數(shù)文件方式

$ exp parfile=username.par

在參數(shù)文件中輸入所需的參數(shù)

參數(shù)文件 username.par 內(nèi)容 userid=username/userpassword buffer=8192000

compress=n grants=y

file=/oracle/test.dmp full=y

3、三種模式

(1)表方式,將指定表的數(shù)據(jù)導(dǎo)出/導(dǎo)入。

導(dǎo)出:導(dǎo)出一張或幾張表:$ exp user/pwd file=/dir/xxx.dmp log=xxx.log tables=table1,table2

導(dǎo)出某張表的部分?jǐn)?shù)據(jù)

$ exp user/pwd file=/dir/xxx.dmp log=xxx.log tables=table1 query=\“where col1=\‘…\’and col2 \<…\”

導(dǎo)入:導(dǎo)入一張或幾張表

$ imp user/pwd file=/dir/xxx.dmp log=xxx.log tables=table1,

table2 fromuser=dbuser touser=dbuser2 commit=y ignore=y

(2)用戶方式,將指定用戶的所有對象及數(shù)據(jù)導(dǎo)出/導(dǎo)入。

導(dǎo)出:$ exp user/pwd file=/dir/xxx.dmp log=xxx.log owner=(xx, yy)

只導(dǎo)出數(shù)據(jù)對象,不導(dǎo)出數(shù)據(jù) (rows=n )

$ exp user/pwd file=/dir/xxx.dmp log=xxx.log owner=user rows=n

導(dǎo)入:$ imp user/pwd file=/dir/xxx.dmp log=xxx.log fromuser=dbuser touser=dbuser2

commit=y ignore=y

(3)全庫方式,將數(shù)據(jù)庫中的所有對象導(dǎo)出/導(dǎo)入導(dǎo)出:

$ exp user/pwd file=/dir/xxx.dmp log=xxx.log full=ycommit=y ignore=y

導(dǎo)入:$ imp user/pwd file=/dir/xxx.dmp log=xxx.log fromuser=dbuser touser=dbuser2

以上就是對Oracle數(shù)據(jù)庫備份與恢復(fù)基本命令相關(guān)的內(nèi)容的介紹,望你會有所收獲。

【編輯推薦】

  1. Oracle ID 自增代碼的詳細(xì)介紹
  2. Oracle exp備份機上安裝oracle10.1都需添加的內(nèi)容
  3. Oracle Multimedia 導(dǎo)出圖像時所需執(zhí)行的步驟
  4. 對Oracle Multimedia導(dǎo)出圖像的操作步驟的描述
  5. Oracle Multimedia在ORDDicom中列中存儲DICOM詳解

網(wǎng)站題目:Oracle數(shù)據(jù)庫備份和恢復(fù)的基本命令
URL網(wǎng)址:http://www.5511xx.com/article/coiopsp.html