Re: Dead Space Map version 3 (simplified)

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: Dead Space Map version 3 (simplified)
Дата
Msg-id 20070423140133.66A7.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
обсуждение исходный текст
Список pgsql-hackers
Hiroki Kataoka <kataoka@interwiz.jp> wrote:

> Heikki Linnakangas wrote:
> > But does it 
> > work for tables that have a small hot part that's updated very 
> > frequently?
> 
> I think there is no problem.  Bloating will make pages including the 
> unnecessary area which will not be accessed.  Soon, those pages will be 
> registered into DSM.

The usage_count of pages is always incremented when the page are accessed
even if they contain no useful tuples. Daed tuples in the pages are not
retrieved, but the pages themselves are considered as accessed.

Of cource, extra DSM-synchronizations are not needed if we assume that we
need to vacuum tables less frequently than checkpoints. However, we need
vacuum within 1min and set checkpoint_timeout as 15-60min in some cases.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




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

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: Dead Space Map version 3 (simplified)
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: Load distributed checkpoint V4