pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: is pg_autovacuum so effective ?
Date: Wed, 23 Feb 2005 02:03:10 +0100
Message-ID: <421BD64E.30803@bigfoot.com> (raw)
In-Reply-To: <12400.1109107683@sss.pgh.pa.us>
References: <cvg29i$2l69$1@news.hub.org>
	<12400.1109107683@sss.pgh.pa.us>

Tom Lane wrote:
> Gaetano Mendola <mendola@bigfoot.com> writes:
> 
>>I'm using ony pg_autovacuum. I expect that disk usage will reach
>>a steady state but is not. PG engine: 7.4.5
> 
> 
> One data point doesn't prove that you're not at a steady state.

I do a graph about my disk usage and it's a ramp since one week,
I'll continue to wait in order to see if it will decrease.
I was expecting the steady state at something like 4 GB
( after a full vacuum and reindex ) + 10 % = 4.4 GB
I'm at 4.6 GB and increasing. I'll see how it will continue.

>># vacuum full verbose messages;
>>INFO:  vacuuming "public.messages"
>>INFO:  "messages": found 77447 removable, 1606437 nonremovable row versions in 69504 pages
>>...
>>INFO:  "messages": moved 55221 row versions, truncated 69504 to 63307 pages
> 
> 
> 10% overhead sounds fairly reasonable to me.  How does that compare to
> the amount of updating you do on the table --- ie, do you turn over 10%
> of the table in a day?

Less, that table have 1.6 milion rows, and I insert 2000 rows in a day
with almost ~ 40000 update in one day. So it's something like: 2.5 %


Regards
Gaetano Mendola









view thread (16+ messages)  latest in thread

Message-ID: <421BD64E.30803@bigfoot.com>
Permalink:  ../421BD64E.30803@bigfoot.com/
Also on:    postgresql.org/message-id/421BD64E.30803@bigfoot.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mendola@bigfoot.com, tgl@sss.pgh.pa.us
  Subject: Re: is pg_autovacuum so effective ?
  In-Reply-To: <421BD64E.30803@bigfoot.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