pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tobias Brox <tobias@nordicbet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: long running transactions
Date: Tue, 10 Oct 2006 14:04:55 -0400
Message-ID: <528.1160503495@sss.pgh.pa.us> (raw)
In-Reply-To: <20061010174955.GA284@oppetid.no>
References: <20061010161027.GA18908@oppetid.no>
	<25404.1160497420@sss.pgh.pa.us>
	<20061010163913.GA8097@oppetid.no>
	<20061010164142.GA5360@oppetid.no>
	<25631.1160498572@sss.pgh.pa.us>
	<20061010170639.GB5360@oppetid.no>
	<25953.1160500192@sss.pgh.pa.us>
	<20061010171304.GC5360@oppetid.no>
	<26123.1160500707@sss.pgh.pa.us>
	<20061010174955.GA284@oppetid.no>

Tobias Brox <tobias@nordicbet.com> writes:
> (gdb) bt
> #0  0xb7c599f8 in select () from /lib/tls/libc.so.6
> #1  0x08253c53 in pg_usleep ()
> #2  0x0812ee93 in vacuum_delay_point ()
> #3  0x0812f2a5 in lazy_vacuum_rel ()
> #4  0x0812ef7b in lazy_vacuum_rel ()
> #5  0x0812b4b6 in vac_update_relstats ()

That doesn't look particularly blocked, and if you are seeing
reads/writes too, then it's doing something.

> It seems stuck, has had the same transid for a long while, and the
> number of undeletable dead rows in our tables are increasing.

Perhaps you have overly aggressive vacuum cost delay settings?

			regards, tom lane



view thread (14+ messages)  latest in thread

Message-ID: <528.1160503495@sss.pgh.pa.us>
Permalink:  ../528.1160503495@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/528.1160503495@sss.pgh.pa.us

 · 

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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tobias@nordicbet.com
  Subject: Re: long running transactions
  In-Reply-To: <528.1160503495@sss.pgh.pa.us>

* 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