autovacuum - Mailing list pgsql-admin

From Sriram Dandapani
Subject autovacuum
Date
Msg-id 6992E470F12A444BB787B5C937B9D4DF04C4C928@ca-mail1.cis.local
Whole thread Raw
Responses Re: autovacuum  (Scott Marlowe <smarlowe@g2switchworks.com>)
Re: autovacuum  (Robin Iddon <robin@edesix.com>)
List pgsql-admin

Hi

 

I have a table into which data flows at a high rate say 2 million rows per hour. Every 15 minutes, these rows are processed and deleted.

At any point in time, the row count for the table hovers around 500K (due to the deletes).

 

I have set max_fsm_pages to about 2000000. I still see the pg_total_relation_size constantly reporting an increasing size.

 

How do I know if autovacuum is reclaiming space or is my max_fsm setting plain wrong. (I understand that autovacuum marks tuples for reuse, but shouldn’t pg_total_relation_size take that into account)

pgsql-admin by date:

Previous
From: "Benjamin Krajmalnik"
Date:
Subject: Table truncate question
Next
From: Scott Marlowe
Date:
Subject: Re: autovacuum