Re: Q: Performance
From: Lee Parsons <lparsons_at_eskimo.com>
Date: 1995/06/05
Message-ID: <D9pKp1.9vB_at_eskimo.com>#1/1
Date: 1995/06/05
Message-ID: <D9pKp1.9vB_at_eskimo.com>#1/1
>> 2. Are there performance differences between:
>> ---------------------------------------------
>> A. Select count(*) ...
>> B. Select count(rownum) ...
>> C. Select count('x') ....
>
>No.
I got the following timings when I tested it:
select count(*) from foobar Elapsed: 00:00:03.07 select count(1) from foobar Elapsed: 00:00:03.74 select count(rownum) from foobar Elapsed: 00:00:04.95
I got these numbers consistantly.
-- Regards, Lee E. Parsons Systems Oracle DBA lparsons_at_world.std.comReceived on Mon Jun 05 1995 - 00:00:00 CEST