Re: bytea encode performance issues

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема Re: bytea encode performance issues
Дата
Msg-id 489A9B8C.5020804@compulab.co.il
обсуждение исходный текст
Ответ на Re: bytea encode performance issues  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I ran the update, but now (obviously) it wants to vacuum again and
vacuum on that table took 9 hours yesterday.

Do the statistics change when changing the storage type? Meaning does it
really need to vacuum?

Thank you
Sim

Tom Lane wrote:
> Sim Zacks <sim@compulab.co.il> writes:
>> After the alter table, then I have to update each row with an
>> update dbmail_messageblks set messageblk=messageblk;
>> so that it uses the new storage.
>
> I wouldn't actually bet on that changing anything at all ...
> I'd try something like messageblk = messageblk || '' to make
> completely sure the value gets detoasted.
>
>             regards, tom lane

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

Предыдущее
От: Tomasz Ostrowski
Дата:
Сообщение: Re: looking for psql without server-installation
Следующее
От: Cyril SCETBON
Дата:
Сообщение: Checkpoints writes