Re: [PERFORM] Question on vacuumdb

2005-04-18 Thread Bruno Wolff III
On Mon, Apr 18, 2005 at 12:27:08 -0700,
  Bill Chandler <[EMAIL PROTECTED]> wrote:
> All,
> 
> If I run the command "vacuumdb mydb" I understand that
> it does some disk space recovery (but not as much as
> "vacuumdb --full mydb").  

You are better off not using vacuum full unless some unusual event has
bloated your database. By running normal vacuums often enough (and with
a large enough fsm setting) your database should reach a steady state size.

> Question: if I run the command "vacuumdb --analyze
> mydb" does it still do the aforementioned disk space
> recovery AS WELL AS update query planning statistics? 
> Or are those two completely separate operations
> requiring separate invocations of 'vacuumdb'.

It is better to do both with one command.

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


[PERFORM] Question on vacuumdb

2005-04-18 Thread Bill Chandler
All,

If I run the command "vacuumdb mydb" I understand that
it does some disk space recovery (but not as much as
"vacuumdb --full mydb").  

Question: if I run the command "vacuumdb --analyze
mydb" does it still do the aforementioned disk space
recovery AS WELL AS update query planning statistics? 
Or are those two completely separate operations
requiring separate invocations of 'vacuumdb'.

thanks,

Bill



__ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faq