Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E8BB81337B39 for ; Tue, 25 Jan 2011 22:49:29 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 55688-02 for ; Wed, 26 Jan 2011 02:49:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 9D2691337B34 for ; Tue, 25 Jan 2011 22:49:22 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p0Q2nDrV014453; Tue, 25 Jan 2011 21:49:14 -0500 (EST) To: Josh Berkus cc: pgsql-bugs@postgresql.org Subject: Re: Multicolun index creation never completes on 9.0.1/solaris In-reply-to: <4D3F86D9.9080200@agliodbs.com> References: <4D3F2D10.1020905@agliodbs.com> <21735.1295990515@sss.pgh.pa.us> <4D3F86D9.9080200@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Tue, 25 Jan 2011 18:28:41 -0800" Date: Tue, 25 Jan 2011 21:49:13 -0500 Message-ID: <14452.1296010153@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/203 X-Sequence-Number: 29225 Josh Berkus writes: > LOG: finished writing run 1 to tape 0: CPU 33.39s/149.02u sec elapsed > 190.11 sec > LOG: finished writing run 2 to tape 1: CPU 62.72s/371.06u sec elapsed > 443.16 sec > LOG: finished writing run 3 to tape 2: CPU 91.04s/599.43u sec elapsed > 701.37 sec > LOG: finished writing run 4 to tape 3: CPU 120.95s/823.59u sec elapsed > 956.67 sec > If it's going to take 3 minutes each to write each of 3745 tapes, that > means completing in around 9 days. Your logic has nothing to do with what is actually happening. Could we have a little bit more patience to see what happens next? > ... run 2 didn't complete in even 1/2 hour. That's *good*, not bad. Long runs mean fewer merge steps. (Memo to -hackers: what we lack in this trace is any indication of how long the runs are. Maybe should add that. Knuth claims the initial runs should amount to about 2X maintenance_work_mem on average, but maybe there's something unusual about the data distribution here.) regards, tom lane