Re: VERY slow after many updates

Поиск
Список
Период
Сортировка
От Guido Neitzer
Тема Re: VERY slow after many updates
Дата
Msg-id AC098147-E4DC-4313-AFB3-196F1B81B96E@pharmaline.de
обсуждение исходный текст
Ответ на Re: VERY slow after many updates  ("Alex Wang" <alex@alexwang.com>)
Список pgsql-performance
On 19.11.2005, at 13:05 Uhr, Alex Wang wrote:

> Yes, it's a "queue" table. But I did not perform many insert/delete
> before it becomes slow. After insert 10 records, I just do get/
> update continuously.

When PostgreSQL updates a row, it creates a new row with the updated
values. So you should be aware, that the DB gets bigger and bigger
when you only update your rows. Vacuum full reclaims that used space.

The concepts are described in detail in the manual in chapter 12.

cug

--
PharmaLine Essen, GERMANY and
Big Nerd Ranch Europe - PostgreSQL Training, Dec. 2005, Rome, Italy
http://www.bignerdranch.com/classes/postgresql.shtml



Вложения

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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: VERY slow after many updates
Следующее
От: "Alex Wang"
Дата:
Сообщение: Re: VERY slow after many updates