pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedpre-Vacuum statistics
2+ messages / 2 participants
[nested] [flat]
* pre-Vacuum statistics
@ 2003-07-10 18:19 Rich Cullingford <rculling@sysd.com>
2003-07-11 10:57 ` Re: pre-Vacuum statistics Rod Taylor <rbt@rbt.ca>
0 siblings, 1 reply; 2+ messages in thread
From: Rich Cullingford @ 2003-07-10 18:19 UTC (permalink / raw)
To: pgsql-performance
Greetings,
All the recommendations I can locate concerning the use of (the various
flavors of) VACUUM suggest running it at regular intervals. Is there any
way, for a given table, to discover how many/what percentage of rows are
likely to be VACUUMable at a given point, so that some kind of
threshold-based VACUUM could be done by an application? We have several
tables that undergo bursty UPDATEs, where large numbers of transactions
occur "relatively" infrequently; and others where the UPDATEs occur at
regular intervals (a few seconds or so).
Thanks for any advice!
Regards,
Rich Cullingford
rculling@sysd.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pre-Vacuum statistics
2003-07-10 18:19 pre-Vacuum statistics Rich Cullingford <rculling@sysd.com>
@ 2003-07-11 10:57 ` Rod Taylor <rbt@rbt.ca>
0 siblings, 0 replies; 2+ messages in thread
From: Rod Taylor @ 2003-07-11 10:57 UTC (permalink / raw)
To: Rich Cullingford <rculling@sysd.com>; +Cc: pgsql-performance
On Thu, 2003-07-10 at 18:19, Rich Cullingford wrote:
> Greetings,
> All the recommendations I can locate concerning the use of (the various
> flavors of) VACUUM suggest running it at regular intervals. Is there any
> way, for a given table, to discover how many/what percentage of rows are
Not nicely, but you may want to look at pg_autovacuum either off gborg
or in the 7.4 /contrib/pg_autovacuum directory.
It will fire off a periodic vacuum based on table activity from the
statistics system.
Attachments:
signature.asc (application/pgp-signature, 186B) download
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-07-11 10:57 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10 18:19 pre-Vacuum statistics Rich Cullingford <rculling@sysd.com>
2003-07-11 10:57 ` Rod Taylor <rbt@rbt.ca>
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