dbTalk Databases Forums  

Block Corruption in empty pages in Oracle 11g

comp.databases.oracle.server comp.databases.oracle.server


Discuss Block Corruption in empty pages in Oracle 11g in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
zigzagdna
 
Posts: n/a

Default Block Corruption in empty pages in Oracle 11g - 08-04-2010 , 10:08 PM






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.

Reply With Quote
  #2  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-05-2010 , 06:54 AM






On Wed, 04 Aug 2010 20:08:15 -0700, zigzagdna wrote:

Quote:
Another strange thing I noticed:
1. When doing export backup, export backup reports about corrupted
blocks.
Export is not a backup.

Quote:
2. When I do expdp no errors are reported. So question is why is exp
command checking empty blocks?
Because it's doing full table scans. Full table scan stops at HWM, not
before. Also, exp utility is deprecated in 11.2. Do not use it.





--
http://mgogala.byethost5.com

Reply With Quote
  #3  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-05-2010 , 07:18 AM



On Aug 4, 11:08*pm, zigzagdna <zigzag... (AT) yahoo (DOT) com> wrote:
Quote:
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.
If the rman backup and expdp are identifying corrupted blocks what
does the following query show?

set echo off
--
-- Display corrupt block information
--
-- 20100105 Mark D Powell Save 4 future use
--
select
*
from
v$database_block_corruption
order by
file#
,block#
/

You can find the object idenfified by this query by looking at
dba_extents for the extent that the identified files and blocks are
held within.

HTH -- Mark D Powell --

Reply With Quote
  #4  
Old   
John Hurley
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-05-2010 , 07:32 AM



zigzag:

Quote:
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.
I have not seen anything similar in 11.1.0.7 ...

My experience with any block corruption issues has always been storage
related or from unexpected system failures ... in other words shaky
hardware in one form or another.

Any reason you are not patched up to 11.1.0.7.4 ? I have seen some
hpux specific things in the bug lists but not looked closely since we
do not run any databases on hpux any longer.

Reply With Quote
  #5  
Old   
zigzagdna
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-05-2010 , 11:59 AM



On Aug 5, 8:18*am, Mark D Powell <Mark.Powe... (AT) hp (DOT) com> wrote:
Quote:
On Aug 4, 11:08*pm, zigzagdna <zigzag... (AT) yahoo (DOT) com> wrote:





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.

If the rman backup and expdp are identifying corrupted blocks what
does the following query show?

set echo off
--
-- Display corrupt block information
--
-- 20100105 *Mark D Powell * Save 4 future use
--
select
* *
from
* v$database_block_corruption
order by
* file#
*,block#
/

You can find the object idenfified by this query by looking at
dba_extents for the extent that the identified files and blocks are
held within.

HTH -- Mark D Powell --- Hide quoted text -

- Show quoted text -
Yes, tis query shows some block corruptions but it does not tell you
corrupted blocks are empty. When I run dbv
it does not show any corruption in data or indexes. So I am assuming
that corruption is in empty pages.

Reply With Quote
  #6  
Old   
zigzagdna
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-05-2010 , 12:03 PM



On Aug 5, 7:54*am, Mladen Gogala <gogala.mla... (AT) gmail (DOT) com> wrote:
Quote:
On Wed, 04 Aug 2010 20:08:15 -0700, zigzagdna wrote:
Another strange thing I noticed:
1. When doing export backup, export backup reports about corrupted
blocks.

Export is not a backup.

2. When I do expdp no errors are reported. So question is why is exp
command checking empty blocks?

Because it's doing full table scans. Full table scan stops at HWM, not
before. Also, exp utility is deprecated in 11.2. Do not use it.

--http://mgogala.byethost5.com
exp has been deprecatd in 11g; but expdp is way too slow in 11.1.0.7.
I have not used it in 11.2 so not sure slowness
problems got fixed. It takes me 3 hours to do a ful export; but 10
hours to do expdp. Most of time expdp seems
to be waiting doing data dictionary backup or so. Severl people have
reported slowness problem. expdp has lots of nice features but its
slowness as well as some bugs at least in 11.1 make me not use it in
production.

Reply With Quote
  #7  
Old   
joel garry
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-05-2010 , 12:19 PM



On Aug 5, 4:54*am, Mladen Gogala <gogala.mla... (AT) gmail (DOT) com> wrote:
Quote:
On Wed, 04 Aug 2010 20:08:15 -0700, zigzagdna wrote:
Another strange thing I noticed:
1. When doing export backup, export backup reports about corrupted
blocks.

Export is not a backup.
It is a logical backup. Says so right there in the docs. It has its
uses, transactional recovery is not one of them.
http://download.oracle.com/docs/cd/E...ry.htm#i997880

Quote:
2. When I do expdp no errors are reported. So question is why is exp
command checking empty blocks?

Because it's doing full table scans. Full table scan stops at HWM, not
before. Also, exp utility is deprecated in 11.2. Do not use it.

Which high water mark? Blocks up to the low high watermark are
formatted, from there to the high high watermark they are not. This
situation can occur if you use the compact option of shrink space, and
can be fixed by doing a shrink without the compact option.
http://download.oracle.com/docs/cd/E...htm#ADMIN12625

There are a couple of exceptions to the deprecation. I like the 10g
typo in the exceptions: http://download.oracle.com/docs/cd/E....htm#SUTIL3634

Of course, I don't have 11g, so this is all academic to me. I could
just be making embarrassing noises.

jg
--
@home.com is bogus.
(I used to work for a manufacturer that was noted for being the first
to make garage door openers that work in the San Diego area)
http://www.signonsandiego.com/news/2...ng-once-again/

Reply With Quote
  #8  
Old   
Steve Howard
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-05-2010 , 08:51 PM



On Aug 5, 12:59*pm, zigzagdna <zigzag... (AT) yahoo (DOT) com> wrote:
Quote:
Yes, tis query shows some block corruptions but it does not tell you
corrupted blocks are empty. When I run dbv
it does not show any corruption in data or indexes. So I am assuming
that corruption is in empty pages.
You don't have to assume, just dump the block reported by RMAN as
being corrupt.

Reply With Quote
  #9  
Old   
zigzagdna
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-06-2010 , 06:22 PM



On Aug 5, 9:51*pm, Steve Howard <stevedhow... (AT) gmail (DOT) com> wrote:
Quote:
On Aug 5, 12:59*pm, zigzagdna <zigzag... (AT) yahoo (DOT) com> wrote:



Yes, tis query shows some block corruptions but it does not tell you
corrupted blocks are empty. When I run dbv
it does not show any corruption in data or indexes. So I am assuming
that corruption is in empty pages.

You don't have to assume, just dump the block reported by RMAN as
being corrupt.
Soory, don't undestand why do you mean by dump the block.

Reply With Quote
  #10  
Old   
The Boss
 
Posts: n/a

Default Re: Block Corruption in empty pages in Oracle 11g - 08-06-2010 , 06:51 PM



zigzagdna wrote:
Quote:
On Aug 5, 9:51 pm, Steve Howard <stevedhow... (AT) gmail (DOT) com> wrote:
On Aug 5, 12:59 pm, zigzagdna <zigzag... (AT) yahoo (DOT) com> wrote:



Yes, tis query shows some block corruptions but it does not tell you
corrupted blocks are empty. When I run dbv
it does not show any corruption in data or indexes. So I am assuming
that corruption is in empty pages.

You don't have to assume, just dump the block reported by RMAN as
being corrupt.

Soory, don't undestand why do you mean by dump the block.
http://tinyurl.com/38jsprs

--
Jeroen

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.