pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Markus <t.markus@proventis.net>
To: pgsql-admin@postgresql.org
Subject: Re: infinite blocking statements in 8.2.3
Date: Thu, 03 May 2007 15:32:11 +0200
Message-ID: <4639E45B.3030500@proventis.net> (raw)
In-Reply-To: <20070503131125.GB4218@alvh.no-ip.org>
References: <46384CEA.9080906@proventis.net>
	<4639742C.7070902@proventis.net>
	<20070503131125.GB4218@alvh.no-ip.org>

the problem was not the long running statement. that statement has 
blocked other connections and i was unable to drop that connection. at 
the end all connections where blocked (output in ps: UPDATE waiting ..). 
the only solution was to restart the server. After my understanding I 
can terminate a connection (produces rollback) always however this 
special connection could not not be terminated. Normally I could do 
this. I will observe whether the behavior again arise.

Alvaro Herrera schrieb:
> Thomas Markus wrote:
>   
>> thanks for your awnsers
>>
>> i cant repeat the problem after increasing autovacuum_naptime to 5min. a 
>> vacuumdb -f -a runs over night (and finished :) ) and now that blocking 
>> statement finished after some seconds. it seems autovacuum = on is not 
>> enough.
>>     
>
> Enough for what?  You still haven't said what the problem was.  I am
> unsure if I should be concerned.  It now sounds like ordinary slowness
> caused by table bloat.
>   

Attachments:

t.markus.vcf (text/x-vcard, 253B) download begin:vcard fn:Thomas Markus n:Markus;Thomas org:proventis GmbH adr:;;Zimmerstr. 79-80;Berlin;Berlin;10117;Germany email;internet:t.markus@proventis.net tel;work:+49 30 29 36 399 22 x-mozilla-html:FALSE url:http://www.proventis.net version:2.1 end:vcard

view thread (9+ messages)  latest in thread

Message-ID: <4639E45B.3030500@proventis.net>
Permalink:  ../4639E45B.3030500@proventis.net/
Also on:    postgresql.org/message-id/4639E45B.3030500@proventis.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: t.markus@proventis.net
  Subject: Re: infinite blocking statements in 8.2.3
  In-Reply-To: <4639E45B.3030500@proventis.net>

* 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