From: David Lizano <david.lizano@izanet.com>
To: pgsql-admin@postgresql.org
Subject: Re: Recommended VACUM timing...
Date: Wed, 04 Apr 2001 08:53:18 +0200
Message-ID: <4.3.2.7.0.20010404085251.00c31180@192.168.1.1> (raw)
>For large tables that require a 24/7 uptime and see around 6-10 million
>changes a day, how do I run VACUM without taking the database/table down.
>Considering moving from MySQL, but can't quite understand how to run
>PostgreSQL in a production enviroment properly.
a) Using replication, you can "vacuum" one server meanwhile the other is
working.
There are two utilities for PostgreSQL v7.1 (eRServer and RServ
v0.1), but I don't know the level of maturity of this utilities. I suppose
that they aren't in production level.
b) 1.- Stop the postmaster daemon
2.- Make a copy of the database files directly from the filesistem.
3.- start the postmaster daemon.
The second should stop the service a short time compared with
"vacuumdb".
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: david.lizano@izanet.com
Subject: Re: Recommended VACUM timing...
In-Reply-To: <4.3.2.7.0.20010404085251.00c31180@192.168.1.1>
References: <4.3.2.7.0.20010404085251.00c31180@192.168.1.1>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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