vacuumdb clarification

Поиск
Список
Период
Сортировка
Искать

vacuumdb clarification

От:
Bruce Momjian <bruce@momjian.us>
Дата:
Here is a documentation patch I have applied to clarify that --analyze
does analyze during vacuum, not instead of vacuum.

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/ref/vacuumdb.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/vacuumdb.sgml,v
retrieving revision 1.44
diff -c -c -r1.44 vacuumdb.sgml
*** doc/src/sgml/ref/vacuumdb.sgml	26 Feb 2009 16:02:37 -0000	1.44
--- doc/src/sgml/ref/vacuumdb.sgml	13 Nov 2009 19:46:37 -0000
***************
*** 159,165 ****
        
        
         
!         Calculate statistics for use by the optimizer.
         
        
       
--- 159,165 ----
        
        
         
!         Calculate statistics for use by the optimizer during vacuum.
         
        
       

Re: vacuumdb clarification

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
On fre, 2009-11-13 at 14:49 -0500, Bruce Momjian wrote:
> Here is a documentation patch I have applied to clarify that --analyze
> does analyze during vacuum, not instead of vacuum.

I don't see this committed, but I would vote against it, because the
wording makes it sound like the statistics are for use by the optimizer
during vacuum.

diff -c -c -r1.44 vacuumdb.sgml
*** doc/src/sgml/ref/vacuumdb.sgml      26 Feb 2009 16:02:37 -0000
1.44
--- doc/src/sgml/ref/vacuumdb.sgml      13 Nov 2009 19:46:37 -0000
***************
*** 159,165 ****
        
        
         
!         Calculate statistics for use by the optimizer.
         
        
       
--- 159,165 ----
        
        
         
!         Calculate statistics for use by the optimizer during vacuum.
         
        
       


Re: vacuumdb clarification

От:
Bruce Momjian <bruce@momjian.us>
Дата:
Peter Eisentraut wrote:
> On fre, 2009-11-13 at 14:49 -0500, Bruce Momjian wrote:
> > Here is a documentation patch I have applied to clarify that --analyze
> > does analyze during vacuum, not instead of vacuum.
> 
> I don't see this committed, but I would vote against it, because the
> wording makes it sound like the statistics are for use by the optimizer
> during vacuum.

I agree with your analysis.  I have applied a simpler wording
improvement that just adds the word "Also".

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/ref/vacuumdb.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/vacuumdb.sgml,v
retrieving revision 1.44
diff -c -c -r1.44 vacuumdb.sgml
*** doc/src/sgml/ref/vacuumdb.sgml	26 Feb 2009 16:02:37 -0000	1.44
--- doc/src/sgml/ref/vacuumdb.sgml	27 Nov 2009 17:40:12 -0000
***************
*** 159,165 ****
        
        
         
!         Calculate statistics for use by the optimizer.
         
        
       
--- 159,165 ----
        
        
         
!         Also calculate statistics for use by the optimizer.
         
        
       
FAQ