pg_dump blocking create database?

From: Dan Harris <fbsd(at)drivefaster(dot)net>
To: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: pg_dump blocking create database?
Date: 2007-09-12 19:58:36
Message-ID: 46E844EC.5050802@drivefaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Erik Jones 2007-09-12 20:01:12 Re: [Again] Postgres performance problem
Previous Message Alvaro Herrera 2007-09-12 19:40:36 Re: [Again] Postgres performance problem