Re: UPDATE many records

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: UPDATE many records
Дата
Msg-id 86f7f7160d10a726541fd689c5a518102e3f50c5.camel@lists.simkin.ca
обсуждение исходный текст
Ответ на Re: UPDATE many records  (Israel Brewster <ijbrewster@alaska.edu>)
Ответы Re: UPDATE many records
Список pgsql-general
On Tue, 2020-01-07 at 11:47 -0900, Israel Brewster wrote:
> One potential issue I just thought of with this approach: disk space.
> Will I be doubling the amount of space used while both tables exist?
> If so, that would prevent this from working - I don’t have that much
> space available at the moment.

The original update you planned would do that, too.

You probably need to just do the update in batches and vacuum the table
between batches.




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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Writing Postgres Extensions in C on Windows
Следующее
От: Israel Brewster
Дата:
Сообщение: Re: UPDATE many records