Re: Update violating constraint - Mailing list pgsql-general

From Csaba Nagy
Subject Re: Update violating constraint
Date
Msg-id 1178201212.4260.53.camel@coppola.muc.ecircle.de
Whole thread Raw
In response to Re: Update violating constraint  (Richard Broersma Jr <rabroersma@yahoo.com>)
List pgsql-general
> If you are updating a large portion of your tree, you will probably want to throw in a vacuum in
> between the two updates.  This should reduce the bloat caused by dead tuples in both your index
> and table.

... but that will only work if you can commit the first set of changes
before you get to the end result, possibly having an inconsistent state
for the duration of the vacuum... if you want all in one transaction,
vacuum will not help.

Cheers,
Csaba.


pgsql-general by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: Update violating constraint
Next
From: Tom Lane
Date:
Subject: Re: psql access of user's environmental variables