Re: Restore rather than rebuild index ? - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Restore rather than rebuild index ?
Date
Msg-id 4CAC9B8A02000025000365DD@gw.wicourts.gov
Whole thread Raw
In response to Restore rather than rebuild index ?  (A J <s5aly@yahoo.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Palaniappan Thiyagarajan
Date:
Subject: Prepared statement and pgbouncer
Next
From: "Kevin Grittner"
Date:
Subject: Re: Prepared statement and pgbouncer