Re: Building multiple indexes concurrently

From: Justin Pitts <justinpitts(at)gmail(dot)com>
To: Hannu Krosing <hannu(at)2ndQuadrant(dot)com>
Cc: Greg Smith <greg(at)2ndquadrant(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-performance(at)postgresql(dot)org, Rob Wultsch <wultsch(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Building multiple indexes concurrently
Date: 2010-03-18 20:12:08
Message-ID: 19B3D67A-3182-4323-B70D-CAD612F167A8@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

It seems to me that a separate partition / tablespace would be a much simpler approach.
On Mar 17, 2010, at 5:18 PM, Hannu Krosing wrote:

> On Wed, 2010-03-17 at 16:49 -0400, Greg Smith wrote:
>> Alvaro Herrera wrote:
>>> Andres Freund escribió:
>>>
>>>
>>>> I find it way much easier to believe such issues exist on a tables in
>>>> constrast to indexes. The likelihood to get sequential accesses on an index is
>>>> small enough on a big table to make it unlikely to matter much.
>>>>
>>>
>>> Vacuum walks indexes sequentially, for one.
>>>
>>
>> That and index-based range scans were the main two use-cases I was
>> concerned would be degraded by interleaving index builds, compared with
>> doing them in succession.
>
> I guess that tweaking file systems to allocate in bigger chunks help
> here ? I know that xfs can be tuned in that regard, but how about other
> common file systems like ext3 ?
>
> -
> Hannu Krosing http://www.2ndQuadrant.com
> PostgreSQL Scalability and Availability
> Services, Consulting and Training
>
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Hannu Krosing 2010-03-18 21:20:35 Re: Building multiple indexes concurrently
Previous Message Arjen van der Meijden 2010-03-18 17:08:34 Re: mysql to postgresql, performance questions