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: dcc563d10711141147x4c32142es449f20d13b8d05a7@mail.gmail.com (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group