Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: count(*)
Lisa,
I don't see why there would be a difference either. Also, autotrace gives
the same execution plan and statistics for both.
Henry
-----Original Message-----
From: Koivu, Lisa [mailto:lkoivu_at_qode.com]
Sent: Thursday, October 26, 2000 11:16 AM
To: Multiple recipients of list ORACLE-L
Subject: count(*)
good morning -
What query uses less resources:
select count(*) from table;
or
select count('x') from table;
I don't think there is a difference, the plans are the same, and both are
not column specific.
Comments anyone?
Thanks
Lisa Rutland Koivu
Oracle Database Administrator
Qode.com
4850 North State Road 7
Suite G104
Fort Lauderdale, FL 33319
V: 954.484.3191, x174 F: 954.484.2933 C: 954.658.5849
"The information contained herein does not express the opinion or position of Qode.com and cannot be attributed to or made binding upon Qode.com." Received on Thu Oct 26 2000 - 10:24:44 CDT
![]() |
![]() |