Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: DDL & long-running query

Re: DDL & long-running query

From: <tim.kearsley_at_milton-keynes.gov.uk>
Date: 11 May 2005 03:50:12 -0700
Message-ID: <1115808612.684437.146440@g43g2000cwa.googlegroups.com>


I don't believe this is correct. The OP mentioned a long-running QUERY. Surely a query holds no locks and the ALTER TABLE command would therefore complete without any problem?

Tim Kearsley
HBS Milton Keynes

DA Morgan wrote:
> John wrote:
>
> > Hi all,
> >
> > I am not sure how to answer this question:
> > "What happens if you run a DDL, say alter table, on a table
currently
> > being accessed by a long-running query?"
> >
> > Would the query fail?
> >
> >
> > John
>
> The ALTER TABLE hangs until it can obtain the required lock.
> --
> Daniel A. Morgan
> University of Washington
> damorgan_at_x.washington.edu
> (replace 'x' with 'u' to respond)
Received on Wed May 11 2005 - 05:50:12 CDT

Original text of this message

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