Re: HOT question - insert/delete

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: HOT question - insert/delete
Дата
Msg-id b42b73150905201301j128dbba4mc29f808cc2ddcb0a@mail.gmail.com
обсуждение исходный текст
Ответ на HOT question - insert/delete  (Gerhard Wiesinger <lists@wiesinger.com>)
Ответы Re: HOT question - insert/delete  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Re: HOT question - insert/delete  (Simon Riggs <simon@2ndQuadrant.com>)
Re: HOT question - insert/delete  (Gerhard Wiesinger <lists@wiesinger.com>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: Help with join syntax sought
Следующее
От: Sergey Samokhin
Дата:
Сообщение: How should I deal with disconnects during insert?