Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: number of rows in a table
COUNT(1) or COUNT(ROWID) are supposedly faster.
COUNT(*) requires internal checks that can cause a slowdown.
I've run some tests that seem to verify that the above two methods can be faster on large tables.
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Mon May 03 1999 - 12:40:15 CDT
![]() |
![]() |