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: Queries running slow during a batch process

Re: Queries running slow during a batch process

From: SL <sebastien-louchart_at_wanadoo.fr>
Date: 20 Sep 2006 07:45:54 -0700
Message-ID: <1158763554.607309.65630@h48g2000cwc.googlegroups.com>

Ferrari_NYC a écrit :

> Hello
>
> We do have a batch process which runs a bunch of inserts, updates and
> select statments.
>
> Some of the SELECT statments are taking around 1-2 secs on empty
> tables. We took the SQL from the batch and runned it into SQL*Plus and
> PL/SQL Developer and we found that were doing some full scan in some
> tables. We created an index which dropped the time to 0.03 secs, which
> is perfect. In the batch, the statments are still taking 1-2 secs to
> run, so we start looking into the V$SQL table and we found that the
> statments that are taking that amount of time has the OPTIMIZER_MODE
> column in V$SQL set to NONE.
>
> What does that really means?

Hello,

What is the value of the init parameter optimizer_mode ? Are the CBO statistics properly gathered and up-to-date ?

Besides, what are Oracle version and platform OS type&version ?

-- 
SL
Received on Wed Sep 20 2006 - 09:45:54 CDT

Original text of this message

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