pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Dimitri Fontaine <dfontaine@hi-media.com>
Cc: pgsql-admin@postgresql.org, Alvaro Herrera <alvherre@commandprompt.com>
Cc: Chris Hoover <revoohc@gmail.com>
Subject: Re: Where to find information on the new HOT tables?
Date: Thu, 7 Feb 2008 17:31:11 -0500 (EST)
Message-ID: <200802072231.m17MVBZ18035@momjian.us> (raw)
In-Reply-To: <200802072100.20093.dfontaine@hi-media.com>

Dimitri Fontaine wrote:
-- Start of PGP signed section.
> Le Thursday 07 February 2008 20:43:57 Bruce Momjian, vous avez ?crit?:
> > Does the release note item on HOT need additions?
> 
> If I put the release not item on HOT here:
> 
> -=-=-=-
> Heap-Only Tuples (HOT) accelerate space reuse for most UPDATEs and DELETEs 
> (Pavan Deolasee, with ideas from many others) 
> 
> UPDATEs and DELETEs leave dead tuples behind, as do failed INSERTs. Previously 
> only VACUUM could reclaim space taken by dead tuples. With HOT dead tuple 
> space can be reclaimed     at the time of INSERT or UPDATE if no changes are made 

                         ^^^

> to indexed columns. This allows for more consistent performance. Also, HOT 
> avoids adding duplicate index entries.
> -=-=-=-

OK, what I did was to add the word "automatically" at the location
indicated.  Hopefully that will help.

> I'd say it only misses the transparent & automatic precision, telling the 
> users they don't have anything to do about HOT: PostgreSQL is able on its own 
> to decide when HOT is or is not safe to use.
> And I have to get it back that documentation is not verbose enough about how 
> HOT is working, just that you have to know where to look...
> 
> What about Alvaro's concern about manual vacuuming policies editing wrt to 
> HOT?

I think most people will be using autovacuum, and those who aren't will
have to realize that HOT makes vacuuming less needed.

-- 
  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. +



view thread (34+ messages)  latest in thread

Message-ID: <200802072231.m17MVBZ18035@momjian.us>
Permalink:  ../200802072231.m17MVBZ18035@momjian.us/
Also on:    postgresql.org/message-id/200802072231.m17MVBZ18035@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, dfontaine@hi-media.com, alvherre@commandprompt.com, revoohc@gmail.com
  Subject: Re: Where to find information on the new HOT tables?
  In-Reply-To: <200802072231.m17MVBZ18035@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox