Does "vacuum analyze" contain "vacuum"?

Started by Holger Marzenover 22 years ago7 messagesgeneral
Jump to latest
#1Holger Marzen
holger@marzen.de

Hi all,

the docs are not clear for me. If I want (in version 7.1.x, 7.2.x) to
help the analyzer AND free unused space do I have to do a

vacuum
vacuum analyze

or is a

vacuum analyze

enough? I am not sure if "vacuum analyze" contains a "vacuum".

Regards
Holger

--
PGP/GPG Key-ID:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xB5A1AFE1

#2Manfred Koizar
mkoi-pg@aon.at
In reply to: Holger Marzen (#1)
Re: Does "vacuum analyze" contain "vacuum"?

On Sun, 7 Sep 2003 14:04:51 +0200 (CEST), Holger Marzen
<holger@marzen.de> wrote:

[...] (in version 7.1.x, 7.2.x) [...] is a

vacuum analyze

enough?

As far as I remember, yes.
BTW, what keeps you from upgrading to 7.3.4?

Servus
Manfred

#3Holger Marzen
holger@marzen.de
In reply to: Manfred Koizar (#2)
Re: Does "vacuum analyze" contain "vacuum"?

On Sun, 7 Sep 2003, Manfred Koizar wrote:

On Sun, 7 Sep 2003 14:04:51 +0200 (CEST), Holger Marzen
<holger@marzen.de> wrote:

[...] (in version 7.1.x, 7.2.x) [...] is a

vacuum analyze

enough?

As far as I remember, yes.
BTW, what keeps you from upgrading to 7.3.4?

Never change a running system.

--
PGP/GPG Key-ID:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&amp;search=0xB5A1AFE1

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Holger Marzen (#1)
Re: Does "vacuum analyze" contain "vacuum"?

Holger Marzen writes:

I am not sure if "vacuum analyze" contains a "vacuum".

"vacuum analyze" = "vacuum" + "analyze"

--
Peter Eisentraut peter_e@gmx.net

#5Matthew T. O'Connor
matthew@zeut.net
In reply to: Holger Marzen (#1)
Re: Does "vacuum analyze" contain "vacuum"?

On Sun, 2003-09-07 at 08:04, Holger Marzen wrote:

Hi all,

the docs are not clear for me. If I want (in version 7.1.x, 7.2.x) to
help the analyzer AND free unused space do I have to do a

vacuum
vacuum analyze

or is a

vacuum analyze

vacuum analyze = vacuum + analyze

FYI, I don't remember it if was added in 7.2, or 7.3, but you can now
do:

vacuum = just vacuum
vacuum analyze = vacuum + analyze
analyze = just analyze

analyze is all you need if you want to update planner statistics without
trying to reclaim any space.

#6scott.marlowe
scott.marlowe@ihs.com
In reply to: Matthew T. O'Connor (#5)
Re: Does "vacuum analyze" contain "vacuum"?

On 8 Sep 2003, Matthew T. O'Connor wrote:

On Sun, 2003-09-07 at 08:04, Holger Marzen wrote:

Hi all,

the docs are not clear for me. If I want (in version 7.1.x, 7.2.x) to
help the analyzer AND free unused space do I have to do a

vacuum
vacuum analyze

or is a

vacuum analyze

vacuum analyze = vacuum + analyze

FYI, I don't remember it if was added in 7.2, or 7.3, but you can now
do:

7.2 for sure had analyze. I'm still using it in production (although it
is getting a bit long in the tooth nowadays)

Looking at the docs for 7.1, it didn't.

#7Andrew Sullivan
andrew@libertyrms.info
In reply to: Holger Marzen (#3)
Re: Does "vacuum analyze" contain "vacuum"?

On Sun, Sep 07, 2003 at 09:24:36PM +0200, Holger Marzen wrote:

Never change a running system.

Well, unless the running system has known bugs. Which 7.1 and 7.2
both assuredly do.

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110