agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Paul Brunner <brunner@gdc.com>
To: postgres@postgres.Berkeley.EDU
Cc: brunner@gdc.com
Subject: vacuum command functions
Date: Fri, 8 Jul 94 12:34:09 EDT
Message-ID: <9407081634.AA17138@mailhost.gdc.com> (raw)
In the 4.2 release of POSTGRES from Berkeley, there is a vacuum command,
one of whose stated purposes is to update statistics on the database used by
the query optimizer to select the best execution plan.
I was reading a paper comparing university POSTGRES with the database system
produced by Illustra Software, Inc. (a commercialization of the POSTGRES
research software.) In the paper, it states that the POSTGRES vacuum command
never actually updates these statistics. Tests I've run show the attributes
of "relpages" and "reltuples" being updated by running the vacuum after
appending rows to classes.
Does the vacuum command indeed update the statistics to reflect the current
state of the database, regardless of whatever kind of alterations have been
made to the data?
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: brunner@gdc.com
Subject: Re: vacuum command functions
In-Reply-To: <9407081634.AA17138@mailhost.gdc.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox