pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bryce Nesbitt <bryce2@obviously.com>
To: pgsql-sql@postgresql.org
Subject: pg_restore followed by immediate VACUUM ANALYZE
Date: Mon, 30 Nov 2009 19:46:43 -0800
Message-ID: <4B1491A3.6080602@obviously.com> (raw)

I looking at a script that does a pg_restore followed by an immediate 
VACUUM ANALYZE (postgres 8.3).

I'm told that without the VACUUM ANALYZE the database will run slow.  
Does this ring true?
Does pg_restore not update the query planner statistics?



view thread (4+ messages)  latest in thread

Message-ID: <4B1491A3.6080602@obviously.com>
Permalink:  ../4B1491A3.6080602@obviously.com/
Also on:    postgresql.org/message-id/4B1491A3.6080602@obviously.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-sql@postgresql.org
  Cc: bryce2@obviously.com
  Subject: Re: pg_restore followed by immediate VACUUM ANALYZE
  In-Reply-To: <4B1491A3.6080602@obviously.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