Skip site navigation (1) Skip section navigation (2)

Re: postgres bogged down beyond tolerance

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres bogged down beyond tolerance
Date: 2007-11-14 19:47:41
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
On Nov 14, 2007 12:56 PM, Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu> wrote:
>  The postgres server I have (on redhat linux 2.6 with recent
>  Dell hardware (4 cpus)) is running terribly slow.
>  A job it should have gotten done in less than 1 hour
>  took 7.5 hours last night.

OK, before you try to fix the problem by blindly changing settings,
let's figure out what the problem IS.

Sounds to me like you've got bloat in your storage subsystem.

psql into your database as a superuser (postgres, etc...) and run

vacuum verbose;

and post the last 10 or so lines here.

In response to


pgsql-admin by date

Next:From: Juan Miguel ParedesDate: 2007-11-14 20:21:02
Subject: Error when trying to recover from filesystem backup
Previous:From: Alvaro HerreraDate: 2007-11-14 19:08:14
Subject: Re: postgres bogged down beyond tolerance

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group