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: select count(*)

Re: select count(*)

From: Roman Starek <starek_at_pluto.spsselib.hiedu.cz>
Date: 2000/07/28
Message-ID: <8lrcsg$j8g$2@crax.cesnet.cz>#1/1

: I have a table of 10 million rows with 20 columns

select count (*) is usally done through full table scan. Forcing some suitable index is possible to do this operation through fast full scan of index. Indexes are usually smaller in size so counting will be faster. See dba_segments view sizes of objects.

        Starous Received on Fri Jul 28 2000 - 00:00:00 CDT

Original text of this message

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