Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Dead slow count(*)
I think it will always use fullscan if you use COUNT.
But I'm using Oracle 8i or maybe I'm wrong.
JP
Wolfgang Breitling wrote:
> Not always. If Oracle CAN use an index to return the correct value it will.
>
> At 05:09 PM 1/29/2004, you wrote:
>
>>If You use function COUNT, Oracle will always do fullscan!!! >>So, first question should be - Do I really need to use COUNT? >>++++++++++++++++++++++++
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu Jan 29 2004 - 19:07:42 CST
![]() |
![]() |