Re: Table UPDATE is too slow
От | Marinos J. Yannikos |
---|---|
Тема | Re: Table UPDATE is too slow |
Дата | |
Msg-id | 413BA104.1040508@geizhals.at обсуждение исходный текст |
Ответ на | Table UPDATE is too slow (Ron St-Pierre <rstpierre@syscor.com>) |
Ответы |
Re: Table UPDATE is too slow
|
Список | pgsql-performance |
Ron St-Pierre wrote: > We have a web based application with data that is updated daily. The > biggest bottleneck occurs when we try to update > one of the tables. This table contains 58,000 rows and 62 columns, and > EVERY column is indexed. Have you thought of / tried using 2 separate databases or tables and switching between them? Since you seem to be updating all the values, it might be a lot faster to re-create the table from scratch without indexes and add those later (maybe followed by a VACUUM ANALYZE) ... That said, I'm not entirely sure how well postgres' client libraries can deal with tables being renamed while in use, perhaps someone can shed some light on this. Regards, Marinos -- Dipl.-Ing. Marinos Yannikos, CEO Preisvergleich Internet Services AG Obere Donaustraße 63/2, A-1020 Wien Tel./Fax: (+431) 5811609-52/-55
В списке pgsql-performance по дате отправления: