From: | "Tim Barnard" <tbarnard(at)povn(dot)com> |
---|---|
To: | "Peter Peltonen" <peter(dot)peltonen(at)fivetec(dot)com> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: About vacuuming |
Date: | 2002-02-27 19:24:33 |
Message-ID: | 016301c1bfc4$63f85980$a519af3f@hartcomm.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
How often depends on how busy your db is. But I'd recommend running it at
least once a day.
Vacuum analyze updates the statistics that the db uses to determine various
query plans, so I'd always run it as vacuum analyze, rather than just
vacuum.
Leave postmater running when you run it. There's no need to take it offline.
Consider running it as a cron job.
Tim
----- Original Message -----
From: "Peter Peltonen" <peter(dot)peltonen(at)fivetec(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Wednesday, February 27, 2002 7:12 AM
Subject: [GENERAL] About vacuuming
> Questions regarding PostgreSQL 7.1.3 (if things are different with 7.2 I'd
> like to know that too :)
>
> How often one should vacuum his db?
>
> Is vacuum --analyze for just providing information or does it somehow
> store it's info for postgresql's use (in other words: should I run it too,
> and if so, should I do it before or after the real vacuum?).
>
> Should postmaster be running or not when vacuuming?
>
> Regards,
> Peter
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jairo Tcatchenco | 2002-02-27 19:26:55 | Drawing databases |
Previous Message | Gregory Wood | 2002-02-27 19:14:02 | Re: System Messages |