Re: I don't want to back up index files - Mailing list pgsql-general

From Jeremy Harris
Subject Re: I don't want to back up index files
Date
Msg-id 49BABE99.3060508@wizmail.org
Whole thread Raw
In response to Re: I don't want to back up index files  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: I don't want to back up index files  (Glen Parker <glenebob@nwlink.com>)
List pgsql-general
Simon Riggs wrote:
> The idea of auto rebuilding indexes following recovery has already been
> proposed, so is under consideration. It hasn't been proposed in relation
> to the use case you mention, so that is new.
>
> If we did as you suggest then it would speed up the base backup but
> would also add index rebuild time onto the end of any recovery.

Forgive me for being stupid, but isn't a time when all the data for
a table is being streamed in, during restore, the *perfect* time
to build an index?   Why wait until after the restore?

Cheers,
    Jeremy

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Inserting string with a " into an array using {} syntax ... possible?
Next
From: Glen Parker
Date:
Subject: Re: I don't want to back up index files