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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unbalanced indexes -> fixed via dump/restore?
Дата
Msg-id 14265.984003672@sss.pgh.pa.us
обсуждение исходный текст
Ответ на unbalanced indexes -> fixed via dump/restore?  (will trillich <will@serensoft.com>)
Ответы Re: unbalanced indexes -> fixed via dump/restore?
Список 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 по дате отправления:

Предыдущее
От: dev@archonet.com
Дата:
Сообщение: Re: Update through views?
Следующее
От: "Simon Crute"
Дата:
Сообщение: Re: How robust is postgresql ?