pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Boes <jboes@nexcerpt.com>
To: pgsql-admin@postgresql.org
Subject: Re: Very long COMMIT times?
Date: Mon, 12 Nov 2001 18:00:48 -0500
Message-ID: <9spk7v$kc1$1@news.tht.net> (raw)
References: <9sphq7$k0h$1@news.tht.net>

In article <9sphq7$k0h$1@news.tht.net>, "Jeff Boes" <jboes@nexcerpt.com>
wrote:

> and 2) very long COMMIT times for some long transactions: I'm talking
> about upwards of 10-20 MINUTES to commit after doing hundreds of
> inserts, updates and deletes in one transaction.  The table involved has
> some 20K rows, and is read and updated a few rows at a time by many
> processes, but only one (the one doing large numbers of rows) has the
> lengthy COMMIT times.
> 
> Did this come about because of the increase in WAL count?


Oops.  This turns out not to be a COMMIT time, but instead it's happening
in a NOTIFY operation just after the COMMIT.  What would cause a
previously-quick NOTIFY step to become many minutes long?


-- 
Jeff Boes                                             vox 616.226.9550
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                      jboes@nexcerpt.com



view thread (3+ messages)  latest in thread

Message-ID: <9spk7v$kc1$1@news.tht.net>
Permalink:  ../9spk7v$kc1$1@news.tht.net/
Also on:    postgresql.org/message-id/9spk7v$kc1$1@news.tht.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 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: jboes@nexcerpt.com
  Subject: Re: Very long COMMIT times?
  In-Reply-To: <9spk7v$kc1$1@news.tht.net>
  References: <9sphq7$k0h$1@news.tht.net> <9spk7v$kc1$1@news.tht.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