Re: Transactions, tuples, and VACUUM

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Transactions, tuples, and VACUUM
Дата
Msg-id 15525.1060861135@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Transactions, tuples, and VACUUM  ("Matt Clark" <matt@ymogen.net>)
Список pgsql-admin
"Matt Clark" <matt@ymogen.net> writes:
> consider:
>   begin;
>   update a set col1 = 'p' where id = '1';
>   update a set col2 = 'q' where id = '1';
>   commit;
> versus:
>   update a set col1 = 'p', col2 = 'q' where id = '1';

> Does the first case generate any more dead tuples that will need
> vacuuming than the second case,

Yes.  Takes twice as long, too.

            regards, tom lane

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

Предыдущее
От: "Matt Clark"
Дата:
Сообщение: Transactions, tuples, and VACUUM
Следующее
От: "Priya G"
Дата:
Сообщение: forcce a table in memory