pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Harris <fbsd@drivefaster.net>
To: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: pg_dump blocking create database?
Date: Wed, 12 Sep 2007 13:58:36 -0600
Message-ID: <46E844EC.5050802@drivefaster.net> (raw)

My PG server came to a screeching halt yesterday.  Looking at top saw a very 
large number of "startup waiting" tasks.   A pg_dump was running and one of my 
scripts had issued a CREATE DATABASE command.  It looks like the CREATE DATABASE 
was exclusive but was having to wait for the pg_dump to finish, causing a 
massive traffic jam of locks behind it.

Once I killed the pg_dump process, things returned to normal.

Version 8.0.12.  Is this a bug? It also concerns me because my workload is 
likely to expose this problem again.



view thread (2+ messages)  latest in thread

Message-ID: <46E844EC.5050802@drivefaster.net>
Permalink:  ../46E844EC.5050802@drivefaster.net/
Also on:    postgresql.org/message-id/46E844EC.5050802@drivefaster.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-performance@postgresql.org
  Cc: fbsd@drivefaster.net
  Subject: Re: pg_dump blocking create database?
  In-Reply-To: <46E844EC.5050802@drivefaster.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