對Oracle導(dǎo)入IMP的過程的演示
把Oracle 導(dǎo)入實用程序 (Import utility)中允許Oracle 從相關(guān)的數(shù)據(jù)庫中提取一些數(shù)據(jù),而且還要將數(shù)據(jù)放到相關(guān)文件中。以下的文章就是以 imp 的格式 ,來演示imp 常用的方法。以下就是文章的具體內(nèi)容的介紹。
1. 獲取幫助
imp help=y
2. 導(dǎo)入一個完整數(shù)據(jù)庫
imp system/manager file=bible_db log=dible_db full=y ignore=y
3. 導(dǎo)入一個或一組指定用戶所屬的全部表、索引和其他對象
imp system/manager file=seapark log=seapark fromuser=seapark imp
system/manager file=seapark log=seapark fromuser=(seapark,amy,amyc,harold)
4.在Oracle 導(dǎo)入實用程序 (Import utility) 允許從數(shù)據(jù)庫提取數(shù)據(jù)中將一個用戶所屬的數(shù)據(jù)導(dǎo)入另一個用戶
imp system/manager file=tank log=tank fromuser=seapark touser=seapark_copy
imp system/manager file=tank log=tank fromuser=(seapark,amy)
touser=(seapark1, amy1)
5. 導(dǎo)入一個表
imp system/manager file=tank log=tank fromuser=seapark TABLES=(a,b)
6. 從多個文件導(dǎo)入
imp system/manager file=(paycheck_1,paycheck_2,paycheck_3,paycheck_4)
log=paycheck, filesize=1G full=y
7. 使用參數(shù)文件
imp system/manager parfile=bible_tables.par
bible_tables.par 參數(shù)文件:
#Import the sample tables used for the Oracle8i Database Administrator's
Bible. fromuser=seapark touser=seapark_copy file=seapark log=seapark_import
8. 在增量導(dǎo)入
imp system./manager inctype= RECTORE FULL=Y FILE=A
Oracle imp/exp
C:Documents and Settingsadministrator>exp help=y
以上就是對Oracle 導(dǎo)入實用程序 (Import utility) 允許從數(shù)據(jù)庫提取數(shù)據(jù),并且將數(shù)據(jù)寫入操作系統(tǒng)文件相關(guān)的內(nèi)容的介紹,望你會有所收獲。
【編輯推薦】
- Oracle daochu.dmp中的表table1 正確導(dǎo)入的方案介紹
- Oracle 數(shù)據(jù)的導(dǎo)入中相關(guān)兩個步驟的描述
- Oracle 刪除表空間之前把其中的文件也刪除的解決方案
- Oracle創(chuàng)建臨時表空間用到的代碼的示例
- Oracle exp備份機上安裝oracle10.1都需添加的內(nèi)容