Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Full table scan and select count(*)
Rick Denoire <100.17706_at_germanynet.de> wrote:
> I was trying to find the best value of db_file_multiblock_read_count
> in order to improve full table scans.
>
> So to test the effect of this setting, I started issuing the command
> select count(*) from tabq;
> tabq hast several Million rows.
>
> I got different results that surprise me a lot:
> PARAMETER Command Time
> 64 as above 12 sec
> 64 /*+ FULL(TABQ)*/ 57 sec
Oracle can count the number or rows using an index, as long as at least one of the columns in the index is not null.
Xho
-- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GBReceived on Mon Apr 21 2003 - 11:15:13 CDT
![]() |
![]() |