From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin@postgresql.org
To: A J <s5aly@yahoo.com>
Subject: Re: Restore rather than rebuild index ?
Date: Wed, 06 Oct 2010 15:53:46 -0500
Message-ID: <4CAC9B8A02000025000365DD@gw.wicourts.gov> (raw)
In-Reply-To: <5674.85628.qm@web120004.mail.ne1.yahoo.com>
References: <5674.85628.qm@web120004.mail.ne1.yahoo.com>
A J <s5aly@yahoo.com> wrote:
> 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 ?
With pg_dump it is copying in rows by value, so indexes must then be
built. If you use PITR backups, it is a block-by-block copy of the
files, including indexes -- no index rebuild is needed for that
technique.
-Kevin
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: Kevin.Grittner@wicourts.gov, s5aly@yahoo.com
Subject: Re: Restore rather than rebuild index ?
In-Reply-To: <4CAC9B8A02000025000365DD@gw.wicourts.gov>
References: <5674.85628.qm@web120004.mail.ne1.yahoo.com> <4CAC9B8A02000025000365DD@gw.wicourts.gov>
* 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