Checking block corruption, why in alert it is saying Error in trace file
Hi,
I am using Oracle 10g 10.2.0.1 with linux 32 bit
I wanted to check block corruption using RMAN by following statement
backup validate check logical database;
when i executed the statement, following was the output
Starting backup at 09-MAY-08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=91 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00004 name=/u01/app/oracle/oradata/test/users01.dbf
input datafile fno=00008 name=/u01/app/oracle/oradata/test/workflowuser
input datafile fno=00001 name=/u01/app/oracle/oradata/test/system01.dbf
input datafile fno=00003 name=/u01/app/oracle/oradata/test/sysaux01.dbf
input datafile fno=00010 name=/u01/app/oracle/oradata/test/ifan
input datafile fno=00002 name=/u01/app/oracle/oradata/test/undotbs01.dbf
input datafile fno=00007 name=/u01/app/oracle/oradata/test/taker
input datafile fno=00009 name=/u01/app/oracle/oradata/test/testing1
input datafile fno=00005 name=/u01/app/oracle/oradata/test/brokerdb
input datafile fno=00006 name=/u01/app/oracle/oradata/test/moneio
input datafile fno=00011 name=/u01/app/oracle/oradata/test/web1
input datafile fno=00012 name=/u01/app/oracle/oradata/test/e1
input datafile fno=00013 name=/u01/app/oracle/oradata/test/ind1
channel ORA_DISK_1: backup set complete, elapsed time: 00:06:57
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 09-MAY-08
and when i do the following query
select * from v$database_block_corruption in sqlplus
then there was no row
so it means there is no logical corruption, but when i am looking at alert log file it is giving following lines
Fri May 9 10:14:04 2008
Errors in file /u01/app/oracle/admin/test/udump/test_ora_6606.trc:
Fri May 9 10:14:04 2008
Errors in file /u01/app/oracle/admin/test/udump/test_ora_6606.trc:
Fri May 9 10:14:04 2008
Errors in file /u01/app/oracle/admin/test/udump/test_ora_6606.trc
and in above trace file following contents
/u01/app/oracle/admin/test4/udump/test_ora_6606.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1
System name: Linux
Node name: test
Release: 2.6.18-5-686
Version: #1 SMP Wed Oct 3 00:12:50 UTC 2007
Machine: i686
Instance name: test
Redo thread mounted by this instance: 1
Oracle process number: 61
Unix process pid: 6606, image: oracle@test (TNS V1-V3)
*** 2008-05-09 10:14:04.093
*** ACTION NAME:(0000040 STARTED19) 2008-05-09 10:14:04.071
*** MODULE NAME:(backup full datafile) 2008-05-09 10:14:04.071
*** SERVICE NAME:(SYS$USERS) 2008-05-09 10:14:04.071
*** SESSION ID:(91.40318) 2008-05-09 10:14:04.071
Is it normal, why the in alert file it is saying that Error in.
And it did not create any backupset in folder of flash recovery but in Enterprise manager it is showing last backup on 09-may-2008, why ?
Regards,
See logical corruption is normally termed as the internal inconsistancy within the block which is not caused by Oracle but by the user.So if you find internal inconsistancy than the best option is to look at the user and ask him to get the values sorted out.If the internal inconsistancy is some thig like index fragmentation sort of things or index entry pointing to a null rowid than they are termed as the logical corruption and they should not impact your normal as he data is already there and there is no issue in reading the block as such.
The term "corrupted blocks" I would call both in the tables and backup for those data blocks which are unreadable by Oracle which actualy is Physical corruption.
If i am doing the checking at 2:00 am, does it take more than two hours.I didnt understand this.
what can we do for Physical corruptionThis will need the block to be recovered with the Block Recover command of RMAN and a good backup.Read about it here,
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta010.htm
About the Logical and Physical corruption checks , check here
http://download-west.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1012.htm
Aman....
Similar Messages
-
Block corruption problem in alert and rman/dbv no show errors
Hello, I'm new in Oracle's world. I have one problem with Oracle 10.2.0.4 (RHEL 5.6) x64. Archive redo-log enable
In the alert.log, three days ago show (the server have kernel panic & rebooted):
Mon Sep 24 18:18:17 2012
Hex dump of (file 17, block 669888) in trace file xxxxxxxxxx.trc
Corrupt block relative dba: 0x044a38c0 (file 17, block 669888)
Bad check value found during buffer read
Data in bad block:
type: 6 format: 2 rdba: 0x044a38c0
last change scn: 0x0000.14eb5309 seq: 0x1 flg: 0x04
spare1: 0x0 spare2: 0x0 spare3: 0x0
consistency value in tail: 0x53090601
check value in block header: 0x6ea3
computed block checksum: 0x2
Reread of rdba: 0x044a38c0 (file 17, block 669888) found same corrupted data
Mon Sep 24 18:18:19 2012
Corrupt Block Found
TSN = 23, TSNAME = TABLE_TSD1
RFN = 17, BLK = 669888, RDBA = 71973056
OBJN = 86908, OBJD = 86908, OBJECT = SYS_C0040110, SUBOBJECT =
SEGMENT OWNER = SCHEMA1, SEGMENT TYPE = Index Segment
Yesterday, we detected this error because SQL don't execute.
The error repeat 47times and there is 6 different file-block combination (4 index of schemas, 1 of sys and ¡2 tables!)
First, I launched expdp and exp of the one problematic schema. The export was fine, no errors while exporting, but in the alert.log show one block corruption. Should exp and expd show error and stop?
Next, I used dbv and verify all dbfs. Only show 2 blocks error in two datafiles (indexes).
Next, I used RMAN:
A) check database: no error.
B) validate database: error in two blocks (logical error) and different from the 6 in alert.log. This two blocks are indexes.
I re-create this two indexes. When i re-create, the block error disappear (not inmediate, suppose that disappear when block was rewrite). Now dbv and rman show no error.
I have read one note about types of error, other about procedures if db is in archivelog/noarchivelog. Also if object is index or table. But I find anything about auto-repair corrupt blocks in Oracle or why now the 6 block error are solved. I don't know if two tables with two block corrupt lost rows or not.
Appreciate any help.
RegardsHello Fran. Result of query before rebuild problematic INDEXES:
SQL> select * from V$database_block_corruption;
FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
3 98857 1 390928740 LOGICAL
9 48632 1 390325900 LOGICAL
When I ran RMAN first time to check blocks, it filled V$database_block_corruption with two bad blocks. Different from the 6 errors from alert.:
RMAN> backup validate check logical database;
Error backing up file 9, block 48632: logical corruption
Error backing up file 3, block 98857: logical corruption
I extracted index name from each block and I re-created it. Also, I created a temporary table in tablespace's datafile to fill blocks empty. Problem solved. Rman / dbv show no error.
I'm searching for similar experiences and found: Re: Data in bad block
First 6 bad checksum errors in alert.log disappear with any visible problem?
Can I sure that DB is fine if RMAN and DBV show no errors?
Thank you very much
Edited by: user7755509 on 27-sep-2012 5:43 -
been sat here for the past 5 hours trying to figure out why itunes wont download, it says error and something to do with Microsoft version? Help me please.. getting a bit bored?
i have this problem too
my dad thinks its because itunes is getting overloaded -
Hi why does my itunes always say "error contacting server" when i update my iPhone 5 (iOs 6.0.2) with the iOs 6.1.3 update?
Hey Tigergirl17,
Thanks for the question. If you haven't already done so, you may want to update iTunes to v11.1 (released on Sept 18th). After updating iTunes, you can then update your iPhone 5 to iOS 7.
iOS: How to update your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT4623
Thanks,
Matt M. -
Why does download manager keep saying error whenever i try to download the master collection?
Assistance with adobe download assistant needed
Hi sighzz,
Please refer :
http://helpx.adobe.com/x-productkb/global/troubleshoot-download-problems.html
http://helpx.adobe.com/tech-comm-suite/kb/troubleshoot-akamai-download-manager-3.html
Or you can follow the steps below to download Master collection directly without using the download manager.
1. Navigate to Master collection CS6 Downloads page : http://www.adobe.com/cfusion/tdrc/index.cfm?product=master_collection
2. Sign in with your Adobe ID.
3. Copy and paste the following links on the address bar one at a time and hit enter :
Adobe Master Collection CS6 English Mac
http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS16.dmg
Adobe Master Collection CS6 English Windows
http://trials2.adobe.com/AdobeProducts/STAM/CS6/win32/MasterCollection_CS6_LS16.7z
http://trials2.adobe.com/AdobeProducts/STAM/CS6/win32/MasterCollection_CS6_LS16.exe
4. Save the files.
5. Run the .exe file if on Windows or the .dmg file if on MAC. -
We are getting more frequent Block corruption alert from our production RAC (2 node) db.
if we use dbv utility to check block corruption, everything looks normal and if we check following dictionary views, we could not find any details .
GV$BACKUP_CORRUPTION, GV$COPY_CORRUPTION, GV$DATABASE_BLOCK_CORRUPTION
So do we have block corruption ? what we can do to avoid getting such alerts?Hi,
>>We are getting more frequent Block corruption alert from our production RAC (2 node) db.
What exactly error are you getting from alert log file?
>>if we use dbv utility to check block corruption, everything looks normal and if we check following dictionary views, we could not find any details
In fact, these views above displays information about corruptions in datafile and/or datafile copy backups from the control file. I think this is the wrong place to look at. In addition, there are many possible causes of a block corruption including bad IO, hardware / firmware, OS problems, Oracle problems ... Are you able to determine which database objects have affected by this problem? Have you tried take a look at some trace files?
Cheers
Legatti -
How to check & resolve block corruption if no RMAN backup is there?
*<<+MY Findings+>>*
to check block corruption :
(run command)
select * from v$database_block_corruption;
DB_VERIFY is useful in these situations:
When block corruption is expected;
Forecast any future problems w.r.t. database file/ block corruption;
When you restore files from a tape. It will help knowing if the first file pulled from tape is corrupt, instead of spending hours to extract all of them.
to check block corruption
DBVerify
C:\>dbv userid=nfadmin/nfadmin file=+DG1/nfdb/datafile/low_s_data.304.782536883 feedback=10000 blocksize=8192
can use DBMS_REPAIR to detect and repair corrupt blocks in tables and indexes
BEGIN
DBMS_REPAIR.admin_tables (
table_name => 'REPAIR_TABLE',
table_type => DBMS_REPAIR.repair_table,
action => DBMS_REPAIR.create_action,
tablespace => 'USERS');
DBMS_REPAIR.admin_tables (
table_name => 'ORPHAN_KEY_TABLE',
table_type => DBMS_REPAIR.orphan_table,
action => DBMS_REPAIR.create_action,
tablespace => 'USERS');
END;
Question* :::how to check & resolve block corruption if no RMAN backup is there?http://www.oracle.com/technetwork/database/focus-areas/availability/maa-datacorruption-bestpractices-396464.pdf
http://www.oracle-base.com/articles/misc/detect-and-correct-corruption.php -
Block Corruption in empty pages in Oracle 11g
I am using Oracle 11.1.0.7.1 on HP UNIX 11i.
On several occasions, I have been seen that block corruptions are reported by rman. I have never seen this problem in previous release of databases; but I have seen it more than once in Oracle 11g.
However, when I run dbv command; I do not see any corruption in data and index blocks; so my conclusion is block corruption is in empty pages.
Anyone has ideas why block corruption occurs in Oracle 11g. Has Oracle’s algorithm for checking block corruption have changed in 11g; I.e.; these corruptions existed in older Oracle releases but not reported by rman,
Another strange thing I noticed:
1. When doing export backup, export backup reports about corrupted blocks.
2. When I do expdp no errors are reported.
So question is why is exp command checking empty blocks?
Any insights in above will be appreciated.Can some one explain following ooutput from dbv; what is difference in
total pages failing and corrupt pages. I see
total pages marked corrupt as 1345; yet I do not see any data or index
pages marked corrupt; and there is only 1 empty page. So where are
those 1345 corrupt pages.
DBVERIFY - Verification complete
Total Pages Examined : 371200
Total Pages Processed (Data) : 328622
Total Pages Failing (Data) : 0
Total Pages Processed (Index): 38
Total Pages Failing (Index): 0
Total Pages Processed (Other): 41194
Total Pages Processed (Seg) : 0
Total Pages Failing (Seg) : 0
Total Pages Empty : 1
Total Pages Marked Corrupt : 1345
Total Pages Influx : 0
Total Pages Encrypted : 0
Highest block SCN : 3430163491 (2476.3430163491)
DBVERIFY: Release 11.1.0.7.0 - Production on Sat Aug 14 00:25:24 2010 -
Hi,
I used DBV utility to check block corruption in each datafile and it returned no corrupt block. So for redolog files i used the same utility and it given a long list of info which i can't rectify what that means? there is block corruption in redolog files or this something else.
DBVERIFY - Verification starting : FILE = /oracle/BP3/origlogA-New/log_g1m1.log
Page 1 is influx - most likely media corrupt
Corrupt block relative dba: 0x00000001 (file 0, block 1)
Fractured block found during dbv:
Data in bad block:
type: 1 format: 2 rdba: 0x00000001
last change scn: 0x8000.0002b7af seq: 0x5e flg: 0xbd
spare1: 0x0 spare2: 0x0 spare3: 0x0
consistency value in tail: 0x00000000
check value in block header: 0x0
computed block checksum: 0x0
Page 2 is marked corrupt
Corrupt block relative dba: 0x00000002 (file 0, block 2)
Bad header found during dbv:
Data in bad block:
type: 1 format: 2 rdba: 0x00000002
last change scn: 0x8010.0002b7af seq: 0x98 flg: 0x7e
spare1: 0x0 spare2: 0x0 spare3: 0x70
consistency value in tail: 0x00030003
check value in block header: 0x0
computed block checksum: 0x0
Page 3 is marked corrupt
Corrupt block relative dba: 0x00000003 (file 0, block 3)
Bad header found during dbv:
Data in bad block:
type: 1 format: 2 rdba: 0x00000003
last change scn: 0x8010.0002b7af seq: 0x4d flg: 0x21
spare1: 0x0 spare2: 0x0 spare3: 0x3f8
consistency value in tail: 0x41ffffff
check value in block header: 0x0
block checksum disabled
and goes on
Thanks and Regards
JafarHi,
DB Verify
DB_VERIFY (dbv) is a utility than can be used to perform a physical structure integrity check against off-line database files.
This utility runs perfectly well against on-line files as well, however, the manual is clear that it is an off-line utility. My assumption is that it may incorrectly report blocks as bad while I/O is taken place (fractured blocks).
DBA 's should use this utility frequently to identify datafiles that are corrupted. Some times the database will perform normally until you address a particular block in the datafile, which may then result in ORA-600 errors.
DB_VERIFY is useful in these situations:
When block corruption is expected;
Forecast any future problems w.r.t. database file/ block corruption;
When you restore files from a tape. It will help knowing if the first file pulled from tape is corrupt, instead of spending hours to extract all of them.
To access help on DB_VERIFY type:
DSS-BWDB:orabp3 2% dbv help=y
DBVERIFY: Release 10.2.0.2.0 - Production on Fri Feb 8 15:52:02 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Keyword Description (Default)
FILE File to Verify (NONE)
START Start Block (First Block of File)
END End Block (Last Block of File)
BLOCKSIZE Logical Block Size (8192)
LOGFILE Output Log (NONE)
FEEDBACK Display Progress (0)
PARFILE Parameter File (NONE)
USERID Username/Password (NONE)
SEGMENT_ID Segment ID (tsn.relfile.block) (NONE)
HIGH_SCN Highest Block SCN To Verify (NONE)
(scn_wrap.scn_base OR scn)
EXAMPLE
$ dbv file=/u01/oradata/o10gr2/example01.dbf
DBVERIFY: Release 10.2.0.1.0 - Production on Sat Jul 7 11:45:52 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
DBVERIFY - Verification starting : FILE = /u01/oradata/o10gr2/example01.dbf
DBVERIFY - Verification complete
Total Pages Examined : 12800
Total Pages Processed (Data) : 4409
Total Pages Failing (Data) : 0
Total Pages Processed (Index): 1264
Total Pages Failing (Index): 0
Total Pages Processed (Other): 1539
Total Pages Processed (Seg) : 0
Total Pages Failing (Seg) : 0
Total Pages Empty : 5588
Total Pages Marked Corrupt : 0
Total Pages Influx : 0
Highest block SCN : 470536 (0.470536)
You can use dbv utility for datafiles not for tempfiles, redolog file, controlfile etc.
download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch13.htm
Regards
Jafar -
When I go to publish my movie to you tube alert comes up saying "there was an error"
when I go to upload my movie to you tube alert comes up saying "error occurred"
I have a 27" iMac with the latest version of iTunes. I tried restoring my iPod and even removing and re-installing iTunes. What eventually worked for me was plugging into my PC and restoring/reformatting it to work with my PC. I don't know why it wouldn't work with my iMac, but now it seems to be working.
-
Minact-scn errors in Alert and Trace Files
we have enabled trace for one session ( where select query is running ) and we seen this error in trace file
can any one suggest me to resolve this issue.
--------------------------------------------------------------Trace File------------------------------------------------------------------
*** 2015-04-23 19:19:29.559
minact-scn master-status: grec-scn:0x0805.5b417ecb gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b417ecb
minact-scn master-status: grec-scn:0x0805.5b41818c gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b41818c
*** 2015-04-23 19:29:33.749
minact-scn master-status: grec-scn:0x0805.5b424c67 gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b424c67
*** 2015-04-23 19:34:36.560
minact-scn master-status: grec-scn:0x0805.5b425343 gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b425343
minact-scn master-status: grec-scn:0x0805.5b425749 gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b425749Hi,
Check support note if database is hitting a bug - Minact-Scn Master-Status: Grec-Scn Messages In Trace File (Doc ID 1361567.1)
HTH,
Pradeep -
I have no restrictions on phone. I tried to be safe and use security features like... Safe search,cookie block and such. However it keeps saying unable to download file type when I try and install any of the up to date browsers. This is interesting to say the least. Because my browser is already using the most up to date version. I have internet explorer using a windows 8 nokia
hello, the mobile version of firefox isn't available on the windows phone platform: [https://support.mozilla.org/en-US/kb/will-firefox-work-my-mobile-device#w_other-operating-systems|Will Firefox work on my mobile device?]
there have been technical and legal hurdles in the app store originally which discouraged mozilla from starting any developments in this direction. i don't know about the current situation, but since mozilla is now focusing its energies on creating firefox os as open source web-based platform, i doubt that you will see firefox on your windows phone device in the foreseeable future... -
Corrupt block relative dba: in alert log
hi,
In our recovery database,I've found following error in alert log.
Thu Mar 27 07:05:57 2008
Hex dump of (file 3, block 30826) in trace file /u01/app/oracle/admin/catdb/bdump/catdb_m000_21795.trc
Corrupt block relative dba: 0x00c0786a (file 3, block 30826)
Bad check value found during buffer read
Data in bad block:
type: 6 format: 2 rdba: 0x00c0786a
last change scn: 0x0000.0013ed4d seq: 0x1 flg: 0x06
spare1: 0x0 spare2: 0x0 spare3: 0x0
consistency value in tail: 0xed4d0601
check value in block header: 0x937c
computed block checksum: 0x8000
Reread of rdba: 0x00c0786a (file 3, block 30826) found same corrupted data
Thu Mar 27 07:05:59 2008
Corrupt Block Found
TSN = 2, TSNAME = SYSAUX
RFN = 3, BLK = 30826, RDBA = 12613738
OBJN = 8964, OBJD = 8964, OBJECT = WRH$_ENQUEUE_STAT, SUBOBJECT =
SEGMENT OWNER = SYS, SEGMENT TYPE = Table Segment
Now, how solve this error?
Thanks in advance.
LeoRefer to metalink Note:77587.1. You may need to do further sanity block checking by placing the following parameters in the database instance init.ora parameter file:
db_block_checking=true
db_block_checksum=true
dbblock_cache_protect= true
Consult Oracle support before changing hidden parameters. -
Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file but not working. What is the matter and how can I deal with it?
I am trying it on Adobe Acrobat Reader 9.2.1. Tried to fix Hex code, and also tried 'edit-preference-trust manager'. I focusing on Adobe registries but still couldn't fix the problem.
-
Does Import/Export Utility check for Block corruption?
Hi All,
Just a quick question I have is does Import/Export Utiligy check for any block corruption while importing or exporting?
If yes then does it do automatically or we have do set some parameter explicitly.
I am using oracel version 9.2.0.6.
Thx in advance.Hi yingkuan/kanchan
Thx for your prompt reply. Still I am not clear as you said that export check for the block corruption error and if there is any it will display the error message in log file. But does it copy corrupted block or skip that block or mark that block as corrupted?
Thx in advance.
- Mehul
Maybe you are looking for
-
my phone is in a diabled mode and it cant get into my phone anymore. i need to clear my phone off threw itunes but cant seem to figure it out
-
Assignment Field In Customer Line Item While Credit Note - SD
When Invoice is been Generated through SD , assignment field in Customer Line item is getting SD Invoice number. But while Generating Credit Note through SD , it is taking Customer Account number in teh same field. What could be the reason ? We need
-
Changing the xml name for forms
Hi, I am using XML forms. I am facing an issue with the autogenerated name of the document. I go to a folder ->new->form->choose an xml form, fill it up and save. The form gets saved and displayed with a autogenerated (long) name with the.xml extensi
-
[SOLVED] GNOME 3.8 annoying window resize problem
Hello all fellow early-adopters :-) A very annoying quirk I've noticed, moving from GNOME 3.6 to 3.8, is that it no longer remembers, nor retains, the size/positions I set for many of my application windows. For example, my mail client (Evolution) is
-
Does exporting "current" provide highest quality/size jpegs?
What are the default settings of the "current" option in exporting photos from iPhoto? Is it the same as choosing jpeg at highest possible quality, best resolution, etc.? I would like to export my photos in iPhoto to an external drive and would like