From: Scott Marlowe <scott.marlowe@gmail.com>
To: Tena Sakai <tsakai@gallo.ucsf.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres bogged down beyond tolerance
Date: Wed, 14 Nov 2007 13:47:41 -0600
Message-ID: <dcc563d10711141147x4c32142es449f20d13b8d05a7@mail.gmail.com> (raw)
In-Reply-To: <FE44E0D7EAD2ED4BB2165071DB8E328C03062D9A@egcrc-ex01.egcrc.org>
References: <FE44E0D7EAD2ED4BB2165071DB8E328C03062D9A@egcrc-ex01.egcrc.org>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@gmail.com, tsakai@gallo.ucsf.edu
Subject: Re: postgres bogged down beyond tolerance
In-Reply-To: <dcc563d10711141147x4c32142es449f20d13b8d05a7@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox