Re: Hash join on int takes 8..114 seconds

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrus <kobruleht2(at)hot(dot)ee>
Cc: Richard Huxton <dev(at)archonet(dot)com>, PFC <lists(at)peufeu(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Hash join on int takes 8..114 seconds
Date: 2008-11-21 20:20:36
Message-ID: 20081121202036.GK5210@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Andrus wrote:

>> So I gather you're not doing any vacuuming, eh?
>
> Log files for every day are full of garbage messages below.
> So I hope that vacuum is running well, isn't it ?

This does not really mean that autovacuum has done anything in the
databases. If the times are consistently separated by 1 min, then it's
possible that it always exits without doing anything.

In such old a release we didn't have any decent logging mechanism in
autovacuum :-( You can change log_min_messages to debug2 to see if it
actually does anything or not.

I suggest you connect to the problem database (and then to all others,
just to be sure) and run "vacuum" (no full).

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tomas Vondra 2008-11-21 20:48:21 Re: Hash join on int takes 8..114 seconds
Previous Message Andrus 2008-11-21 20:08:45 Re: Hash join on int takes 8..114 seconds