Re: index bloat question

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Szymon Guz <mabewlun(at)gmail(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: index bloat question
Date: 2011-10-17 03:38:55
Message-ID: 4E9BA34F.7080207@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe wrote:
> On Sun, Oct 16, 2011 at 2:41 PM, Szymon Guz <mabewlun(at)gmail(dot)com> wrote:
>
>> Hi,
>> just a couple of questions:
>> will there be an index bloat if I have:
>> - a serial column and only add rows to the table?
>> - a text column and I only add rows to the table?
>> For the serial column the numbers are only incremented, for the text column
>> I add random strings.
>>
>
> With no deletes or updates, the only bloat will be from a non 100% fill factor.
>
>
Is there no index rebalancing overhead on monotonically increasing keys
compare to (decently) random. Seems one would continuously write to the
"right-most" sub-leaf node.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message pasman pasmański 2011-10-17 06:36:26 Problem with odbc_fdw
Previous Message Scott Marlowe 2011-10-17 00:01:20 Re: index bloat question