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

Oracle備份與恢復之exp/imp

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

 參數文件內容

 userid=username/userpassword buffer=819200

        compress=n grants=y

        file=/oracle/test.dmp full=y

  • 三種模式
    • 表方式 將指定表的數據導入或導出

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

        導出某表部分數據 exp user/pwd file=* log=* tables=table1 query=\"where col1=\'....\' and col2 \<..\"

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

    • 用戶方式 將指定用戶的所有對象及數據導入/導出

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

   只導出數據對象,不導出數據 rows=n exp user/pwd file=/dir/*.dmp log=*.log owner=user rows=n

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

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

?

?

Oracle備份與恢復之exp/imp


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

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

【本文對您有幫助就好】

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

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 南陵县| 云阳县| 兴文县| 陇川县| 彭州市| 济阳县| 崇明县| 惠水县| 西平县| 耒阳市| 庄浪县| 定边县| 潼关县| 新津县| 连南| 惠州市| 西青区| 柳江县| 唐海县| 漳州市| 宜兰县| 灯塔市| 齐齐哈尔市| 任丘市| 佛冈县| 小金县| 格尔木市| 大庆市| 海阳市| 东至县| 临沭县| 宜城市| 泸溪县| 驻马店市| 稻城县| 克山县| 时尚| 西贡区| 兴业县| 垣曲县| 古浪县|