Re: Autovacuum / full vacuum

From: "Larry Rosenman" <lrosenman(at)pervasive(dot)com>
To: "Michael Riess" <mlriess(at)gmx(dot)de>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Autovacuum / full vacuum
Date: 2006-01-17 14:36:53
Message-ID: D1D2D51E3BE3FC4E98598248901F75940328D9B7@ausmail2k4.aus.pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Michael Riess wrote:
> Hi,
>
> yes, some heavily used tables contain approx. 90% free space after a
> week. I'll try to increase FSM even more, but I think that I will
> still have to run a full vacuum every week. Prior to 8.1 I was using
> 7.4 and ran a full vacuum every day, so the autovacuum has helped a
> lot.
>
> But actually I never understood why the database system slows down at
> all when there is much unused space in the files. Are the unused pages
> cached by the system, or is there another reason for the impact on the
> performance?

The reason is that the system needs to LOOK at the pages/tuples to see
if the tuples
are dead or not.

So, the number of dead tuples impacts the scans.

LER

>
> Mike
--
Larry Rosenman
Database Support Engineer

PERVASIVE SOFTWARE. INC.
12365B RIATA TRACE PKWY
3015
AUSTIN TX 78727-6531

Tel: 512.231.6173
Fax: 512.231.6597
Email: Larry(dot)Rosenman(at)pervasive(dot)com
Web: www.pervasive.com

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Riess 2006-01-17 14:50:38 Re: Autovacuum / full vacuum
Previous Message Michael Riess 2006-01-17 14:33:18 Re: Autovacuum / full vacuum