Query on exchanged partition

  • From: <paul.baumgartel@xxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 5 Nov 2010 14:42:13 -0400

If a query on a partitioned table is in flight, and alter
table...exchange partition is issued against it, which, if any, of the
following is (are) true?

*       Partition exchange waits for query completion, since it requires
a DDL lock
*       Partition exchange occurs immediately, query uses blocks
formerly in the exchanged partition but now in the table that was
exchanged
*       Query fails when it reaches the partition, throwing "no longer
exists" error
*       Something else altogether


Paul Baumgartel
UBS AG
IB Accounting Solutions
400 Atlantic Street
Stamford, CT 06904

203.719.4368

paul.baumgartel@xxxxxxx
www.ubs.com


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

 
UBS reserves the right to retain all messages. Messages are protected
and accessed only in legally justified cases.

Other related posts: