Re: *sigh*

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: *sigh*
Дата
Msg-id 87isl355gx.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на Re: *sigh*  (Randolf Richardson <rr@8x.ca>)
Ответы Re: *sigh*  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-hackers
Randolf Richardson <rr@8x.ca> writes:

>         What about adding a "total number of rows" value to the internal 
> header of each table which gets incremented/decremented after each row is 
> INSERT/DELETE has been committed.  This way, a generic "count(*)" by itself 
> could simply return this value without any delay at all.

Because different sessions have a (validly) different concept of what
that number should be, due to MVCC.

-Doug


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Automatically force zero_damaged_pages while InRecovery?
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: 7.3.5 to be released this week ...