Re: how can i UPDATE without dead rows

From: Richard Huxton <dev(at)archonet(dot)com>
To: csepinek(at)freemail(dot)hu
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: how can i UPDATE without dead rows
Date: 2005-06-17 16:09:21
Message-ID: 42B2F5B1.5090203@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

csepinek(at)freemail(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message grupos 2005-06-17 17:15:30 Re: SELECT with sum on groups ORDERING by the subtotals
Previous Message Bricklen Anderson 2005-06-17 14:54:19 Re: UPDATEABLE VIEWS ... Examples?