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: help needed in tuning query

Re: help needed in tuning query

From: Bricklen <bricklen-rem_at_yahoo.comz>
Date: Wed, 04 Aug 2004 18:20:52 GMT
Message-ID: <8O9Qc.26769$T_6.15729@edtnps89>


Sharkie wrote:
<snip>
> Can anyone explain it??? How can a simple date function cause so much
> slow down?
> The difference in time execution is tremendous.
> Any other ideas on what's causing all the recursive calls and db block
> gets?
>
> Note that the content table has a compound index of
> (contenttypeintid, statusintid, to_char(adddate))
> No index exist on upper(searchstring) since it's a varchar(4000) field
> and I get:
> ORA-01450: maximum key length (3218) exceeded
some quick thoughts...
- implicit date conversions happening?
- function based indices?
try this: 'ELECTRONIC%'
instead of this: '%ELECTRONIC%' (if possible) Received on Wed Aug 04 2004 - 13:20:52 CDT

Original text of this message

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