"Suspending" indexes and constraint updates

Поиск
Список
Период
Сортировка
От Reg Me Please
Тема "Suspending" indexes and constraint updates
Дата
Msg-id 200712041009.06472.regmeplease@gmail.com
обсуждение исходный текст
Ответы Re: "Suspending" indexes and constraint updates  (Peter Eisentraut <peter_e@gmx.net>)
Re: "Suspending" indexes and constraint updates  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Hi all.

I'd need to do large updates into already populated tables as
a maintenance activity.
The updates are generated by software and are consistent with
the constraints defined in the tables.

As of now I've been looking at the index and constraint definitions,
dropping them, doing the inserts and then re-creating both indexes and
constraints.
Is there a way to "suspend" the index updates and the constraint checks
before the inserts in order to later re-enable them and do a reindex?

TIA.

--
Reg me, please!

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: stored procedures and dynamic queries
Следующее
От: Louis-David Mitterrand
Дата:
Сообщение: 8.3beta4 needs a dump/restore?