Re: count(*) performance improvement ideas

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: count(*) performance improvement ideas
Дата
Msg-id 200803121534.m2CFYDR29157@momjian.us
обсуждение исходный текст
Ответ на Re: count(*) performance improvement ideas  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> "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.

The TODO list has lots of details on this.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

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