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

Re: [Solved] Postgres performance problem

From: Mark Lewis <mark(dot)lewis(at)mir3(dot)com>
To: Ruben Rubio <ruben(at)rentalia(dot)com>
Cc: Bill Moran <wmoran(at)collaborativefusion(dot)com>, Chris Mair <chris(at)1006(dot)org>, pgsql-performance(at)postgresql(dot)org
Subject: Re: [Solved] Postgres performance problem
Date: 2007-08-30 18:08:47
Message-ID: 1188497327.22730.160.camel@archimedes (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Perhaps you had a long-running transaction open (probably a buggy or
hung application) that was preventing dead rows from being cleaned up.
Restarting PG closed the offending connection and rolled back the
transaction, which allowed vacuum to clean up all the dead rows.

If you're not running regular VACUUMs at all but are instead exclusively
running VACUUM FULL, then I don't think you would see warnings about
running out of fsm enties, which would explain why you did not notice
the bloat.  I haven't confirmed that though, so I might be wrong.

-- Mark Lewis

On Thu, 2007-08-30 at 11:50 +0200, Ruben Rubio wrote:
> Hash: SHA1
> Hi ...
> Seems its solved. But the problem is not found.
> As you may know, I do a vacuum full and a reindex database each day. I
> have logs that confirm that its done and I can check that everything was
>  fine.
> So, this morning, I stopped the website, I stopped database, started it
> again. (I was around 200  days without restarting), then I vacuum
> database and reindex it (Same command as everyday) . Restart again, and
> run again the website.
> Now seems its working fine. But I really does not know where is the
> problem. Seems vacuum its not working fine?  Maybe database should need
> a restart? I really don't know.
> Does someone had a similar problem?
> Thanks in advance,
> Ruben Rubio
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
> e8PurQb2TOSYDPW545AJ83c=
> =dQgM
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?

In response to


pgsql-performance by date

Next:From: Pallav KalvaDate: 2007-08-31 15:30:47
Subject: 8.2 Autovacuum BUG ?
Previous:From: Richard HuxtonDate: 2007-08-30 18:07:20
Subject: Re: [Solved] Postgres performance problem

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