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>
Re: VERY slow after many updates Scott Marlowe <smarlowe@g2switchworks.com>
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
Дата:
От: Alex Wang
Дата:
FAQ