MySQL Forums
Forum List  »  Performance

Re: count(*) or count(id)
Posted by: Ra Nala
Date: June 28, 2016 06:26AM

why i need accurate solution is.

I am trying to load millions of records using chunk wise iteration in one of my ETL tool. as of now i used count(*) but now i want to swith it to count(id).

If there are any chances to get wrong results using count(id) ? thats why i am requesting.

Options: ReplyQuote


Subject
Views
Written By
Posted
4351
June 28, 2016 06:22AM
Re: count(*) or count(id)
1387
June 28, 2016 06:26AM
1198
June 28, 2016 05:18PM
1351
July 04, 2016 01:04PM
998
July 06, 2016 12:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.