Re: unbalanced indexes -> fixed via dump/restore? - Mailing list pgsql-general

From Tom Lane
Subject Re: unbalanced indexes -> fixed via dump/restore?
Date
Msg-id 14265.984003672@sss.pgh.pa.us
Whole thread Raw
In response to unbalanced indexes -> fixed via dump/restore?  (will trillich <will@serensoft.com>)
Responses Re: unbalanced indexes -> fixed via dump/restore?
List pgsql-general
will trillich <will@serensoft.com> writes:
> A)
>     pg_dump -c mydb > db.out.sql
> and then
>     psql mydb < db.out.sql
> periodically?

> or is it better to

> B) merely 'reindex' on occasion?

Plain old DROP INDEX / CREATE INDEX is probably the best-trodden path.
Your (A) seems like vastly more work than is needed.  (B) might be
marginally easier than DROP/CREATE, but I'm not sure how much I trust
REINDEX; it's not been around all that long.

            regards, tom lane

pgsql-general by date:

Previous
From: dev@archonet.com
Date:
Subject: Re: Update through views?
Next
From: "Simon Crute"
Date:
Subject: Re: How robust is postgresql ?