Expected frequency of auto_vacuum activity

From: Dave Jennings <dave(at)ambientindustries(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Expected frequency of auto_vacuum activity
Date: 2010-11-15 18:55:31
Message-ID: 4CE18223.7060400@ambientindustries.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi there,

I'm wondering if I'm seeing the appropriate amount of vacuuming in my
8.4 database.

I have a database with about twenty tables ranging from small, mostly
static, tables to tables with tens or hundreds of thousands of rows and
a fair number of inserts and updates (but very few deletes).

I have auto_vacuum with the default values (except
"log_autovacuum_min_duration=0") but when I check the logs I see lots of
vacuuming of a few pg_catalog tables - every 30 mins or so - but very
few vacuums of my public tables. Just two occurences in the last week.

According to pg_stat_all_tables only two tables in the public schema
have ever been auto-vacuumed.

Is this expected?

Thanks,

Dave.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message akp geek 2010-11-15 19:06:36 Re: index row requires 10040 bytes, maximum size is 8191
Previous Message Scott Ribe 2010-11-15 17:37:10 figuring out a streaming replication failure