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: Two "create table as select" locking?

Re: Two "create table as select" locking?

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 24 Aug 2001 14:14:03 +0100
Message-ID: <998658673.14824.0.nnrp-13.9e984b29@news.demon.co.uk>

Perhaps the partitioned table is a clue - there are bugs in library cache locking for partitioned tables. Maybe there was a sequence of

    pin table definition
    pin partition definition
or similar, that caused the two sessions to collide.

Another place to look when this happens is v$session_wait to find out what it is that each session is waiting for (like 'latch free'. 'enqueue', 'library cache' etc.) and whether a session is WAITING for a very long time, or doing lots of short waits and backing off and trying again.

--
Jonathan Lewis

Host to The Co-Operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

Author of:
Practical Oracle 8i: Building Efficient Databases
See http://www.jlcomp.demon.co.uk/book_rev.html

For latest news of public appearances
See http://www.jlcomp.demon.co.uk

Screen saver or Life saver: http://www.ud.com
Use spare CPU to assist in cancer research.




Greg Simpson wrote in message ...

>
>>Were the tables partitioned ?
>>
>
>The tables being selected from are partitioned. The tables being create are
>not.
>
>
>I'll pass along the tip about looking at v$lock and dba_kgllock. Maybe that
>will provide a clue to what's going on.
>
Received on Fri Aug 24 2001 - 08:14:03 CDT

Original text of this message

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