Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 172FC632C2E for ; Wed, 21 Apr 2010 23:17:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 27130-02 for ; Thu, 22 Apr 2010 02:17:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from imail.internode.com.au (exchht02-ext.internode.com.au [203.26.95.186]) by mail.postgresql.org (Postfix) with ESMTP id 857316325A4 for ; Wed, 21 Apr 2010 23:17:40 -0300 (ADT) Received: from EXCHMAIL.staff.internode.com.au ([169.254.1.229]) by exchht02.staff.internode.com.au ([fe80::db2:3e78:2ae:9bfb%12]) with mapi; Thu, 22 Apr 2010 11:47:35 +0930 From: Samuel Stearns To: "pgsql-admin@postgresql.org" Date: Thu, 22 Apr 2010 11:47:34 +0930 Subject: ALTER TABLE ADD COLUMN Hangs Thread-Topic: ALTER TABLE ADD COLUMN Hangs Thread-Index: AcrhwfgOxZQGagGXRxSgba5RGCoeRA== Message-ID: <68B59BEDCD36854AADBDF17E91B2937A01A4DC6236@EXCHMAIL.staff.internode.com.au> Accept-Language: en-US, en-AU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-AU Content-Type: multipart/alternative; boundary="_000_68B59BEDCD36854AADBDF17E91B2937A01A4DC6236EXCHMAILstaff_" MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.791 tagged_above=-10 required=5 tests=BAYES_50=0.8, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/297 X-Sequence-Number: 34391 --_000_68B59BEDCD36854AADBDF17E91B2937A01A4DC6236EXCHMAILstaff_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Howdy, I'm running in an 8.3.3 environment. What could cause, or how can I diagno= se, why an 'ALTER TABLE ADD COLUMN' statement runs for hours eventua= lly locking users out and requiring to be killed in the end? Thanks, Sam --_000_68B59BEDCD36854AADBDF17E91B2937A01A4DC6236EXCHMAILstaff_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Howdy,

 

I’m running in an 8.3.3 environment.  What co= uld cause, or how can I diagnose, why an ‘ALTER TABLE <name> ADD CO= LUMN’ statement runs for hours eventually locking users out and requiring to be killed in the end?

 

Thanks,

 

Sam

--_000_68B59BEDCD36854AADBDF17E91B2937A01A4DC6236EXCHMAILstaff_--