Re: Postgres performance slowly gets worse over a month - Mailing list pgsql-admin

From Joshua Daniel Franklin
Subject Re: Postgres performance slowly gets worse over a month
Date
Msg-id 20020726161125.95391.qmail@web20005.mail.yahoo.com
Whole thread Raw
In response to Re: Postgres performance slowly gets worse over a month  ("Michael G. Martin" <michael@vpmonline.com>)
Responses Re: Postgres performance slowly gets worse over a month  (Marc Spitzer <marc@oscar.eng.cv.net>)
List pgsql-admin
Thanks, this is exactly what I was thinking.

--- "Michael G. Martin" <michael@vpmonline.com> wrote:
> You then remove a bunch of old tuples.  Space is still X+Y.  You now
> have 2 basic options:
>
> 1.  Run a vacuum full -- this locks the entier table, and de-fragments
> all unused space, so space is now back to X. Table will grow incremently
> by Y over the next 6 months again.
> 2.  Run a lazy vacuum-- no lock, no de-fragment, space is still X+Y.
>  Assuming max_fsm_pages was large enough to hold all the changed pages,
> over the next 6 months, the space remains fixed at about X+Y.  You are
> now re-using the unused table space.
>
> Either solution will work.  If you really want to cut disk space, choose
> 1.  If you want to keep the space at about it optimal size and avoid any
> downtime, choose 2.
>
> --Michael


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

pgsql-admin by date:

Previous
From: "Michael G. Martin"
Date:
Subject: Re: Postgres performance slowly gets worse over a month
Next
From: "LUTZ GEOFFREY"
Date:
Subject: unsubscribe