控制文件丢失,重建控制文件

  1. sql>STARTUP NOMOUNT

  2. sql>CREATE CONTROLFILE REUSE DATABASE "UNIGUARD" NORESETLOGS NOARCHIVELOG

  3. MAXLOGFILES 16

  4. MAXLOGMEMBERS 3

  5. MAXDATAFILES 100

  6. MAXINSTANCES 8

  7. MAXLOGHISTORY 4672

  8. LOGFILE

  9. GROUP 1 '/product/app/oracle/oradata/uniguard/redo01.log' SIZE 50M,

  10. GROUP 2 '/product/app/oracle/oradata/uniguard/redo02.log' SIZE 50M,

  11. GROUP 3 '/product/app/oracle/oradata/uniguard/redo03.log' SIZE 50M

  12. -- STANDBY LOGFILE

  13. DATAFILE

  14. '/product/app/oracle/oradata/uniguard/system01.dbf',

  15. '/product/app/oracle/oradata/uniguard/undotbs01.dbf',

  16. '/product/app/oracle/oradata/uniguard/sysaux01.dbf',

  17. '/product/app/oracle/oradata/uniguard/users01.dbf',

  18. '/product/app/oracle/oradata/uniguard/info01.dbf',

  19. '/index/oradata/uniguard/index01.dbf',

  20. '/devdata/oradata/uniguard/index01.dbf',

  21. '/devdata/oradata/uniguard/indexdata02.dbf',

  22. '/devdata/oradata/uniguard/dev01.dbf'

  23. CHARACTER SET ZHS16GBK

  24. ;

  25. sql>RECOVER DATABASE

  26. sql>ALTER DATABASE OPEN;

你可能感兴趣的:(oracle,product)