Re: [HACKERS] Re: vacuum timings - Mailing list pgsql-hackers

From Mike Mascari
Subject Re: [HACKERS] Re: vacuum timings
Date
Msg-id 3888C1AE.8EB2FC27@mascari.com
Whole thread Raw
In response to Re: vacuum timings  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Dmitry Samersoff wrote:
> 
> Tom Lane wrote:
> >
> > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > > Conclusions:
> > >       o  indexes never get smaller
> >
> > Which we knew...
> >
> > >       o  drop/recreate index is slower than vacuum of indexes
> >
> > Quite a few people have reported finding the opposite in practice.
> 
> I'm one of them. On 1,5 GB table with three indices it about twice
> slowly.
> Probably becouse vacuuming indices brakes system cache policy.

I'm another. Do the times increase linearly with each index
added? Do the times increase linearly for each index for each
field in a composite index? Does the field type being indexed
have any affect (varchar vs int)? 

Mike Mascari


pgsql-hackers by date:

Previous
From: Patrick Welche
Date:
Subject: Re: [HACKERS] Re: Date/time type
Next
From: Alfred Perlstein
Date:
Subject: Re: [HACKERS] pg_dump disaster