Re: Index fillfactor changed in pg9? - Mailing list pgsql-admin

From Glyn Astill
Subject Re: Index fillfactor changed in pg9?
Date
Msg-id 983729.42184.qm@web26003.mail.ukl.yahoo.com
Whole thread Raw
In response to Re: Index fillfactor changed in pg9?  (Kenneth Marshall <ktm@rice.edu>)
Responses Re: Bloated indexes from pg_restore? (Was: Index fillfactor changed in pg9?)  (Glyn Astill <glynastill@yahoo.co.uk>)
List pgsql-admin
--- On Fri, 1/4/11, Kenneth Marshall <ktm@rice.edu> wrote:

> >
> > Just testing some new hardware on 9.0.3 and have
> restored one of our dumps from 8.4.7.  What I'm seeing
> is although table sizes are the same, indexes are a lot
> bigger, approx 50%.
> >
> > I've done a search and so far can't find anything, but
> have default fillfactors changed? Or is it something else?
> >
> > Thanks
> > Glyn
> >
>
> Given absolutely zero information, are both platforms the
> same
> number of bits? 32-versus 64-bit? The alignment needs for
> 64-bit
> could result in needing more space. Another alternative is
> that
> the order of data insertion caused a bigger index. What
> happens
> if you run a REINDEX on both DB's to the index sizes?
>
> Regards,
> Ken
>

Sorry for the lack of info there. Both are 64 bit, both have ext3 filesystems set up the same, the 8.4 machine is on
kernel2.6.26 whereas the 9.0 machine is on 2.6.32. 

REINDEX does indeed decreace the size.  I guess the question is why does pg_restore create them bloated? Could it be
theparrallel (-j) option? 

pgsql-admin by date:

Previous
From: Kenneth Marshall
Date:
Subject: Re: Index fillfactor changed in pg9?
Next
From: "Kevin Grittner"
Date:
Subject: Re: Two way replication