- 最后登录
- 2017-5-31
- 在线时间
- 156 小时
- 威望
- 60
- 金钱
- 1885
- 注册时间
- 2011-12-16
- 阅读权限
- 50
- 帖子
- 75
- 精华
- 0
- 积分
- 60
- UID
- 113
|
1#
发表于 2012-2-15 16:56:02
|
查看: 6805 |
回复: 3
情况是这样子的,之前drop tablespace 后flashback database 发现物理文件还在,打算重建控制文件 把那个文件给加进去,结果报错了
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS
2 -- SET STANDBY TO MAXIMIZE PERFORMANCE
3 ARCHIVELOG
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 MAXINSTANCES 8
8 MAXLOGHISTORY 292
9 LOGFILE
10 GROUP 1 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO01.LOG' SIZE 50M BL
512,
11 GROUP 2 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO02.LOG' SIZE 50M BL
512,
12 GROUP 3 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO03.LOG' SIZE 50M BL
512
13 -- STANDBY LOGFILE
14 DATAFILE
15 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\SYSTEM01.DBF',
16 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\SYSAUX01.DBF',
17 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\UNDOTBS01.DBF',
18 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\USERS01.DBF',
19 'E:\ORACLE11G\APP\HP\ORADATA\TEST21.DBF',
20 'E:\ORACLE11G\APP\HP\NEW_TS.ORA',
21 'E:\ORACLE11G\APP\HP\ORADATA\RCATTS.DBF'
22 CHARACTER SET ZHS16GBK
23 ;
ERROR:
ORA-06550: ? 1 ?, ? 29 ?:
PLS-00553: ??????????????????
ORA-06550: ? 0 ?, ? 0 ?:
PL/SQL: Compilation unit analysis terminated
CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS
*
第 1 行出现错误:
ORA-01503: CREATE CONTROLFILE ??
ORA-01565: ???? 'E:\ORACLE11G\APP\HP\NEW_TS.ORA' ???
ORA-27041: ??????
OSD-04002: ????????????
O/S-Error: (OS 2) ??????????????????????
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS
2 -- SET STANDBY TO MAXIMIZE PERFORMANCE
3 ARCHIVELOG
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 MAXINSTANCES 8
8 MAXLOGHISTORY 292
9 LOGFILE
10 GROUP 1 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO01.LOG' SIZE 50M BL
512,
11 GROUP 2 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO02.LOG' SIZE 50M BL
512,
12 GROUP 3 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO03.LOG' SIZE 50M BL
512
13 -- STANDBY LOGFILE
14 DATAFILE
15 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\SYSTEM01.DBF',
16 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\SYSAUX01.DBF',
17 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\UNDOTBS01.DBF',
18 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\USERS01.DBF',
19 'E:\ORACLE11G\APP\HP\ORADATA\TEST21.DBF',
20 'E:\ORACLE11G\APP\HP\ORADATA\RCATTS.DBF'
21 CHARACTER SET ZHS16GBK
22 ;
ERROR:
ORA-06550: ? 1 ?, ? 29 ?:
PLS-00553: ??????????????????
ORA-06550: ? 0 ?, ? 0 ?:
PL/SQL: Compilation unit analysis terminated
CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS
*
第 1 行出现错误:
ORA-01503: CREATE CONTROLFILE ??
ORA-01189: ????????????? RESETLOGS
ORA-01110: ???? 7: 'E:\ORACLE11G\APP\HP\ORADATA\RCATTS.DBF'
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS
2 *
3 第 1 行出现错误:
4 ORA-01503: CREATE CONTROLFILE ??
5 ORA-01189: ????????????? RESETLOGS
6 ORA-01110: ???? 7: 'E:\ORACLE11G\APP\HP\ORADATA\RCATTS.DBF'
7
SQL>
SQL>
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS
2 -- SET STANDBY TO MAXIMIZE PERFORMANCE
3 ARCHIVELOG
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 MAXINSTANCES 8
8 MAXLOGHISTORY 292
9 LOGFILE
10 GROUP 1 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO01.LOG' SIZE 50M BL
512,
11 GROUP 2 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO02.LOG' SIZE 50M BL
512,
12 GROUP 3 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\REDO03.LOG' SIZE 50M BL
512
13 -- STANDBY LOGFILE
14 DATAFILE
15 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\SYSTEM01.DBF',
16 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\SYSAUX01.DBF',
17 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\UNDOTBS01.DBF',
18 'E:\ORACLE11G\APP\HP\ORADATA\ORCL\USERS01.DBF',
19 'E:\ORACLE11G\APP\HP\ORADATA\TEST21.DBF',
20 'E:\ORACLE11G\APP\HP\ORADATA\RCATTS.DBF'
21 CHARACTER SET ZHS16GBK
22 ;
ERROR:
ORA-06550: ? 1 ?, ? 29 ?:
PLS-00553: ??????????????????
ORA-06550: ? 0 ?, ? 0 ?:
PL/SQL: Compilation unit analysis terminated
CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS
*
第 1 行出现错误:
ORA-01503: CREATE CONTROLFILE ??
ORA-01189: ????????????? RESETLOGS
ORA-01110: ???? 7: 'E:\ORACLE11G\APP\HP\ORADATA\RCATTS.DBF'
各位谁有好办法,指导下我,找回原来的数据文件,谢谢了。 |
|