Re: Why does my DB size differ between Production and DR? (Postgres 8.4) - Mailing list pgsql-general

From Peter Geoghegan
Subject Re: Why does my DB size differ between Production and DR? (Postgres 8.4)
Date
Msg-id AANLkTinJ-ifFxmdX1Um+y-TVVHE3K0WNMz=TH_uMv6Zx@mail.gmail.com
Whole thread Raw
In response to Re: Why does my DB size differ between Production and DR? (Postgres 8.4)  (Scott Marlowe <scott.marlowe@gmail.com>)
Responses Re: Why does my DB size differ between Production and DR? (Postgres 8.4)
List pgsql-general
On 2 February 2011 05:41, Scott Marlowe <scott.marlowe@gmail.com> wrote:

>> I wouldn't increase index fill factor as an optimisation, unless you
>> had the unusual situation of having very static data in the table.
>
> That makes no sense whatsoever.  You decrease fill factor (not
> increase btw) so there will be some space for future updates.  If he's
> getting bloat it may well help quite a bit to have a lower than 100%
> fill factor.

As I said, it depends on the profile of the data. Heavily or randomly
updated tables will benefit from reducing *index* fillfactor - it will
reduce index fragmentation. OTOH, indexes for static data can have
their fillfactors increased to 100% from the default of 90% without
consequence.

--
Regards,
Peter Geoghegan

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Why does my DB size differ between Production and DR? (Postgres 8.4)
Next
From: "Mad"
Date:
Subject: Re: PQfinish blocking on non-existent IP address ...