pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A J <s5aly@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Restore rather than rebuild index ?
Date: Wed, 6 Oct 2010 13:31:14 -0700 (PDT)
Message-ID: <5674.85628.qm@web120004.mail.ne1.yahoo.com> (raw)

During restore of a database (from a full backup), the general practice is to 
rebuild the indexes. I think with pg_dump and pg_restore (or psql restore), the 
only option is to rebuild the indexes. Am I right or is it possible to backup 
indexes as well and restore them ?
Just exploring, to figure if time to rebuild a fully functional database (with 
indexes) can be lower one way or the other.

Thank you,
AJ



      

view thread (2+ messages)  latest in thread

Message-ID: <5674.85628.qm@web120004.mail.ne1.yahoo.com>
Permalink:  ../5674.85628.qm@web120004.mail.ne1.yahoo.com/
Also on:    postgresql.org/message-id/5674.85628.qm@web120004.mail.ne1.yahoo.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: s5aly@yahoo.com
  Subject: Re: Restore rather than rebuild index ?
  In-Reply-To: <5674.85628.qm@web120004.mail.ne1.yahoo.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