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: Validate index

RE: Validate index

From: Powell, Mark D <mark.powell_at_eds.com>
Date: Fri, 6 Aug 2004 10:15:46 -0400
Message-ID: <564DE4477544D411AD2C00508BDF0B6A2133DE53@usahm018.exmi01.exch.eds.com>

But an online validation will not populate index_stats which would be useful for finding indexes with poor space usage chrematistics. Being that this is the whole point of running validate index in this case I think the best alternate is to manually calculate the space requirement of the index and then compare this to the actual usage. If the index is twice the calculated requirement then it is probably worth rebuilding from a space management point of view. Rebuilding will not help select performance and could harm insert performance if the indexed column values repeat. Repeating keys would have to go into existing, probably full, blocks causing block splits. Assigning an adequate pct_free on the rebuild would help avoid this problem. But when disk space is limited reclaiming space can become a required activity.

IMHO -- Mark D Powell --

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Feighery Raymond Sent: Friday, August 06, 2004 9:55 AM
To: 'oracle-l_at_freelists.org'
Subject: RE: Validate index

ANALYZE ... VALIDATE INDEX will put a shared lock on the table preventing DML.
Unless you are using 9i or later, when you can use the ONLINE option.

Impact: it depends.

Ray

-----Original Message-----

From: jaysingh1_at_optonline.net [mailto:jaysingh1_at_optonline.net] Sent: Friday, August 06, 2004 2:38 PM
To: oracle-l_at_freelists.org
Subject: Validate index

Hi All,

Does validate index (pk index) enforce any exclusive lock on the table?

The reason I am asking is that we are trying to validate few indexes(to find out fregmentation) on production (while the site is live). What could be the impact on parent table?

Thanks
Sami



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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Fri Aug 06 2004 - 09:13:21 CDT

Original text of this message

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