"Suspending" indexes and constraint updates

From: Reg Me Please <regmeplease(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: "Suspending" indexes and constraint updates
Date: 2007-12-04 09:09:06
Message-ID: 200712041009.06472.regmeplease@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Louis-David Mitterrand 2007-12-04 09:09:26 8.3beta4 needs a dump/restore?
Previous Message Richard Huxton 2007-12-04 08:14:56 Re: stored procedures and dynamic queries