pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Adi Alurkar <adi@sf.net>
Subject: Re: Dump/Restore vs Vacuum Full
Date: Sat, 04 Sep 2004 12:19:38 +0200
Message-ID: <413996BA.9070806@bigfoot.com> (raw)
In-Reply-To: <234DDAC5-FDCB-11D8-A503-000A95C4BD7A@sf.net>
References: <682E2026-FC7B-11D8-9429-000A95C4BD7A@sf.net>
	<234DDAC5-FDCB-11D8-A503-000A95C4BD7A@sf.net>

Adi Alurkar wrote:
> Any comments ?
> knock knock!! is this thing ON?
> 
> On Sep 1, 2004, at 5:59 PM, Adi Alurkar wrote:
> 
>> Greetings,
>>
>> Are there any differences, advantages of running a dump/restore vs 
>> running the following:1)REINDEX all the tables in all the databases, 
>> 2)VACUUM FULL ANALYZE on all the databases
>>
>> Assuming the following
>> 1) the system can be offline.
>> 2) PG version 7.4.x
>> 3) pg_autovacuum running as a daemon with 30 minutes sleep but have 
>> had a few occasions where pg_autovacuum had to be killed and restarted.
>> 4) FSM settings are set > than required by VACUUM ANALYZE VERBOSE "test".

Go for a vacuum full and reindex of all tables. The advantages are that
the dump/restore is longer if your vacuum the database quite enough

BTW, with 7.4.x there is no needs to run vacuum full so much

Regards
Gaetano Mendola











view thread (3+ messages)

Message-ID: <413996BA.9070806@bigfoot.com>
Permalink:  ../413996BA.9070806@bigfoot.com/
Also on:    postgresql.org/message-id/413996BA.9070806@bigfoot.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 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-admin@postgresql.org
  Cc: mendola@bigfoot.com, adi@sf.net
  Subject: Re: Dump/Restore vs Vacuum Full
  In-Reply-To: <413996BA.9070806@bigfoot.com>
  References: <682E2026-FC7B-11D8-9429-000A95C4BD7A@sf.net> <234DDAC5-FDCB-11D8-A503-000A95C4BD7A@sf.net> <413996BA.9070806@bigfoot.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