Re: Reduction in WAL for UPDATEs
От | Florian G. Pflug |
---|---|
Тема | Re: Reduction in WAL for UPDATEs |
Дата | |
Msg-id | 460A72F1.6080909@phlo.org обсуждение исходный текст |
Ответ на | Re: Reduction in WAL for UPDATEs (Kenneth Marshall <ktm@rice.edu>) |
Ответы |
Re: Reduction in WAL for UPDATEs
|
Список | pgsql-hackers |
Kenneth Marshall wrote: > We use DSPAM as one of our anti-spam options. Its UPDATE pattern is to > increment a spam counter or a not-spam counter while keeping the user and > token information the same. This would benefit from this optimization. > Currently we are forced to use MySQL with MyISM tables to support the > update load, although PostgreSQL 8.2 performance is right at the I/O > break-even point for switching databases. With HOT and more optimized > UPDATE I/O, 8.3 would give us enough I/O headroom to switch to PostgreSQL. Interesting. I've switched from MySQL to PostgreSQL for dspam, because of concurrency issues with MyISAM which caused bad performance. I am eager to see how much HOT speeds of my setup, though ;-) BTW, the "COMMIT NOWAIT" feature Simon Riggs proposed should provide a huge speedup too, since dspam runs one transaction for each token it has to update. greetings, Florian Pflug
В списке pgsql-hackers по дате отправления: