Re: Insert only tables and vacuum performance - Mailing list pgsql-performance

From Joseph Shraibman
Subject Re: Insert only tables and vacuum performance
Date
Msg-id 4091A381.3020307@selectacast.net
Whole thread Raw
In response to Re: Insert only tables and vacuum performance  (Rod Taylor <pg@rbt.ca>)
List pgsql-performance
Rod Taylor wrote:
>>Or even better an offset into the datatable for the earliest deleted
>>row, so if you have a table where you update the row shortly after
>>insert and then never touch it vacuum can skip most of the table
>>(inserts are done at the end of the table, right?)
>
>
> Inserts are done at the end of the table as a last resort.

But if most of the table is never updated then the inserts would tend to
be at the end, right?

> But anyway,
> how do you handle a rolled back insert?
>
It is considered like a deleted row to be vacuumed.

pgsql-performance by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Insert only tables and vacuum performance
Next
From: Tom Lane
Date:
Subject: Re: why can't 2 indexes be used at once?