Received: from imsp015.netvigator.com (imsp015.netvigator.com [205.252.144.206]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f54FaDE83602 for ; Mon, 4 Jun 2001 11:36:13 -0400 (EDT) (envelope-from kslee@graduate.hku.hk) Received: from graduate.hku.hk (pcd213023.netvigator.com [203.198.225.23]) by imsp015.netvigator.com (8.9.3/8.9.1) with ESMTP id XAA10592; Mon, 4 Jun 2001 23:35:58 +0800 (HKT) Message-ID: <3B1BABBF.E9E84893@graduate.hku.hk> Date: Mon, 04 Jun 2001 23:39:43 +0800 From: Lee Kwok Shing X-Mailer: Mozilla 4.76 [en]C-CCK-MCD {Netvigator} (Win95; U) X-Accept-Language: en,zh-TW MIME-Version: 1.0 To: Tom Lane CC: pgsql-admin@postgresql.org Subject: Re: System hangs when Insert/Update References: <3B186210.CBEB2494@graduate.hku.hk> <11543.991490514@sss.pgh.pa.us> Content-Type: multipart/mixed; boundary="------------061AC4517FF084B7FEF1DE4C" X-Archive-Number: 200106/11 X-Sequence-Number: 1547 This is a multi-part message in MIME format. --------------061AC4517FF084B7FEF1DE4C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Tom, Thanks for yout information. There should be no clients disconnect in the middle of a transaction since the problem happens even if there is only one update. More have capture some traces, the query seems hanged after the phase ProcessQuery and before CommitTransactionCommand The query plan and the parser outputs process phase has been passed. So it seems that the query is stuck at committing the transaction... It is even strange that after I killing the process and issue the same query again, it success !!! Thanks again ! Regards, Lee Kwok Shing Tom Lane wrote: > Lee Kwok Shing writes: > > I am using PostgreSQL 7.0.2 on RH 6.2 > > The DB works smoothly in the past 8 months but until recently, the > > system would hang when doing insert or update statements. > > Second thought on this: do you have any clients that might disconnect in > the middle of a transaction? If so, update to 7.0.3 (or later). > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Lee Kwok Shing (***) http://www.geocities.com/lkslee.geo --------------061AC4517FF084B7FEF1DE4C Content-Type: text/x-vcard; charset=us-ascii; name="kslee.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Lee Kwok Shing Content-Disposition: attachment; filename="kslee.vcf" begin:vcard n:Lee;Kwok Shing x-mozilla-html:TRUE url:http://www.geocities.com/lkslee.geo adr:;;;;;; version:2.1 email;internet:kslee@graduate.hku.hk fn:Kwok Shing Lee end:vcard --------------061AC4517FF084B7FEF1DE4C--