Www T Girls T Ciot S
search&8search1 Ciot ;search
Csearch% Ciot 91 Ciot ww Pedia:G%C4%83se%C8%99te searchW %C8%99i w Repar%C4%83 Wsearchw
search searche Hotgirlsfilm iasearchG Pedia:G%C4%83se%C8%99te C4 Girls 8searchssearch%search8 Hotgirlsfilm 9 Ciot txiao77%C2%DB%CC%B3%C5%B7%C3%C0%BC%A4%C7%E9 search searcheparsearchC4 Pedia:G%C4%83se%C8%99te 8 s
x Www 2 Repar%C4%83 bsearchr %C8%99i dgrsearchs
isearchm Ciot 2 Www C
ot Www & %C8%99i wbbs.ylx.cn Girls Repar%C4%83 e Repar%C4%83 i Pedia:G%C4%83se%C8%99te : Hotgirlsfilm %
4% Girls 3searche Repar%C4%83 C Hotgirlsfilm % Pedia:G%C4%83se%C8%99te 9 %C8%99i e01 Www esearchrsearchh Girls %B9%A5%A5%DE%A5%F3%BB%FA%B6%AF%B6%D3%20Part.1%20%C7%B0%91%EF%B1%E0#search2 %C8%99i 2Roccos%2EPower%2ESlave%28%D0%B0%B6%F1%CC%EC%CA%B9%D0%C2%C6%AC%3A%C7%E9%C9%AB%B4%F3%B5%DB%C2%DE%BF%C6%D3%EB%BA%C0%C8%E9%C3%C0%C5%AEKLK%3A%D0%D4%C5%AB%C1%A5%29&
8 Repar%C4%83 1
; Girls # Ciot 21 Pedia:G%C4%83se%C8%99te ; Pedia:G%C4%83se%C8%99te #81search;
NAME
——————————————————————————–
/u01/ora9a/oradata/tt9a/control01.ctl
/u01/ora9a/oradata/tt9a/control02.ctl
/u01/ora9a/oradata/tt9a/control03.ctl
SQL> select dbid from v$database;
select dbid from v$database
*
ERROR at line 1:
ORA-00210: cannot open the specified controlfile
ORA-00202: controlfile: ‘/u01/ora9a/oradata/tt9a/control01.ctl’
ORA-27041: unable to open file
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
SQL>
没有控制文件,查询失败
现在将SNAPSHOT CONTROLFILE copy到对应目录,尝试直接恢复成控制文件:
SQL> !
$ pwd
/u01/ora9a/oradata/tt9a
$ cp /u01/ora9a/product/9.2/dbs/snapcf_tt9a.f control01.ctl
$ cp control01.ctl control02.ctl
$ cp control01.ctl control03.ctl
$ ls -lrt cont*
-rw-r—– 1 ora9a dba 1531904 Feb 24 10:55 control01.ctl
-rw-r—– 1 ora9a dba 1531904 Feb 24 10:55 control02.ctl
-rw-r—– 1 ora9a dba 1531904 Feb 24 10:55 control03.ctl
$
注意,此时不要起停数据库,否则这样恢复的控制文件仍不可用
尝试查询control file信息
SQL> select dbid from v$database;
DBID
———-
3459515476
SQL>
ok,成功
查询数据文件头信息
SQL> select CHECKPOINT_CHANGE# from v$datafile_header;
select CHECKPOINT_CHANGE# from v$datafile_header
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [2170], [], [], [], [], [], [], []
SQL>
失败
现在重新启动数据库,看看是否可以到mount状态:
SQL> shutdown immediate
ORA-00600: internal error code, arguments: [kccchb_1], [356], [353], [0], [353], [0], [], []
SQL> shutdown abort;
ORACLE instance shut down.
SQL>
SQL> startup
ORACLE instance started.
Total System Global Area 320569400 bytes
Fixed Size 741432 bytes
Variable Size 285212672 bytes
Database Buffers 33554432 bytes
Redo Buffers 1060864 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL>
ok,此时数据库可以mount起来了
SQL>
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: ‘/u01/ora9a/oradata/tt9a/system01.dbf’
提示需要恢复
SQL> recover database using backup controlfile;
ORA-00279: change 349227 generated at 02/24/2009 10:49:58 needed for thread 1
ORA-00289: suggestion : /u01/arch/1_1.dbf
ORA-00280: change 349227 for thread 1 is in sequence #1
Specify log: {}
AUTO
ORA-00328: archived log ends at change 347581, need later change 349227
ORA-00334: archived log: ‘/u01/arch/1_1.dbf’
SQL> recover database using backup controlfile;
ORA-00279: change 349227 generated at 02/24/2009 10:49:58 needed for thread 1
ORA-00289: suggestion : /u01/arch/1_1.dbf
ORA-00280: change 349227 for thread 1 is in sequence #1
Specify log: {}
/u01/ora9a/oradata/tt9a/redo01.log
Log applied.
Media recovery complete.
SQL> alter database open resetlogs;
Database altered.
SQL>
恢复成功
SQL> select no,to_char(vdate,’yyyy-mm-dd hh24:mi:ss’) from test order by vdate;
NO TO_CHAR(VDATE,’YYYY-MM-DDHH24:MI:SS’)
———- ———————————————————
1 2009-02-24 10:16:09
2 2009-02-24 10:25:30
3 2009-02-24 10:26:56
4 2009-02-24 10:30:59
5 2009-02-24 10:51:01
SQL>
ok,新插入的数据也在。
Hey! Fantastic blog! I happen to be a daily visitor to your site (somewhat more like addict ) of this website. Just wanted to say I appreciate your blogs and am looking forward for more!
标签云集
3条博客收费3900元 asmm 会自动推送 imp/exp导入导出 linux6 mysql ORACLE ORACLE11g oracle优化 oracle 停止job oracle函数 oracle备份与恢复 oracle失效对象重新编译 ORACLE安全 oracle安装 oracle开发 oracle 异常 oracle异常 oracle教材 oracle 权限管理 sWww Hotgirlsfilm Girls Id Pedia:G%C4%83se%C8%99te %C8%99i Repar%C4%83 Un Ciot Hot Girls Film oracle snapcf_.f/ SNAPSHOT CONTROLFILE 什么作用? | ANBOBf g 5 1 eWww Hotgirlsfilm Girls Id Pedia:G%C4%83se%C8%99te %C8%99i Repar%C4%83 Un Ciot Hot Girls Film oracle snapcf_.f/ SNAPSHOT CONTROLFILE 什么作用? | ANBOBd h 668%E9%BB%84%E8%89%B2%E7%94%B5%E5%BD%B1%E5%B0%8F%E7%94%B5%E5%BD%B1