pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedVACUUM ANALYZE--how often?
3+ messages / 2 participants
[nested] [flat]
* VACUUM ANALYZE--how often?
@ 2002-01-15 16:15 Jeff Boes <jboes@nexcerpt.com>
2002-01-16 05:42 ` Re: VACUUM ANALYZE--how often? Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: jboes@nexcerpt.com @ 2002-01-15 16:15 UTC (permalink / raw)
To: pgsql-admin
Our database has about 70 tables. Only a half-dozen or so have more
than 100K rows, and all of these change (99% inserts, 10K-50K rows)
during an average day.
VACUUM ANALYZE takes over an hour, and it's edging up by a couple
minutes per day.
Is there a way to look at the DEBUG stats from the VACUUM command
(written to the postmaster log) to determine what the optimum interval
would be between VACUUMs? (Perhaps I could do three of the "big"
tables on odd-numbered days, and the rest on even-numbered days?)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: VACUUM ANALYZE--how often?
2002-01-15 16:15 VACUUM ANALYZE--how often? Jeff Boes <jboes@nexcerpt.com>
@ 2002-01-16 05:42 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-01-16 13:39 ` Re: VACUUM ANALYZE--how often? Jeff Boes <jboes@nexcerpt.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2002-01-16 05:42 UTC (permalink / raw)
To: jboes@nexcerpt.com; +Cc: pgsql-admin
jboes@nexcerpt.com (Jeff Boes) writes:
> Our database has about 70 tables. Only a half-dozen or so have more
> than 100K rows, and all of these change (99% inserts, 10K-50K rows)
> during an average day.
> VACUUM ANALYZE takes over an hour, and it's edging up by a couple
> minutes per day.
Care to try 7.2?
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: VACUUM ANALYZE--how often?
2002-01-15 16:15 VACUUM ANALYZE--how often? Jeff Boes <jboes@nexcerpt.com>
2002-01-16 05:42 ` Re: VACUUM ANALYZE--how often? Tom Lane <tgl@sss.pgh.pa.us>
@ 2002-01-16 13:39 ` Jeff Boes <jboes@nexcerpt.com>
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Boes @ 2002-01-16 13:39 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin
On Wed, 16 Jan 2002 00:42:52 -0500
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > VACUUM ANALYZE takes over an hour, and it's edging up by a couple
> > minutes per day.
>
> Care to try 7.2?
>
We will, but due to other issues we can't until things stabilize in
some other areas. Even then, how often is just often enough? Is it
different in 7.1 and 7.2?
--
Jeff Boes vox 616.226.9550
Database Engineer fax 616.349.9076
Nexcerpt, Inc. jboes@nexcerpt.com
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-01-16 13:39 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-15 16:15 VACUUM ANALYZE--how often? Jeff Boes <jboes@nexcerpt.com>
2002-01-16 05:42 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-01-16 13:39 ` Jeff Boes <jboes@nexcerpt.com>
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