Oracle备份与恢复怎么搞?

解决方案 »

  1.   

    导出数据库:
    EXP USERID=用户名/密码@服务名 FILE=D:/TEST.DMP OWNER=数据库所有者名称
    导出单表:
    EXP USERID=用户名/密码@服务名 TABLES=(TABLENAME)  FILE=D:/TABLENAME.DMP导入数据库:
    imp userid=用户名/密码@服务名 file=d:/TEST.dmp fromuser=username1 touser=username2 feedback=10000 commit=y
    导入单张表:
    imp userid=用户名/密码@服务名 TABLES=(TABLENAME)  FILE=D:/TABLENAME.DMP touser=username2 commit=y
      

  2.   

    去GOOGLE搜索一下,很多好的资料