Re: unbalanced indexes -> fixed via dump/restore?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: will trillich <will(at)serensoft(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: unbalanced indexes -> fixed via dump/restore?
Date: 2001-03-07 22:21:12
Message-ID: 14265.984003672@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

will trillich <will(at)serensoft(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Simon Crute 2001-03-07 22:38:02 Re: How robust is postgresql ?
Previous Message dev 2001-03-07 21:37:08 Re: Update through views?