Re: Does 'Analyze Index <IndexName> Validate Structure' Lock for DML Operations?

From: Mladen Gogala <mgogala_at_adelphia.net>
Date: Sun, 25 May 2003 07:18:13 GMT
Message-ID: <pan.2003.05.25.07.18.14.255496_at_adelphia.net>


On Thu, 22 May 2003 17:57:02 -0700, SAP BASIS Consultant wrote:

> Hello,
>
> Does the 'Analyze Index Valdiate Structure' lock the table for inserts,
> updates and deletes in Oracle v8.1.6?

The 'analyze index validate structure' command needs a current structure which is not being modified as the command is running. The only way to achieve that is to put a shared lock on the table. Shared locks usually do prevent transaction locks and, thus, any DML on the table.

-- 
Mladen Gogala
Software is like sex, it is better when it is free.
Linus Torvalds 
Received on Sun May 25 2003 - 09:18:13 CEST

Original text of this message