Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 632A1634A9F for ; Wed, 17 Mar 2010 12:07:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 00968-02 for ; Wed, 17 Mar 2010 15:07:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f185.google.com (mail-qy0-f185.google.com [209.85.221.185]) by mail.postgresql.org (Postfix) with ESMTP id 633D3798CC9 for ; Wed, 17 Mar 2010 12:07:38 -0300 (ADT) Received: by qyk15 with SMTP id 15so625287qyk.10 for ; Wed, 17 Mar 2010 08:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=uXl3eyXwpd3Sah9CXzTpoXAz0yEzPNOyrumOg72TPJo=; b=yCyLy4kcNRIRBrmemJ4tJJSc94I2eTXoPigOjlh30CSr5XtiL32D2d0iQZceGPDbq4 I2Rsfauf1iEnker7cEhLxlY6x6SvUjLQ7pu/zruqQkP1MUe3qzkoh4jNrH0ZImnmwii8 mkiwyyGeUG/nmoSCpzJtP5/NeapbBvBcvCZJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=BX74jQdSIkWNGefBHPN//cBeW3bimNajYJ8IgDAaAA6y63c/vpqO4beFBzm8qGenEo WgshX1VaoKWvoa4L5uoHua/bkDLP9hDtyhv+FosrwzAJhW63/F0MMMEeDbxJR6e8Yf9Z z3PwTEdQTyrpZf9/ftAl6PrCJDNEmV5LDSidw= MIME-Version: 1.0 Received: by 10.229.190.129 with SMTP id di1mr896343qcb.75.1268838456273; Wed, 17 Mar 2010 08:07:36 -0700 (PDT) In-Reply-To: <27969.1268836243@sss.pgh.pa.us> References: <2c5ef4e31003161804l5e32ceb9v6b7019118f30004d@mail.gmail.com> <4BA0AAD1.5040508@2ndquadrant.com> <27969.1268836243@sss.pgh.pa.us> From: Rob Wultsch Date: Wed, 17 Mar 2010 08:07:16 -0700 Message-ID: <2c5ef4e31003170807x3f26dd77v57a1631094bc5270@mail.gmail.com> Subject: Re: Building multiple indexes concurrently To: Tom Lane Cc: Greg Smith , pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.382 tagged_above=-10 required=5 tests=AWL=0.217, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/199 X-Sequence-Number: 38024 On Wed, Mar 17, 2010 at 7:30 AM, Tom Lane wrote: > Greg Smith writes: >> Rob Wultsch wrote: >>> At a minimum I assume that if both of the commands were started at >>> about the same time they would each scan the table in the same >>> direction and whichever creation was slower would benefit from most of >>> the table data it needed being prepopulated in shared buffers. Is this >>> the case? > >> This might be optimistic; > > No, it's not optimistic in the least, at least not since we implemented > synchronized seqscans (in 8.3 or thereabouts). > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0regards, tom lane > Where can I find details about this in the documentation? --=20 Rob Wultsch wultsch@gmail.com