Re: HOT question - insert/delete - Mailing list pgsql-general

From Gerhard Wiesinger
Subject Re: HOT question - insert/delete
Date
Msg-id alpine.LFD.2.00.0905211037140.27998@bbs.intern
Whole thread Raw
In response to Re: HOT question - insert/delete  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general
Are there any plans to support this kind of scenario?

Ciao,
Gerhard


--
http://www.wiesinger.com/


On Wed, 20 May 2009, Merlin Moncure wrote:

> On Wed, May 20, 2009 at 3:11 PM, Gerhard Wiesinger <lists@wiesinger.com> wrote:
>> Hello!
>>
>> Is HOT in 8.3 used in the following scenario:
>> INSERT ...
>> DELETE ...
>> at the same ratio.
>>
>> So for example current data is added every minute and all old data older
>> than 2 years are deleted.
>>
>> Would the heap be bloated or is this avoided by the HOT feature of 8.3 and
>> nearly kept constant?
>
> HOT doesn't help here...it only helps with updates and then only if
> you are updating fields that are not indexed.  if your table has a
> rolling set of data, for example a log file...you probably want to
> look at table partitioning (either manual or built in).
>
> merlin
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: HOT question - insert/delete
Next
From: "Sofer, Yuval"
Date:
Subject: compilation test fails