Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-04 Thread Gaetano Mendola
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew T. O'Connor wrote: | Gaetano Mendola wrote: | |> Matthew T. O'Connor wrote: |> |>> Since you are running autovacuum I doubt the doing vacuumdb -a -z is 3 |>> times a day buying you much. It's not a bad idea to do once in a while. |> |> |> |> Th

Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-04 Thread Matthew T. O'Connor
Gaetano Mendola wrote: Matthew T. O'Connor wrote: Since you are running autovacuum I doubt the doing vacuumdb -a -z is 3 times a day buying you much. It's not a bad idea to do once in a while. The reason is that I have few tables of about 5 milion with ~ 1 insert per day. Even with setting

Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-03 Thread Gaetano Mendola
Matthew T. O'Connor wrote: On Sun, 2004-10-03 at 21:01, Gaetano Mendola wrote: Tom Lane wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: Christopher Browne wrote: pg_autovacuum -d 3 -v 300 -V 0.5 -S 0.8 -a 200 -A 0.8 I'm not very familiar at all with appropriate settings for autovacuum, but does

Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-03 Thread Matthew T. O'Connor
On Sun, 2004-10-03 at 21:01, Gaetano Mendola wrote: > Tom Lane wrote: > > Gaetano Mendola <[EMAIL PROTECTED]> writes: > > > >>Christopher Browne wrote: > >>pg_autovacuum -d 3 -v 300 -V 0.5 -S 0.8 -a 200 -A 0.8 > > > > I'm not very familiar at all with appropriate settings for autovacuum, > > but

Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-03 Thread Gaetano Mendola
Tom Lane wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: Christopher Browne wrote: Assuming that the tables in question aren't so large that they cause mass eviction of buffers, it should suffice to do a plain VACUUM (and NOT a "VACUUM FULL") on the tables in question quite frequently. This is

Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-03 Thread Tom Lane
Gaetano Mendola <[EMAIL PROTECTED]> writes: > Christopher Browne wrote: >>> Assuming that the tables in question aren't so large that they cause >>> mass eviction of buffers, it should suffice to do a plain VACUUM (and >>> NOT a "VACUUM FULL") on the tables in question quite frequently. > This is

Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-03 Thread Gaetano Mendola
Christopher Browne wrote: > [EMAIL PROTECTED] (Aleksey Serba) wrote: > >> Hello! >> >> I have 24/7 production server under high load. >> I need to perform vacuum full on several tables to recover disk >> space / memory usage frequently ( the server must be online during >> vacuum time )

Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-02 Thread Christopher Browne
[EMAIL PROTECTED] (Aleksey Serba) wrote: >Hello! > >I have 24/7 production server under high load. >I need to perform vacuum full on several tables to recover disk >space / memory usage frequently ( the server must be online during >vacuum time ) The main thought is: "Don't do

Re: [GENERAL] VACUUM FULL on 24/7 server

2004-10-02 Thread Tom Lane
Aleksey Serba <[EMAIL PROTECTED]> writes: >I have 24/7 production server under high load. >I need to perform vacuum full on several tables to recover disk >space / memory usage frequently ( the server must be online during > vacuum time ) Don't use VACUUM FULL; plain VACUUM should be

[GENERAL] VACUUM FULL on 24/7 server

2004-10-02 Thread Aleksey Serba
Hello! I have 24/7 production server under high load. I need to perform vacuum full on several tables to recover disk space / memory usage frequently ( the server must be online during vacuum time ) The one trick that i see is to try to vacuum duplicate of production database (