Re: postgres bogged down beyond tolerance - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: postgres bogged down beyond tolerance
Date
Msg-id dcc563d10711141147x4c32142es449f20d13b8d05a7@mail.gmail.com
Whole thread Raw
In response to postgres bogged down beyond tolerance  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-admin
On Nov 14, 2007 12:56 PM, Tena Sakai <tsakai@gallo.ucsf.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.

pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: postgres bogged down beyond tolerance
Next
From: "Juan Miguel Paredes"
Date:
Subject: Error when trying to recover from filesystem backup