pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedStarting autovacuum in postgresql-8.1.9
2+ messages / 2 participants
[nested] [flat]
* Starting autovacuum in postgresql-8.1.9
@ 2007-08-16 13:20 Jean-David Beyer <jeandavid8@verizon.net>
0 siblings, 1 reply; 2+ messages in thread
From: Jean-David Beyer @ 2007-08-16 13:20 UTC (permalink / raw)
To: pgsql-sql
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am running Red Hat Enterprise Linux 5 and postgresql-8.1.9-1.el5 (&c.).
It seems autovacuum would be a good idea, but I cannot see how to start it,
mainly because I cannot find it. There are autovacuum settings in
postgresql.conf, but they are all commented out.
Does it suffice to turn them on and restart the postmaster? Or are they off
because autovacuum is not supported? I have looked around in the PostgreSQL
book by Douglas & Douglas and they say it is in a contrib directory, but the
one that makes sense does not seem to contain it. Is it built into the
server now, or is it to be found somewhere else? In particular, pgavd does
not exist anywhere on my system.
- --
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 09:05:01 up 7 days, 12:27, 3 users, load average: 4.16, 4.35, 4.29
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org
iD8DBQFGxE8DPtu2XpovyZoRAuAgAJ9hrXdGSfX02BRQ/ZZpu+/4fcF+CQCdFAlT
RtTL04V+dNhpWi/wh4MLc/w=
=Am4q
-----END PGP SIGNATURE-----
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Starting autovacuum in postgresql-8.1.9
@ 2007-08-16 13:28 Alvaro Herrera <alvherre@commandprompt.com>
parent: Jean-David Beyer <jeandavid8@verizon.net>
0 siblings, 0 replies; 2+ messages in thread
From: Alvaro Herrera @ 2007-08-16 13:28 UTC (permalink / raw)
To: Jean-David Beyer <jeandavid8@verizon.net>; +Cc: pgsql-sql
Jean-David Beyer wrote:
> I am running Red Hat Enterprise Linux 5 and postgresql-8.1.9-1.el5 (&c.).
>
> It seems autovacuum would be a good idea, but I cannot see how to start it,
> mainly because I cannot find it. There are autovacuum settings in
> postgresql.conf, but they are all commented out.
>
> Does it suffice to turn them on and restart the postmaster? Or are they off
> because autovacuum is not supported? I have looked around in the PostgreSQL
> book by Douglas & Douglas and they say it is in a contrib directory, but the
> one that makes sense does not seem to contain it. Is it built into the
> server now, or is it to be found somewhere else? In particular, pgavd does
> not exist anywhere on my system.
Contrib existed up to 8.0. Autovacuum was integrated into the server in 8.1.
It seems Douglas' book covers only 8.0.
You can simply uncomment and turn it on. Note that you will need to
enable stats_row_level too.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-08-16 13:28 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-08-16 13:20 Starting autovacuum in postgresql-8.1.9 Jean-David Beyer <jeandavid8@verizon.net>
2007-08-16 13:28 ` Alvaro Herrera <alvherre@commandprompt.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