pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Richard Huxton <dev@archonet.com>
Cc: PFC <lists@peufeu.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Hash join on int takes 8..114 seconds
Date: Fri, 21 Nov 2008 22:08:45 +0200
Message-ID: <049C2591982D4B2A81E45043922A9656@andrusnotebook> (raw)
In-Reply-To: <20081121194805.GI5210@alvh.no-ip.org>
References: <49253FE1.3070706@archonet.com>
	<0205611B528C4C2CBA99AFC64E57D6E8@andrusnotebook>
	<op.ukw669uvcigqcu@soyouz>
	<75A918DFCF25470FAF96B3FE3D25A38B@andrusnotebook>
	<4926E2B2.9050202@archonet.com>
	<8A78204AA6D44C04B053E6412B244E13@andrusnotebook>
	<op.ukzdioivcigqcu@soyouz>
	<8D7F64CF7F614E13AC554D6CF86F39B2@andrusnotebook>
	<20081121191646.GH5210@alvh.no-ip.org>
	<A44943E272DF48CC9BC306C513387020@andrusnotebook>
	<20081121194805.GI5210@alvh.no-ip.org>

Alvaro,

> 1. vacuum_cost_delay does not affect vacuum full
> 2. vacuum full is always blocking, regardless of settings

So only way is to disable other database acces if vacuum full is required.

> 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 ?

Andrus.

2008-11-19 00:00:48 EET    11728  1 LOG:  autovacuum: processing database 
"postgres"
2008-11-19 00:01:48 EET    11729  1 LOG:  autovacuum: processing database 
"mydb1"
2008-11-19 00:02:48 EET    11730  1 LOG:  autovacuum: processing database 
"emydb1"
2008-11-19 00:03:48 EET    11731  1 LOG:  autovacuum: processing database 
"template1"
2008-11-19 00:04:48 EET    11732  1 LOG:  autovacuum: processing database 
"testmydb1"
2008-11-19 00:05:48 EET    11733  1 LOG:  autovacuum: processing database 
"mydb3"
2008-11-19 00:06:48 EET    11734  1 LOG:  autovacuum: processing database 
"postgres"
2008-11-19 00:07:48 EET    11735  1 LOG:  autovacuum: processing database 
"mydb1"
2008-11-19 00:08:48 EET    11736  1 LOG:  autovacuum: processing database 
"emydb1"
2008-11-19 00:09:48 EET    11737  1 LOG:  autovacuum: processing database 
"template1"
2008-11-19 00:10:48 EET    11750  1 LOG:  autovacuum: processing database 
"testmydb1"
2008-11-19 00:11:48 EET    11751  1 LOG:  autovacuum: processing database 
"mydb3"
2008-11-19 00:12:48 EET    11752  1 LOG:  autovacuum: processing database 
"postgres"
2008-11-19 00:13:48 EET    11753  1 LOG:  autovacuum: processing database 
"mydb1"
2008-11-19 00:14:48 EET    11754  1 LOG:  autovacuum: processing database 
"emydb1"
2008-11-19 00:15:48 EET    11755  1 LOG:  autovacuum: processing database 
"template1"
2008-11-19 00:16:48 EET    11756  1 LOG:  autovacuum: processing database 
"testmydb1"
2008-11-19 00:17:48 EET    11757  1 LOG:  autovacuum: processing database 
"mydb3"
... 




view thread (41+ messages)  latest in thread

Message-ID: <049C2591982D4B2A81E45043922A9656@andrusnotebook>
Permalink:  ../049C2591982D4B2A81E45043922A9656@andrusnotebook/
Also on:    postgresql.org/message-id/049C2591982D4B2A81E45043922A9656@andrusnotebook

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: kobruleht2@hot.ee, alvherre@commandprompt.com, dev@archonet.com, lists@peufeu.com
  Subject: Re: Hash join on int takes 8..114 seconds
  In-Reply-To: <049C2591982D4B2A81E45043922A9656@andrusnotebook>
  References: <49253FE1.3070706@archonet.com> <0205611B528C4C2CBA99AFC64E57D6E8@andrusnotebook> <op.ukw669uvcigqcu@soyouz> <75A918DFCF25470FAF96B3FE3D25A38B@andrusnotebook> <4926E2B2.9050202@archonet.com> <8A78204AA6D44C04B053E6412B244E13@andrusnotebook> <op.ukzdioivcigqcu@soyouz> <8D7F64CF7F614E13AC554D6CF86F39B2@andrusnotebook> <20081121191646.GH5210@alvh.no-ip.org> <A44943E272DF48CC9BC306C513387020@andrusnotebook> <20081121194805.GI5210@alvh.no-ip.org> <049C2591982D4B2A81E45043922A9656@andrusnotebook>

* 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