Unix Technical Forum

Re: Dead Space Map version 3 (simplified)

This is a discussion on Re: Dead Space Map version 3 (simplified) within the pgsql Hackers forums, part of the PostgreSQL category; --> Hiroki Kataoka <kataoka@interwiz.jp> wrote: > Heikki Linnakangas wrote: > > But does it > > work for tables that ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 09:23 AM
ITAGAKI Takahiro
 
Posts: n/a
Default Re: Dead Space Map version 3 (simplified)


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



---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com