日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

Oracle備份與恢復(fù)之exp/imp

系統(tǒng) 2298 0
  • 獲取幫助
  • exp help=y/imp help=y
  • 工作方式
    • 交互式 exp
    • 命令行 exp user/pwd@dbname file=/oracle/test.dmp full=y
    • 參數(shù)文件方式 exp parfile=username.par

 參數(shù)文件內(nèi)容

 userid=username/userpassword buffer=819200

        compress=n grants=y

        file=/oracle/test.dmp full=y

  • 三種模式
    • 表方式 將指定表的數(shù)據(jù)導(dǎo)入或?qū)С?

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

        導(dǎo)出某表部分?jǐn)?shù)據(jù) exp user/pwd file=* log=* tables=table1 query=\"where col1=\'....\' and col2 \<..\"

        導(dǎo)入一張或幾張表 imp??user/pwd??file=/dir/xxx.dmp??log=xxx.log??tables=table1,table2??fromuser=dbuser?touser=dbuser2?commit=y?ignore=y

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

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

   只導(dǎo)出數(shù)據(jù)對象,不導(dǎo)出數(shù)據(jù) rows=n exp user/pwd file=/dir/*.dmp log=*.log owner=user rows=n

   導(dǎo)入: imp user/pwd file=/dir/*.dmp log=*.log fromuser=dbuser touser=dbuser2 commit=y ignore=y

    • 全庫方式 將數(shù)據(jù)庫中所有的對象導(dǎo)出/導(dǎo)入
      •  導(dǎo)出 exp user/pwd file=/dir/*.dmp log=*.log full=y commit=y ignore=y
      • ?? 導(dǎo)入 imp uer/pwd file=/dir/*.dmp log=*.log fromuser=dbuser touser=dbuser2

?

?

Oracle備份與恢復(fù)之exp/imp


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦?。?!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 安龙县| 凤城市| 祁门县| 吉木乃县| 永丰县| 宁陕县| 东兴市| 北碚区| 炉霍县| 梁山县| 昌邑市| 西城区| 定日县| 垦利县| 安图县| 珲春市| 延川县| 寿光市| 上蔡县| 和平区| 沈丘县| 宾川县| 望都县| 中方县| 江口县| 历史| 兰溪市| 汨罗市| 墨江| 莱西市| 安化县| 遂川县| 庆安县| 深泽县| 翁牛特旗| 太湖县| 襄汾县| 津南区| 呈贡县| 广南县| 遂平县|