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(*) in Oracle and MySQL

Re: Select count(*) in Oracle and MySQL

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Tue, 09 Oct 2007 20:11:00 +0200
Message-ID: <fegg7l$e4s$1@news5.zwoll1.ov.home.nl>


Mladen Gogala wrote:
> SQL> select /*+ index_ffs(no,PK_NI_OCCURRENCE_ID) */
> 285395625
> SQL> select count(*) from ni_occurrence;
> 285396154
>

I do hope the table you used in this example is heavily used, and that that usage explains for the increase in count.

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Tue Oct 09 2007 - 13:11:00 CDT

Original text of this message

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