Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Analyze table and locking
Sorry but it is true. I have a 7.3.3 database and if it can't acquire a table lock it cannot do the compute.
-----Original Message-----
Sent: Wednesday, May 30, 2001 1:03 PM
To: Multiple recipients of list ORACLE-L
At 8:10 -0800 30/5/01, Riyaj_Shamsudeen_at_i2.com wrote:
>In earlier versions (7.3 ?) 'analyze ..compute' used to take table
>level locks. From 8 onwards, compute or estimate does not take any
>table level or row level locks at all...
Sorry, not true. From at least 7.2.3 (the oldest I have here) there was no table-level locking for any analyze statement.
As for the preferment for estimate, Oracle has the last laugh - if you estimate on a percentage greater than 50% or specify rows greater than half the number of rows in the table, Oracle analyzes the entire table.
Regards
Paul Miller
-- - Carib Data Limited <mailto:millerp_at_caribdata.co.uk> <http://www.caribdata.co.uk> -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: PD Miller INET: millerp_at_caribdata.co.uk 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Kimberly Smith INET: kimberly.smith_at_gmd.fujitsu.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 May 30 2001 - 16:46:12 CDT