Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id BDD979F9A99 for ; Fri, 24 Aug 2007 03:49:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 00429-01 for ; Fri, 24 Aug 2007 03:49:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from oxford.xeocode.com (unknown [87.127.95.196]) by postgresql.org (Postfix) with ESMTP id 13A569F9A82 for ; Fri, 24 Aug 2007 03:49:22 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.67) (envelope-from ) id 1IOSyr-0002Sc-A9; Fri, 24 Aug 2007 07:49:17 +0100 To: "Steven Flatt" Cc: "Tom Lane" , "Bill Moran" , "Vivek Khera" , "Pgsql performance" Subject: Re: When/if to Reindex In-Reply-To: <357fa7590708231525h2f48ce4dw3e48ecca5ccddf72@mail.gmail.com> (Steven Flatt's message of "Thu\, 23 Aug 2007 18\:25\:25 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX" 33415) References: <357fa7590707181008k65ab2f20l55bebb3c14f52770@mail.gmail.com> <38118C09-FC0A-4CCB-9461-FC6D29D81EE4@khera.org> <357fa7590708081212p7b19cbbbn39dbadae8603edd6@mail.gmail.com> <20070808152757.9eb9bbcc.wmoran@collaborativefusion.com> <11801.1186624308@sss.pgh.pa.us> <357fa7590708090651p71b9bc47n66739f8dbbb4ff57@mail.gmail.com> <357fa7590708220955h441cd75ap4c0f0342a1c30a14@mail.gmail.com> <873aybw2le.fsf@oxford.xeocode.com> <357fa7590708231525h2f48ce4dw3e48ecca5ccddf72@mail.gmail.com> From: Gregory Stark Organization: EnterpriseDB Date: Fri, 24 Aug 2007 07:49:16 +0100 Message-ID: <87tzqp2zrn.fsf@oxford.xeocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/280 X-Sequence-Number: 26410 "Steven Flatt" writes: > On 8/22/07, Gregory Stark wrote: > > Interestingly enough, the example you've given does not work for me either. > The select count(*) from test blocks until the reindex completes. Are we > using the same pg version? I was using CVS head but given Tom's explanation I wouldn't expect to see any different behaviour here. I just retried it and it did block. I can't think of anything I could have done wrong last time to make it appear not to block. If I had missed an error at some point along the way I would have expected the reindex to complete quickly or fail or something but it was definitely just blocked. I remember noting (much) later that it had finished. Strange. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com