oracle数据库常用脚本二(手动 创建控制文件)

CREATE CONTROLFILE
   SET DATABASE rm
   LOGFILE GROUP 1 ('/opt/ora10/oradata/rm/redo01a.log',
                    '/opt/ora10/oradata/rm/redo01b.log') SIZE 100M ,
           GROUP 2 ('/opt/ora10/oradata/rm/redo02a.log',
                    '/opt/ora10/oradata/rm/redo02b.log') SIZE 100M ,
           GROUP 3 ('/opt/ora10/oradata/rm/redo03a.log',
                    '/opt/ora10/oradata/rm/redo03b.log') SIZE 100M
   RESETLOGS
   DATAFILE '/opt/ora10/oradata/rm/system01.dbf' SIZE 325M REUSE,
      '/opt/ora10/oradata/rm/sysaux01.dbf' SIZE 325M REUSE,
     '/opt/ora10/oradata/rm/users01.dbf' SIZE 500M REUSE            
   MAXLOGFILES 50
   MAXLOGMEMBERS 3
   MAXLOGHISTORY 400
   MAXDATAFILES 200
   MAXINSTANCES 6
   ARCHIVELOG;

你可能感兴趣的:(oracle数据库常用脚本二(手动 创建控制文件))