SQL> CREATE CONTROLFILE REUSE DATABASE "CRNOPHQ" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 1024
5 MAXINSTANCES 8
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 (
9 '/usr3/redo_log/redo01a.log',
10 '/usr3/redo_log/redo01b.log'
11 ) SIZE 1024M,
12 GROUP 2 (
13 '/usr3/redo_log/redo02a.log',
14 '/usr3/redo_log/redo02b.log'
15 ) SIZE 1024M,
16 GROUP 3 (
17 '/usr3/redo_log/redo03a.log',
18 '/usr3/redo_log/redo03b.log'
19 ) SIZE 1024M
20 -- STANDBY LOGFILE
21 DATAFILE
22 '/usr3/oradata1/sysdata/system01.dbf',
23 '/usr3/oradata1/sysdata/undotbs01.dbf',
24 '/usr3/oradata1/sysdata/sysaux01.dbf',
25 '/usr3/oradata1/sysdata/users01.dbf',
26 '/usr3/oradata1/sysdata/sysaux02.dbf',
27 '/usr3/oradata1/sysdata/system02.dbf',
28 '/usr3/oradata1/sysdata/undotbs02.dbf',
29 '/usr3/oradata1/sysdata/undotbs03.dbf',
30 '/usr3/oradata1/sysdata/undotbs04.dbf',
31 '/usr3/oradata1/sysdata/users02.dbf',
32 '/usr3/oradata1/data/dbs_d_crnophq01.dbf',
33 '/usr3/oradata1/data/dbs_i_crnophq01.dbf',
34 '/usr3/oradata3/data/dbs_d_perf01.dbf',
35 '/usr3/oradata3/data/dbs_d_perf02.dbf',
36 '/usr3/oradata3/data/dbs_d_perf03.dbf',
37 '/usr3/oradata3/data/dbs_d_perf04.dbf',
38 '/usr3/oradata3/data/dbs_d_perf05.dbf',
39 '/usr3/oradata2/data/dbs_i_perf01.dbf',
40 '/usr3/oradata2/data/dbs_i_perf02.dbf',
41 '/usr3/oradata2/data/dbs_d_ne01.dbf',
42 '/usr3/oradata2/data/dbs_d_ne02.dbf',
43 '/usr3/oradata2/data/dbs_d_ne03.dbf',
44 '/usr3/oradata2/data/dbs_d_ne04.dbf',
45 '/usr3/oradata2/data/dbs_i_ne01.dbf',
46 '/usr3/oradata2/data/dbs_i_ne02.dbf',
47 '/usr3/oradata1/data/dbs_d_work01.dbf',
48 '/usr3/oradata1/data/dbs_i_work01.dbf',
49 '/usr3/oradata1/data/dbs_d_rnopoa01.dbf',
50 '/usr3/oradata1/data/dbs_i_rnopoa01.dbf',
51 '/usr3/oradata2/data/dbs_d_spatial01.dbf',
52 '/usr3/oradata2/data/dbs_i_spatial01.dbf',
53 '/usr3/oradata2/data/dbs_d_spatialmap01.dbf',
54 '/usr3/oradata2/data/dbs_i_spatialmap01.dbf'
55 CHARACTER SET ZHS16GBK
56 ;
控制文件已创建。
SQL> alter database open resetlogs;
数据库已更改。
SQL> select status,instance_name from v$instance;
STATUS INSTANCE_NAME
------------ ----------------
OPEN CRNOPHQ
至此,恢复完成。