Re: High CPU with 7.4.1 after running for about 2 weeks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Bridge <mike(at)bridgecanada(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: High CPU with 7.4.1 after running for about 2 weeks
Date: 2004-03-15 21:46:54
Message-ID: 7887.1079387214@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Mike Bridge <mike(at)bridgecanada(dot)com> writes:
> But if the client dies, doesn't postgresql normally terminate the
> query that that client initiated? Or do I need to set
> statement_timeout?

The backend generally won't notice that the connection is dead until
it next tries to fetch a command from the client. So if the client
launches a long-running query and then goes away, the query will
normally complete.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Rod Taylor 2004-03-15 21:54:35 Re: atrocious update performance
Previous Message Aaron Werman 2004-03-15 21:29:51 Re: atrocious update performance