Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2A9F31337B53 for ; Wed, 26 Jan 2011 14:38:04 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 32997-04 for ; Wed, 26 Jan 2011 18:37:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail148149.authsmtp.com (outmail148149.authsmtp.com [62.13.148.149]) by mail.postgresql.org (Postfix) with ESMTP id 006AF1337B4E for ; Wed, 26 Jan 2011 14:37:55 -0400 (AST) Received: from mail-c194.authsmtp.com (mail-c194.authsmtp.com [62.13.128.121]) by punt12.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id p0QIbsIF006604; Wed, 26 Jan 2011 18:37:54 GMT Received: from Sidney-Stratton.local (dsl081-245-111.sfo1.dsl.speakeasy.net [64.81.245.111]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id p0QIbkhZ056732; Wed, 26 Jan 2011 18:37:47 GMT Message-ID: <4D4069EF.6040603@agliodbs.com> Date: Wed, 26 Jan 2011 10:37:35 -0800 From: Josh Berkus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: Multicolun index creation never completes on 9.0.1/solaris References: <4D3F2D10.1020905@agliodbs.com> <21735.1295990515@sss.pgh.pa.us> <4D3F86D9.9080200@agliodbs.com> <14452.1296010153@sss.pgh.pa.us> In-Reply-To: <14452.1296010153@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Server-Quench: 5f9185ea-297b-11e0-80b9-0022640b883e X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdyZgscClZXSx8a IioLCC5HRQ8+YBZL BAkGMA9GIUINWEQL c1AAcB1xOVtbHwkA AnYKU15XV1d1US1z bxRZbBtfZk9QXgRr T0pMQFdNFEsoAX14 VEVGOBl3cQJFejB1 Z0FiEHUNVUVycBMs X0xdEj8bZGY1aH0X UBJRagNUcgFMeh8X Ylh8AT1vNG8XDQgF MDQGdxUsOSleIyNR XwdFLFQeTFZDFSQx TgwDGjNnG0AbSj97 JBsjMloRAEsKekI0 eQpnARRBdAQVDgRE Hlol X-Authentic-SMTP: 61633136333939.1015:706 X-AuthFastPath: 0 (Was 255) X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201101/212 X-Sequence-Number: 29234 > Your logic has nothing to do with what is actually happening. Could we > have a little bit more patience to see what happens next? So, after 15 hours: LOG: finished writing run 20 to tape 19: CPU 588.86s/4484.35u sec elapsed 5160.97 sec STATEMENT: create index "write_log_accounttime_idx" on write_log (account_id, event_time); LOG: finished writing run 21 to tape 20: CPU 620.46s/4712.51u sec elapsed 5435.63 sec STATEMENT: create index "write_log_accounttime_idx" on write_log (account_id, event_time); LOG: finished writing run 22 to tape 21: CPU 654.01s/4953.74u sec elapsed 5726.87 sec STATEMENT: create index "write_log_accounttime_idx" on write_log (account_id, event_time); LOG: finished writing run 23 to tape 22: CPU 688.84s/5204.24u sec elapsed 6029.41 sec STATEMENT: create index "write_log_accounttime_idx" on write_log (account_id, event_time); LOG: finished writing run 24 to tape 23: CPU 721.71s/5442.40u sec elapsed 6316.64 sec STATEMENT: create index "write_log_accounttime_idx" on write_log (account_id, event_time); LOG: finished writing run 25 to tape 24: CPU 757.74s/5708.86u sec elapsed 6636.64 sec STATEMENT: create index "write_log_accounttime_idx" on write_log (account_id, event_time); LOG: finished writing run 26 to tape 25: CPU 790.87s/5946.83u sec elapsed 6924.41 sec STATEMENT: create index "write_log_accounttime_idx" on write_log (account_id, event_time); LOG: finished writing run 27 to tape 26: CPU 823.64s/6186.06u sec elapsed 7212.11 sec STATEMENT: create index "write_log_accounttime_idx" on write_log (account_id, event_time); ... I'll point out that the elapsed times which trace_sort is giving me are clearly not clock times; I started this index run at 7pm PST yesterday and it's been 15 hours, not 2 as the elapsed time would suggest. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com