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: dcc563d10711141147x4c32142es449f20d13b8d05a7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-admin by date

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