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: Post - Recovery Identification of Indexes Created with the NO

RE: Post - Recovery Identification of Indexes Created with the NO

From: Hately Mike <Mike.Hately_at_churchill.com>
Date: Wed, 05 Jun 2002 05:28:30 -0800
Message-ID: <F001.00474DF6.20020605052830@fatcity.com>


Hi,
The problem with this is that the blocks couldn't be recovered because you used the NOLOGGING option. They are therefore flagged as corrupt. You may have found that blocks flagged as corrupt will have been logged in you alert log during the recovery operation. All of the objects that were created using NOLOGGING will be in the same state and it may be easier to tackle the problem from this angle rather than examining each block.
If you're not sure which objects were created in this fashion then dbv will be able to identify corrupted blocks which you can then analyse in the manner you've described.

The indexes will still show as VALID because in a logical sense nothing has happened to invalidate them. The fact that the blocks comprising the indexes are corrupt is (in a data dictionary sense) immaterial.

Regards,
Mike Hately,
Oracle DBA

-----Original Message-----
Sent: 05 June 2002 13:33
To: Multiple recipients of list ORACLE-L NOLogging Option

After Completion of Recovery , an Index which had been Created wirth CREATE INDEX .... NOLOGGING Command , when Attempting to use in a SQL Query Gave the Error ORA-1578 ORACLE data block corrupted (file # %s, block # %s)

The respective Block & file IDs we were able to Identify the Corrupt Index by using the Query
select segment_name from sys.dba_extens where file_id = <File Number Given with ORA-1578 Error > and <Block Number Given with ORA-1578 Error > between (block_id and block_id+blocks -1);

Qs Is there any Other Way to find Out Such a List of Corrupt Indexes which Had
been Created with the NOLOGGING Option after Completion of recovery ?

NOTE STATUS = VALID in sys.dba_indexes for the respective index Post-Recovery

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: VIVEK_SHARMA
  INET: VIVEK_SHARMA_at_infosys.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).  

This email and any attached to it are confidential and intended only for the individual or
entity to which it is addressed. If you are not the intended recipient, please let us know
by telephoning or emailing the sender. You should also delete the email and any attachment
from your systems and should not copy the email or any attachment or disclose their content
to any other person or entity. The views expressed here are not necessarily those of
Churchill Insurance Group plc or its affiliates or subsidiaries. Thank you. Churchill Insurance Group plc. Company Registration Number - 2280426. England.
Registered Office: Churchill Court, Westmoreland Road, Bromley, Kent BR1 1DP.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Hately Mike
  INET: Mike.Hately_at_churchill.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 Wed Jun 05 2002 - 08:28:30 CDT

Original text of this message

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