Re: Update violating constraint

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: Update violating constraint
Дата
Msg-id 1178201212.4260.53.camel@coppola.muc.ecircle.de
обсуждение исходный текст
Ответ на Re: Update violating constraint  (Richard Broersma Jr <rabroersma@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: Update violating constraint
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql access of user's environmental variables