Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Corrupt block in DBVERIFY

Re: Corrupt block in DBVERIFY

From: Christian Trassens <ctrassens_at_yahoo.com>
Date: Tue, 10 Jul 2001 00:32:06 -0700
Message-ID: <F001.003451F6.20010709234524@fatcity.com>

The workaround that first comes to my mind is to take all the objects of that tablespace and do an analyze .....validate structure. Take into account that the validate structure clause locks the object. This could be a script for that:

set pagesi 0
set feedba off
spool validate.sql
select 'analyze '||segment_type||'
'||owner||'.'||segment_name||' validate structure;' from sys.dba_segments where
tablespace=upper('&tbsp.');
spool off
set feedba on
set echo on
set pagesi 25
spool validate.out
@validate.sql
spool off

You could improve it changing the query from dba_segments. That it is an slowly view.

Regards.-
--- "Smith, Ron L." <rlsmith_at_kmg.com> wrote:
> I have a corrupt block according to DBVERIFY. The
> block is on an index so I
> can rebuild it but I don't know how to find the
> object with the information
> displayed in DBVERIFY. Can anyone tell me how to
> find the object?
>
> Thanks!
> Ron
>
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Smith, Ron L.
> INET: rlsmith_at_kmg.com
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists

>



> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from). You may
> also send the HELP command for other information
> (like subscribing).


Eng. Christian Trassens
Senior DBA
Systems Engineer
ctrassens_at_yahoo.com
ctrassens_at_hotmail.com
Phone : 541149816062

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Christian Trassens
  INET: ctrassens_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jul 10 2001 - 02:32:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US