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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Tuning query

Re: Tuning query

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Tue, 3 Dec 2002 10:16:02 -0000
Message-ID: <3dec8462$0$706$ed9e5944@reading.news.pipex.net>


Learn to use your posting software Niall! "Niall Litchfield" <n-litchfield_at_audit-commission.gov.uk> wrote in message news:3deb7b2a$0$711$ed9e5944_at_reading.news.pipex.net...
> I have two (very) similar queries which execute in radically different
> timescales.

<snip detail>

What I should have added was that (unless I can't read) the execution plans are the same, which isn't a huge surprise because the queries are actually designed to return the same set of data (there aren't any values in AAGDAENQ3 for clients other than 'AC'). What is confusing me a bit is why the second query should visit an order of magnitude more blocks (4million not 300k).

--
Niall Litchfield
Oracle DBA
Audit Commission UK
*****************************************
Please include version and platform
and SQL where applicable
It makes life easier and increases the
likelihood of a good answer

******************************************
Received on Tue Dec 03 2002 - 04:16:02 CST

Original text of this message

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