pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rafael Domiciano <rafael.domiciano@gmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Vacuum Full
Date: Tue, 31 Mar 2009 13:04:15 -0300
Message-ID: <3a0028490903310904q3df73b6dob4d62511df38563c@mail.gmail.com> (raw)

Hello People,

I have some doubts about Vacuum Full. There We go:
1) The Only thing that *Vacuum Full* (Only Full, not Analyze) is to clean
"dead space" on the disc, and reorganize the relation at the physical level?
If it's true, so doing this may speed up *select's*, while the Postgres will
going to do less hit in the disc. I'm right?

2) Doing only *Vacuum Analyze* I have a enlargement of the parameter *
max_fsm_pages*. Does it have any impact in the operation?
Should I increment the value in the conf to be so large than the Vacuum
Verbose shows me?

3) There are differences in performace of Vacuum Full between versions 8.1.4
and 8.3.7?
As soon as possible we are going to migrate the Postgres to 8.3.7, just
waiting the finish of the tests of the software in the new version.

4) The right way to run Vacuum and Reindex is: Vacuum and Reindex or Reindex
and Vacuum?
Running Vacuum I have a Index Bloat, right?! So I have to run Reindex afet
Vacuum?!
If true I'll change the script to make first Vacuum and then Reindex.

5) Does have any way to see how much is left to finish vacuum?
Example:
select * from vacuum_finish;
Relation   Total Bytes    Total Bytes Done      Total Bytes Remaining
Table01    1000             600                          400

Or Something like that!


Thnks for responses,

Rafael Domiciano

view thread (22+ messages)  latest in thread

Message-ID: <3a0028490903310904q3df73b6dob4d62511df38563c@mail.gmail.com>
Permalink:  ../3a0028490903310904q3df73b6dob4d62511df38563c@mail.gmail.com/
Also on:    postgresql.org/message-id/3a0028490903310904q3df73b6dob4d62511df38563c@mail.gmail.com

 · 

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: pgsql-admin@postgresql.org
  Cc: rafael.domiciano@gmail.com
  Subject: Re: Vacuum Full
  In-Reply-To: <3a0028490903310904q3df73b6dob4d62511df38563c@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox