Re: count(*) performance improvement ideas

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: count(*) performance improvement ideas
Дата
Msg-id 19417.1205335861@sss.pgh.pa.us
обсуждение исходный текст
Ответ на count(*) performance improvement ideas  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Ответы Re: count(*) performance improvement ideas  (Bruce Momjian <bruce@momjian.us>)
Re: count(*) performance improvement ideas  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Re: count(*) performance improvement ideas  ("Stephen Denne" <Stephen.Denne@datamail.co.nz>)
Список pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> I am sure this must have been discussed before.

Indeed.  Apparently you didn't find the threads in which the idea of
having transactions enter "delta" entries was discussed?  Solves both
the locking and the MVCC problems, at the cost that you need to make
cleanup passes over the counter table fairly often.

I don't see this as material for the core DB but it would make a great
contrib module.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: TODO-list on wiki (was: TODO update about SQLSTATE to PGconn)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: TODO-list on wiki (was: TODO update about SQLSTATE to PGconn)