Oracle 數(shù)據(jù)庫導(dǎo)出(exp)導(dǎo)入(imp)說明建站知識
導(dǎo)讀:1建站知識exp 將數(shù)據(jù)庫內(nèi)的各對象以二進(jìn)制方式下載成dmp文件,方便數(shù)據(jù)遷移。公司網(wǎng)站建設(shè)網(wǎng)站seo優(yōu)化軟件。
buffer:下載數(shù)據(jù)緩沖區(qū),以字節(jié)為單位,缺省依賴操作系統(tǒng) consistent:下載期間所涉及的數(shù)據(jù)保持read only,缺省為n direct:使用直通方式 ,缺省為n feeback:顯示處理記錄條數(shù),缺省為0,即不顯示 file:輸出文件,缺省為expdat.dmp filesize:輸出文件大小,缺省為操作系統(tǒng)最大值 indexes:是否下載索引,缺省為n,這是指索引的定義而非數(shù)據(jù),exp不下載索引數(shù)據(jù) log:log文件,缺省為無,在標(biāo)準(zhǔn)輸出顯示 owner:指明下載的用戶名 query:選擇記錄的一個(gè)子集 rows:是否下載表記錄 tables:輸出的表名列表 導(dǎo)出整個(gè)實(shí)例 exp dbuser/oracle file=oradb.dmp log=oradb.log full=y consistent=y direct=y user應(yīng)具有dba權(quán)限 導(dǎo)出某個(gè)用戶所有對象 exp dbuser/oracle file=dbuser.dmp log=dbuser.log owner=dbuser buffer=4096000 feedback=10000 導(dǎo)出一張或幾張表 exp dbuser/oracle file=dbuser.dmp log=dbuser.log tables=table1,table2 buffer=4096000 feedback=10000 導(dǎo)出某張表的部分?jǐn)?shù)據(jù) exp dbuser/oracle file=dbuser.dmp log=dbuser.log tables=table1 buffer=4096000 feedback=10000 query=\”where col1=\'…\' and col2 \<…\” 不可用于嵌套表 以多個(gè)固定大小文件方式導(dǎo)出某張表 exp dbuser/oracle file=1.dmp,2.dmp,3.dmp,… filesize=1000m tables=emp buffer=4096000 feedback=10000 這種做法通常用在:表數(shù)據(jù)量較大,單個(gè)dump文件可能會超出文件系統(tǒng)的限制 直通路徑方式 direct=y,取代buffer選項(xiàng),query選項(xiàng)不可用 有利于提高下載速度 consistent選項(xiàng) 自export啟動后,consistent=y凍結(jié)來自其它會話的對export操作的數(shù)據(jù)對象的更新,這樣可以保證dump結(jié)果的一致性。但這個(gè)過程不能太長,以免回滾段和聯(lián)機(jī)日志消耗完 imp 將exp下載的dmp文件上載到數(shù)據(jù)庫內(nèi)。 buffer:上載數(shù)據(jù)緩沖區(qū),以字節(jié)為單位,缺省依賴操作系統(tǒng) commit:上載數(shù)據(jù)緩沖區(qū)中的記錄上載后是否執(zhí)行提交 feeback:顯示處理記錄條數(shù),缺省為0,即不顯示 file:輸入文件,缺省為expdat.dmp filesize:輸入文件大小,缺省為操作系統(tǒng)最大值 fromuser:指明來源用戶方公司網(wǎng)站建設(shè) ignore:是否忽略對象創(chuàng)建錯(cuò)誤,缺省為n,在上載前對象已被建立往往是一個(gè)正常現(xiàn)象,所以此選項(xiàng)建議設(shè)為y indexes:是否上載索引,缺省為n,這是指索引的定義網(wǎng)站seo優(yōu)化軟件而非數(shù)據(jù),如果上載時(shí)索引已建立,此選項(xiàng)即使為n也無效,imp自動更新索引數(shù)據(jù) log:log文件,缺省為無,在標(biāo)準(zhǔn)輸出顯示 rows:是否上載表記錄 tables:輸入的表名列表 touser:指明目的用戶方 導(dǎo)入整個(gè)實(shí)例 imp dbuser/oracle file=oradb.dmp log=oradb.log full=y buffer=4096000 commit=y ignore=y feedback=10000 導(dǎo)入某個(gè)用戶所有對象 imp dbuser/oracle file=dbuser.dmp log=dbuser.log fromuser=dbuser touser=dbuser2 buffer=2048000 commit=y ignore=y feedback=10000 導(dǎo)入一張或幾張表 imp dbuser2/oracle file=user.dmp log=user.log tables=table1,table2 fromuser=dbuser touser=dbuser2 buffer=2048000 commit=y ignore=y feedback=10000 以多個(gè)固定大小文件方式導(dǎo)入某張表 imp dbuser/oracle file=\(1.dmp,2.dmp,3.dmp,…\) filesize=1000m table營銷型網(wǎng)站建設(shè)s=emp fromuser=dbuser touser=dbuser2 buffer=4096000 commit=y ignore=y feedback=10000相關(guān)公司網(wǎng)站建設(shè)網(wǎng)站seo優(yōu)化軟件。
關(guān)鍵詞標(biāo)簽: 標(biāo)簽 數(shù)據(jù)庫
聲明: 本文由我的SEOUC技術(shù)文章主頁發(fā)布于:2023-05-22 ,文章Oracle 數(shù)據(jù)庫導(dǎo)出(exp)導(dǎo)入(imp)說明建站知識主要講述標(biāo)簽,數(shù)據(jù)庫,Oracle 數(shù)據(jù)庫導(dǎo)出(exp)導(dǎo)入(imp網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請保留鏈接: http://www.bifwcx.com/article/web_5102.html
為你推薦與Oracle 數(shù)據(jù)庫導(dǎo)出(exp)導(dǎo)入(imp)說明建站知識相關(guān)的文章
-
通王TWCMS 2.0.3網(wǎng)站模板程序下載
(126)人喜歡 2024-01-15 -
Windows官方原版在哪里下載
(175)人喜歡 2024-01-15 -
WordPress網(wǎng)站模板發(fā)帖標(biāo)題顏色設(shè)置
(131)人喜歡 2024-01-07 -
修改discuz論壇帖子標(biāo)題80字符的長度限制
(249)人喜歡 2024-01-07 -
wordpress程序調(diào)用不帶超鏈接的Tag標(biāo)簽
(234)人喜歡 2024-01-05 -
網(wǎng)站在不同時(shí)期需調(diào)整內(nèi)容更新的方向
(112)人喜歡 2023-08-12