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: GROUP BY disables indexes and parallel query

Re: GROUP BY disables indexes and parallel query

From: Robert Miller <rwmiller_at_gte.net>
Date: 1997/04/16
Message-ID: <5j2pev$ls3$1@news7.gte.net>#1/1

In the select clause, the second example has count(*). This does a full table scan. No index is available or specified. Try count(col_id), where col_id is an indexed column.

-- 


Robt


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^~~~~....
Robert Miller Oracle DBA robt.miller_at_airmail.net (214) 532.6558
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^~~~~....
Any opinions expressed are my own and do not necessarily represent any employer.
Received on Wed Apr 16 1997 - 00:00:00 CDT

Original text of this message

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