Re: count * performance issue

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: count * performance issue
Дата
Msg-id 20080306153639.GA19442@samfundet.no
обсуждение исходный текст
Ответ на Re: count * performance issue  (Craig James <craig_james@emolecules.com>)
Ответы Re: count * performance issue  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-performance
On Thu, Mar 06, 2008 at 07:28:50AM -0800, Craig James wrote:
> Count() on Oracle and MySQL is almost instantaneous, even for very large
> tables. So why can't Postgres do what they do?

In MySQL's case: Handle transactions. (Try COUNT(*) on an InnoDB table.)

/* Steinar */
--
Homepage: http://www.sesse.net/


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: count * performance issue
Следующее
От: Bill Moran
Дата:
Сообщение: Re: count * performance issue