Re: how can i UPDATE without dead rows

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: how can i UPDATE without dead rows
Дата
Msg-id 42B2F5B1.5090203@archonet.com
обсуждение исходный текст
Ответ на how can i UPDATE without dead rows  (csepinek@freemail.hu)
Список pgsql-sql
csepinek@freemail.hu wrote:
> Hi!
> 
> 
> My program must use UPDATE usualy, and there will be many dead rows in this table 
> what throttle down the db server. I would like to update so not create dead row.
> How can i do this?

You can't - that's how MVCC works. Make sure your free-space-map 
settings are large enough in postgresql.conf and that you vacuum enough 
- that will keep the "dead" space being re-used.

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Bricklen Anderson
Дата:
Сообщение: Re: UPDATEABLE VIEWS ... Examples?
Следующее
От: grupos
Дата:
Сообщение: Re: SELECT with sum on groups ORDERING by the subtotals