Re: Update table performance
От
Piotr Kołaczkowski
Тема
Re: Update table performance
Дата
Msg-id
200708071544.17399.P.Kolaczkowski@elka.pw.edu.pl
Ответ на
Update table performance (Mark Makarowsky)
Список
Дерево обсуждения
Re: Update table performance Chris Browne <cbbrowne@acm.org>
Hi, update valley set test='this is a test' Such query updates ALL of your records in the table. 5 million records * 47 fields - that can be several gigabytes of data. The system has to scan that gigabytes to change every record. This is a huge task. Try vacuuming and see if it helps. It can help a lot, if you perform such 'whole table updates' often. Best regards, Piotr Kolaczkowski
В списке pgsql-performance по дате отправления