pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Shaw <redsmurfau@msn.com>
To: pgsql-general@postgresql.org
Subject: Vacuum Vs Vacuum Full
Date: Tue, 5 Aug 2008 16:04:00 +1000
Message-ID: <BLU141-W10E024CC64094BA938A2B3DD7B0@phx.gbl> (raw)


Hi,

I've been trying to get to the bottom of the differences between a vacuum and a vacuum full, it seems to me that the difference is that a vacuum full also recovers disk space(and locks things making it less than useful on production servers).  But I believe that both will fix the transaction ID(example message below).

"WARNING:  database "mydb" must be vacuumed within 177009986 transactions
HINT:  To avoid a database shutdown, execute a full-database VACUUM in "mydb"."Which is reason I ask the question, is full vacuum backup useful for anything other than reclaiming disk space.

On a side note, we doubled our page slots, but they ran out much faster(of course) than we thought, is there a good sql statement that can tell you what your current transaction ID is?

Thanks in advance.

Cheers,
Rob

_________________________________________________________________
Are you paid what you're worth? Find out: SEEK Salary Centre
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%2Dresources%2Fsal...

view thread (19+ messages)  latest in thread

Message-ID: <BLU141-W10E024CC64094BA938A2B3DD7B0@phx.gbl>
Permalink:  ../BLU141-W10E024CC64094BA938A2B3DD7B0@phx.gbl/
Also on:    postgresql.org/message-id/BLU141-W10E024CC64094BA938A2B3DD7B0@phx.gbl

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: redsmurfau@msn.com
  Subject: Re: Vacuum Vs Vacuum Full
  In-Reply-To: <BLU141-W10E024CC64094BA938A2B3DD7B0@phx.gbl>
  References: <BLU141-W10E024CC64094BA938A2B3DD7B0@phx.gbl>

* 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