Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 14239 invoked from network); 8 Aug 2008 06:06:09 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by air964.startdedicated.com with SMTP; 8 Aug 2008 06:06:08 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id EC9F88D668D;
 Fri,  8 Aug 2008 07:06:02 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 05102-04-12; Fri, 8 Aug 2008 07:06:02 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 20B738D66F0;
 Fri,  8 Aug 2008 07:06:01 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 08 Aug 2008 07:04:04 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 374D48D664E	for <oracle-l@freelists.org>; Fri,  8 Aug 2008 07:04:04 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])	by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)	with ESMTP id 04129-02-20 for <oracle-l@freelists.org>;	Fri, 8 Aug 2008 07:04:04 -0400 (EDT)
Received: from kbspmxp1.starhub.net.sg (kbsmtao183.starhub.net.sg [203.116.2.183])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 93C788D6664	for <oracle-l@freelists.org>; Fri,  8 Aug 2008 07:04:03 -0400 (EDT)
Received: from southgate.starhub.net.sg (southgate.starhub.net.sg [203.117.3.5])	by kbspmxp1.starhub.net.sg (8.13.7+Sun/8.13.7) with ESMTP id m78B3Wkh002933	for <oracle-l@freelists.org>; Fri, 8 Aug 2008 19:03:33 +0800 (SGT)
X-SBRS: 3.6
X-HAT: Message received through Sender Group RELAY,Policy $RELAY applied.
Received: from kbsmtao2.starhub.net.sg ([203.116.2.167])  by surfgate2.starhub.net.sg with ESMTP; 08 Aug 2008 19:04:01 +0800
Received: from windows01 ([218.186.247.5]) by kbsmtao2.starhub.net.sg (Sun Java System Messaging Server 6.2-9.07 (built Oct 18 2007)) with ESMTPP id <0K5A0067A42O3L80@kbsmtao2.starhub.net.sg> for oracle-l@freelists.org; Fri, 08 Aug 2008 19:04:00 +0800 (SGT)
Date: Fri, 08 Aug 2008 19:03:59 +0800
From: Tanel Poder <tanel.poder.003@mail.ee>
Subject: RE: [Fwd: Re: 10046 trace - unaccounted for time]
In-reply-to: <4749.206.227.160.10.1218134974.squirrel@lady.zephyrus.com>
To: kmoore@zephyrus.com
Cc: "'oracle-l'" <oracle-l@freelists.org>
Message-id: <7E714864A7624020BDD4350C45CF4A1B@windows01>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
Content-Type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
References: <14069.206.227.160.10.1218131668.squirrel@lady.zephyrus.com> <4749.206.227.160.10.1218134974.squirrel@lady.zephyrus.com>
X-archive-position: 9992
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: tanel.poder.003@mail.ee
Precedence: normal
Reply-to: tanel.poder.003@mail.ee
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

The reason why you didn't see any cursor using that CPU time could be due
how some Oracle calls are handled.

For example when you run "describe xyz" in sqlplus, that describe command
does not go through normal cursor parse/execute/fetch cycle. In fact there
is no library cache cursor associated with this call at all (describe calls
opidsc directly in kernel).

The same goes with LOB data operations. The INSERT INTO ... statement itself
is parsed and a shared cursor is generated for it, but the lob data load
operations will bypass this cursor execution mechanism and call the data
loading functions directly. The direct load interface probably behaves the
same way.

In summary - as these operations bypass normal cursor execution, they also
don't hit any cursor instrumentation codepath. However if these operations
hit some waits, then these are instrumented and reported as waits for CURSOR
#0 (which is kind of pseudocursor).

Some relevant info is here:

http://vsadilovskiy.wordpress.com/2007/10/29/trace-and-statspack-lob-1/

--
Regards,
Tanel Poder
http://blog.tanelpoder.com
 

> -----Original Message-----
> From: oracle-l-bounce@freelists.org 
> [mailto:oracle-l-bounce@freelists.org] On Behalf Of Keith Moore
> Sent: Friday, August 08, 2008 02:50
> To: kmoore@zephyrus.com
> Cc: oracle-l
> Subject: Re:[Fwd: Re: 10046 trace - unaccounted for time]
> 
> Can anyone tell me whether moving the blob to a different 
> tablespace will cause the index to be rebuilt. I know the 
> index moves so it seems like it would need to be rebuilt but 
> just wanted to confirm.
> 
> Keith
> 
> > Thanks. We have confirmed it is some type of LOB index corruption.
> >
> > Insert to BLOB stored inline works fine.
> > Insert to BLOB stored out of line (one row, 5MB blob) takes 
> 4 minutes 
> > Insert to BLOB stored out of line (new copy of table) takes 
> 0.125 seconds.
> >
> > We are now rebuilding table.
> >
> > Thanks to everyone for their help.
> >
> > Keith
> >
> 
> 
> --
> http://www.freelists.org/webpage/oracle-l
> 
> 

--
http://www.freelists.org/webpage/oracle-l


