Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id E368D799DF6 for ; Wed, 17 Mar 2010 17:49:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 09571-04 for ; Wed, 17 Mar 2010 20:49:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mail.postgresql.org (Postfix) with ESMTP id 3B48A799DF1 for ; Wed, 17 Mar 2010 17:49:18 -0300 (ADT) Received: from [192.168.0.105] (pool-96-244-14-10.bltmmd.fios.verizon.net [96.244.14.10]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MP2NL-1Nxnj61SmF-005pbc; Wed, 17 Mar 2010 21:49:06 +0100 Message-ID: <4BA1403D.9030402@2ndquadrant.com> Date: Wed, 17 Mar 2010 16:49:01 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Alvaro Herrera CC: Andres Freund , pgsql-performance@postgresql.org, Rob Wultsch , Tom Lane Subject: Re: Building multiple indexes concurrently References: <2c5ef4e31003161804l5e32ceb9v6b7019118f30004d@mail.gmail.com> <2c5ef4e31003170807x3f26dd77v57a1631094bc5270@mail.gmail.com> <4BA12328.4080803@2ndquadrant.com> <201003172024.10538.andres@anarazel.de> <20100317202401.GC3902@alvh.no-ip.org> In-Reply-To: <20100317202401.GC3902@alvh.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V01U2FsdGVkX1+v3HdzltiNTolxbredsiMJ/+sdUMUxl+U+OB6 hvmxsu0KVPd48MaAQFS8zVAiKwreGcRlCWJ2ecPEO9GbcikxCJ dA6zCa0GIlEXXhBvBbXQRj7bqFzlz0S X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/213 X-Sequence-Number: 38038 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 work often with time-oriented apps that have heavy "give me every record between and " components to them, and good sequential index performance can be an important requirement for that kind of application. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us