Surprising benchmark count(1) vs. count(*)

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Surprising benchmark count(1) vs. count(*)
Дата
Msg-id df354b76-a645-73fc-9645-4508e5291d71@gmx.net
обсуждение исходный текст
Ответы Re: Surprising benchmark count(1) vs. count(*)  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-performance
https://blog.jooq.org/2019/09/19/whats-faster-count-or-count1/

Is there a reason why count(*) seems to be faster? 




В списке pgsql-performance по дате отправления:

Предыдущее
От: Michael Lewis
Дата:
Сообщение: Re: pg12 - migrate tables to partitions structure
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Surprising benchmark count(1) vs. count(*)