pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lee Kwok Shing <kslee@graduate.hku.hk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: System hangs when Insert/Update
Date: Mon, 04 Jun 2001 23:39:43 +0800
Message-ID: <3B1BABBF.E9E84893@graduate.hku.hk> (raw)
References: <3B186210.CBEB2494@graduate.hku.hk>
	<11543.991490514@sss.pgh.pa.us>

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 <kslee@graduate.hku.hk> 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

Attachments:

kslee.vcf (text/x-vcard, 177B) download 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

view thread (4+ messages)

Message-ID: <3B1BABBF.E9E84893@graduate.hku.hk>
Permalink:  ../3B1BABBF.E9E84893@graduate.hku.hk/
Also on:    postgresql.org/message-id/3B1BABBF.E9E84893@graduate.hku.hk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: kslee@graduate.hku.hk, tgl@sss.pgh.pa.us
  Subject: Re: System hangs when Insert/Update
  In-Reply-To: <3B1BABBF.E9E84893@graduate.hku.hk>
  References: <3B186210.CBEB2494@graduate.hku.hk> <11543.991490514@sss.pgh.pa.us> <3B1BABBF.E9E84893@graduate.hku.hk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox