RE: Slow running Query.
- From: "Lex de Haan" <lex.de.haan@xxxxxxxxxxxxxx>
- To: <oracle-l@xxxxxxxxxxxxx>
- Date: Tue, 22 Jun 2004 18:45:57 +0200
Juan,
unfortunately sum(nvl(column,0)) is not equivalent to nvl(sum(column),0)...
Kind regards,
Lex.
---------------------------------------------
visit my website at http://www.naturaljoin.nl
---------------------------------------------
-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Juan Carlos Reyes
Pacheco
Sent: Tuesday, June 22, 2004 17:15
To: oracle-l@xxxxxxxxxxxxx
Subject: RE: Slow running Query.
Hi, I will do t he following
Try creating function indexes on composed columns you are queryin and tellme
if this improves something
For example you are using as_date in the where column, but you don't have a
index on substr(ca_date,1,4,....
Only to avoid unncesary plsql work
1. instead sum(nvl(column,0)) I'll use nvl(sum(column),0
2. instead of decode use case
-- Binary/unsupported file stripped by Ecartis --
-- Type: text/x-vcard
-- File: Lex de Haan.vcf
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
- Follow-Ups:
- RE: Slow running Query.
- From: Juan Carlos Reyes Pacheco
- References:
- RE: Slow running Query.
- From: Juan Carlos Reyes Pacheco
Other related posts:
- » Slow running Query.
- » Re: Slow running Query.
- » RE: Slow running Query.
- » Re: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- » RE: Slow running Query.
- RE: Slow running Query.
- From: Juan Carlos Reyes Pacheco
- RE: Slow running Query.
- From: Juan Carlos Reyes Pacheco