Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Truncate table - interaction with a long running query
Truncate should require an exclusive lock, which would be incompatible with the row share lock held by the query; therefore the truncate should block (or automatically time out after 5 minutes, depending on version I think) until the query is complete.
Paul Baumgartel
CREDIT SUISSE
Information Technology
Securities Processing Databases Americas
One Madison Avenue
New York, NY 10010
USA
Phone 212.538.1143
paul.baumgartel_at_credit-suisse.com
www.credit-suisse.com
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Schauss, Peter
Sent: Wednesday, August 15, 2007 1:15 PM
To: oracle-l_at_freelists.org
Subject: Truncate table - interaction with a long running query
If one process attempts to truncate a table while another process is accessing it in a long running query, what happens? (Oracle 8.1.7.4)
Thanks,
Peter Schauss
--
http://www.freelists.org/webpage/oracle-l
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 15 2007 - 13:01:52 CDT
![]() |
![]() |