Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9F9D6632B36 for ; Tue, 31 Aug 2010 12:33:34 -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 18136-07 for ; Tue, 31 Aug 2010 15:33:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from oproxy3-pub.bluehost.com (oproxy3-pub.bluehost.com [69.89.21.8]) by mail.postgresql.org (Postfix) with SMTP id 34D646329D6 for ; Tue, 31 Aug 2010 12:33:26 -0300 (ADT) Received: (qmail 2806 invoked by uid 0); 31 Aug 2010 15:33:25 -0000 Received: from unknown (HELO box498.bluehost.com) (66.147.242.98) by oproxy3.bluehost.com with SMTP; 31 Aug 2010 15:33:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=consistentstate.com; h=Received:From:Organization:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Identified-User; b=CBUGRI0+/Xdjyv8nQp2aB2D/UVKX5fcrrOJZwpZpgsqVqYSBIjStRE4akk5wbmyhvtgR28aRMEGxVRusaoWmQE4SdOK8JHrRqn2JhMn2KefHvA4C7pcx6p4+sKZi77TC; Received: from c-75-71-23-162.hsd1.co.comcast.net ([75.71.23.162] helo=[192.168.1.61]) by box498.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OqSpx-0003Cm-6r; Tue, 31 Aug 2010 09:33:25 -0600 From: Kevin Kempter Organization: Consistent State To: bricklen Subject: Re: slow DDL creation Date: Tue, 31 Aug 2010 09:35:14 -0600 User-Agent: KMail/1.9.4 Cc: pgsql-performance@postgresql.org References: <201008301628.25687.cs_dba@consistentstate.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201008310935.14919.cs_dba@consistentstate.com> X-Identified-User: {3049:box498.bluehost.com:consist3:consistentstate.com} {sentby:smtp auth 75.71.23.162 authed with kevink+consistentstate.com} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201008/351 X-Sequence-Number: 40194 On Monday 30 August 2010 17:04, bricklen wrote: > On Mon, Aug 30, 2010 at 3:28 PM, Kevin Kempter > > wrote: > > Hi all ; > > > > we have an automated partition creation process that includes the > > creation of an FK constraint. we have a few other servers with similar > > scenarios and this is the only server that stinks per when we create the > > new partitions. > > > > Anyone have any thoughts on how to debug this? =C2=A0were running postg= res > > 8.4.4 on CentOS 5.5 > > > > Thanks in advance > > Is the referenced column indexed? no, but its for a new partition so there's no data as of yet in the partiti= on