Tweet
Which one to use? COUNT(*) or COUNT(1)? Tom Kyte’s answer.
COUNT(*)
COUNT(1)
Related articles:
More: http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1156159920245 http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1156151916789
Connor McDonald: http://www.oracledba.co.uk/tips/count_speed.htm
Jonathan Lewis: http://www.jlcomp.demon.co.uk/faq/count_rows.html
Cheers, Robert
More: http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1156159920245 http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1156151916789
Connor McDonald: http://www.oracledba.co.uk/tips/count_speed.htm
Jonathan Lewis: http://www.jlcomp.demon.co.uk/faq/count_rows.html
Cheers, Robert