Re: [PERFORM] estimating the need for VACUUM FULL and REINDEX

2007-05-12 Thread Jim C. Nasby
On Fri, May 11, 2007 at 01:25:04PM -0400, Alvaro Herrera wrote: > Guillaume Cottenceau wrote: > > Guillaume Cottenceau writes: > > > > > With that in mind, I've tried to estimate how much benefit would > > > be brought by running VACUUM FULL, with the output of VACUUM > > > VERBOSE. However, it s

Re: [PERFORM] estimating the need for VACUUM FULL and REINDEX

2007-05-11 Thread Alvaro Herrera
Guillaume Cottenceau wrote: > Guillaume Cottenceau writes: > > > With that in mind, I've tried to estimate how much benefit would > > be brought by running VACUUM FULL, with the output of VACUUM > > VERBOSE. However, it seems that for example the "removable rows" > > reported by each VACUUM VERBO

Re: [PERFORM] estimating the need for VACUUM FULL and REINDEX

2007-05-11 Thread Guillaume Cottenceau
Guillaume Cottenceau writes: > With that in mind, I've tried to estimate how much benefit would > be brought by running VACUUM FULL, with the output of VACUUM > VERBOSE. However, it seems that for example the "removable rows" > reported by each VACUUM VERBOSE run is actually reused by VACUUM, > s

Re: [PERFORM] estimating the need for VACUUM FULL and REINDEX

2007-05-09 Thread Guillaume Cottenceau
Heikki Linnakangas writes: > Guillaume Cottenceau wrote: > > According to documentation[1], VACUUM FULL's only benefit is > > returning unused disk space to the operating system; am I correct > > in assuming there's also the benefit of optimizing the > > performance of scans, because rows are phy

Re: [PERFORM] estimating the need for VACUUM FULL and REINDEX

2007-05-08 Thread Bill Moran
In response to Guillaume Cottenceau <[EMAIL PROTECTED]>: > I'm trying to come up with a way to estimate the need for a > VACUUM FULL and/or a REINDEX on some tables. You shouldn't vacuum full unless you have a good reason. Vacuum full causes index bloat. > According to documentation[1], VACUUM

Re: [PERFORM] estimating the need for VACUUM FULL and REINDEX

2007-05-08 Thread Heikki Linnakangas
Guillaume Cottenceau wrote: According to documentation[1], VACUUM FULL's only benefit is returning unused disk space to the operating system; am I correct in assuming there's also the benefit of optimizing the performance of scans, because rows are physically compacted on the disk? That's right

[PERFORM] estimating the need for VACUUM FULL and REINDEX

2007-05-08 Thread Guillaume Cottenceau
I'm trying to come up with a way to estimate the need for a VACUUM FULL and/or a REINDEX on some tables. According to documentation[1], VACUUM FULL's only benefit is returning unused disk space to the operating system; am I correct in assuming there's also the benefit of optimizing the performanc