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: ORDER BY and performances

Re: ORDER BY and performances

From: Chris Boyle <cboyle_at_no.spam.hargray.com>
Date: Mon, 13 Nov 2000 13:50:19 -0500
Message-ID: <8upd5s$7a8s$1@news3.infoave.net>

Something else to consider is how many indexes actually are on the table. I 'seem' to remember that having too many indexes actually would slow down a query.
Alexandre Guillien <aguillien_at_tetraconcept.com> wrote in message news:39EC79D2.F7762323_at_tetraconcept.com...
> Hello,
>
> I am asking myself questions whether I am stupid or Oracle has a very
> weak point.
>
> I use Oracle 8.1.6. I have a table : Articles with several fields,
> including ArticleCode and a unique index on ArticleCode. There are also
> several other indexes for other purposes.
> The table has currently 30.000 records.
>
> When I do : SELECT * FROM Articles ORDER BY ArticleCode, the query is
> more than 60 seconds long.
>
> I did some Analyze Table and Analyze Index but it didn't change
> anything. The Explain Plan always sends me a most stupid plan ... and
> the query is still very slow ...
>
> From now on, the only solution I found was to force it to scan with the
> best index (option /*+ INDEX_ASC (Articles IndexArticleCode) */). It is
> exactly what I need, but it doesn't suits me (there are problems with
> this option in Oracle 8.0.5 on queries with several joins).
>
> Could anybody here tell me if Oracle KNOWS how to use indexes in ORDER
> BY operations ? And, if Yes, how to make it doing so ?
>
> Thanks,
>
> Alexandre Guillien
>
Received on Mon Nov 13 2000 - 12:50:19 CST

Original text of this message

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