- 最后登录
- 2014-4-9
- 在线时间
- 95 小时
- 威望
- 0
- 金钱
- 268
- 注册时间
- 2012-6-24
- 阅读权限
- 10
- 帖子
- 78
- 精华
- 0
- 积分
- 0
- UID
- 528
|
1#
发表于 2013-4-22 12:41:13
|
查看: 4532 |
回复: 3
DB 10.2.0.4
OS redhat 5.8
昨天在检查V$database_block_corruption发现有许多坏块,type都为logical。
查看block对应关系都为同一个表HB_PRODUCE_SOURCE.TEMP_POIPOOL_W 及相关的index。
这个表是4/12上午10点左右expdp导入的。
下面查询也可看出时间为4/12- SQL> select FILE#,UNRECOVERABLE_CHANGE#, UNRECOVERABLE_TIME,CREATE_BYTES ,FIRST_NONLOGGED_SCN, FIRST_NONLOGGED_TIME
- from v$datafile where file#=5;
- FILE# UNRECOVERABLE_CHANGE# UNRECOVER CREATE_BYTES FIRST_NONLOGGED_SCN FIRST_NON
- ---------- --------------------- --------- ------------ ------------------- ---------
- 5 9852189 12-APR-13 5368709120 9843767 12-APR-13
- RMAN> list backup summary;
复制代码 尝试使用backup validate datafile,backup validate check logical database; 检测坏块任然存在
尝试坏块修复- RMAN> blockrecover corruption list;
- Starting blockrecover at 21-APR-13
- using channel ORA_DISK_1
- RMAN-00571: ===========================================================
- RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
- RMAN-00571: ===========================================================
- RMAN-03002: failure of blockrecover command at 04/21/2013 17:30:40
- ORA-19680: some blocks not recovered. See trace file for details
- ORA-04030: out of process memory when trying to allocate 8728 bytes (pga heap,iobuf_krbrblk)
- backup validate datafile 5;
复制代码 再次检查V$database_block_corruption,坏块仍然存在
rman的trace如下- /u01/orabase/admin/averify/udump/averify_ora_27758.trc
- Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
- With the Partitioning, OLAP, Data Mining and Real Application Testing options
- ORACLE_HOME = /u01/orabase/db
- System name: Linux
- Node name: 3FORAverify
- Release: 2.6.18-308.el5
- Version: #1 SMP Fri Jan 27 17:17:51 EST 2012
- Machine: x86_64
- Instance name: averify
- Redo thread mounted by this instance: 1
- Oracle process number: 27
- Unix process pid: 27758, image: oracle@3FORAverify (TNS V1-V3)
- *** 2013-04-21 16:49:20.739
- *** ACTION NAME:(0000037 FINISHED60) 2013-04-21 16:49:20.732
- *** MODULE NAME:(rman@3FORAverify (TNS V1-V3)) 2013-04-21 16:49:20.732
- *** SERVICE NAME:(SYS$USERS) 2013-04-21 16:49:20.732
- *** SESSION ID:(1640.44) 2013-04-21 16:49:20.732
- Recovery target incarnation = 2, activation ID = 0
- Influx buffer limit = 860865 (50% x 1721730)
- Successfully allocated 16 recovery slaves
- Using 70 overflow buffers per recovery slave
- Start recovery at thread 1 ckpt scn 10414190 logseq 67 block 4631
- *** 2013-04-21 16:49:21.191
- Media Recovery add redo thread 1
- *** 2013-04-21 16:49:21.194
- Recovery of Online Redo Log: Thread 1 Group 2 Seq 67 Reading mem 0
- File 4 (stop scn 10415433) completed recovery at checkpoint scn 10415434
复制代码 |
|