Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id E0798B5DC12 for ; Wed, 25 May 2011 18:04:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 42152-01 for ; Wed, 25 May 2011 21:04:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mail.postgresql.org (Postfix) with ESMTP id 6E925B5DBBF for ; Wed, 25 May 2011 18:04:08 -0300 (ADT) Received: from [192.168.1.6] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0M8QOg-1PUmJx1h0k-00vte8; Wed, 25 May 2011 23:04:07 +0200 Message-ID: <4DDD6EC3.80703@2ndQuadrant.com> Date: Wed, 25 May 2011 17:04:03 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110505 Icedove/3.0.11 MIME-Version: 1.0 CC: pgsql-docs Subject: Re: Improve warnings around CREATE INDEX CONCURRENTLY References: <4DDB64CB.7070109@2ndQuadrant.com> <1306269968-sup-2890@alvh.no-ip.org> <4DDC1DBF.3050306@2ndQuadrant.com> <1306346092-sup-2903@alvh.no-ip.org> In-Reply-To: <1306346092-sup-2903@alvh.no-ip.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:zuORispxFeuNRJKOZJNze5vD8mTJm72Kmx0J4vSl2wa oujY5rx+9pj8HfqLjzhGYz7Qt/kIqtRksdhj2NAm2kF6NEwab1 gEDLN8DrpGF+PfIecnSoaW7N/BntXRMpGl/c4/v8/+jizuKRby WsYiNMR/jUoGGfl+wQdgxEDmg3RgQpgrzrtnfMq94N1fY65kQq 45TlyRRlpUfT84Onzd+YkBJuSzYmKkNJPZLUyvmE5g= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.879 tagged_above=-5 required=5 tests=BAYES_00=-1.9, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201105/85 X-Sequence-Number: 6760 On 05/25/2011 01:57 PM, Alvaro Herrera wrote: > Please see this thread: > http://archives.postgresql.org/message-id/1290465663-sup-9908@alvh.no-ip.org > Ah, now I see--I was running a CommitFest that week, so of course I missed this message. Those are all good ideas. >> The first thing I was considering was dropping some DEBUG2 level logging >> about the various phases of the reindex into there. >> > That would take this system more or less to where autovacuum was in 8.1 > (well, not quite that bad because you can change it locally, but still). > It seems to me we can do something a bit better than that. > Sure. Simon's command string idea might work better, and doing some extra lock decoration as you suggested in the above thread would be another level of improvement. We should pick up redesign later on the main list. You can at least count me in as someone who wants to see this improved now. Back to the doc patch I submitted...is that a useful step toward making this issue visible enough to users for now to help? -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us