Re: Dead Space Map version 3 (simplified)

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: Hiroki Kataoka <kataoka(at)interwiz(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Dead Space Map version 3 (simplified)
Date: 2007-04-23 05:30:30
Message-ID: 20070423140133.66A7.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Hiroki Kataoka <kataoka(at)interwiz(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message ITAGAKI Takahiro 2007-04-23 05:57:21 Re: Load distributed checkpoint V4
Previous Message Hiroki Kataoka 2007-04-23 04:41:21 Re: Dead Space Map version 3 (simplified)

Browse pgsql-patches by date

  From Date Subject
Next Message ITAGAKI Takahiro 2007-04-23 05:57:21 Re: Load distributed checkpoint V4
Previous Message Hiroki Kataoka 2007-04-23 04:41:21 Re: Dead Space Map version 3 (simplified)