pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: csepinek@freemail.hu
Cc: pgsql-sql@postgresql.org
Subject: Re: how can i UPDATE without dead rows
Date: Fri, 17 Jun 2005 17:09:21 +0100
Message-ID: <42B2F5B1.5090203@archonet.com> (raw)
In-Reply-To: <664932514.20050617150831@freemail.hu>
References: <664932514.20050617150831@freemail.hu>

csepinek@freemail.hu wrote:
> Hi!
> 
> 
> My program must use UPDATE usualy, and there will be many dead rows in this table 
> what throttle down the db server. I would like to update so not create dead row.
> How can i do this?

You can't - that's how MVCC works. Make sure your free-space-map 
settings are large enough in postgresql.conf and that you vacuum enough 
- that will keep the "dead" space being re-used.

-- 
   Richard Huxton
   Archonet Ltd



view thread (2+ messages)

Message-ID: <42B2F5B1.5090203@archonet.com>
Permalink:  ../42B2F5B1.5090203@archonet.com/
Also on:    postgresql.org/message-id/42B2F5B1.5090203@archonet.com

 · 

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-sql@postgresql.org
  Cc: dev@archonet.com, csepinek@freemail.hu
  Subject: Re: how can i UPDATE without dead rows
  In-Reply-To: <42B2F5B1.5090203@archonet.com>

* 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