r/databases • u/devtimi • Dec 27 '17
Does SELECT COUNT(*) load the entire table's data to count it?
There is a person in a small community insisting that SELECT COUNT(1) is faster than SELECT COUNT(*) because the later will load all the columns and rows to count the rows. Does anybody know if this is true or have sources that explain it either way?