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: count(*) v. count(pk)

Re: count(*) v. count(pk)

From: Venkat <vreddy_at_ix.netcom.com>
Date: Mon, 27 Apr 1998 15:16:52 -0400
Message-ID: <6i2ln3$h91@dfw-ixnews9.ix.netcom.com>


>1) Is this in fact true (that a count(*) always does a full table scan)?
**** Yes count(*) always does a FTS

>2) Isn't counting on the primary key an impossibility if the key is
comprised
>of multiple columns?

>3) Can anyone suggest any other method for quickly retieving total rows
from
>large, multi-column-PK tables?

HTH
Venkat Received on Mon Apr 27 1998 - 14:16:52 CDT

Original text of this message

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