Re: Reduction in WAL for UPDATEs
От | Gregory Stark |
---|---|
Тема | Re: Reduction in WAL for UPDATEs |
Дата | |
Msg-id | 87y7lhl86h.fsf@oxford.xeocode.com обсуждение исходный текст |
Ответ на | Re: Reduction in WAL for UPDATEs (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Reduction in WAL for UPDATEs
Re: Reduction in WAL for UPDATEs |
Список | pgsql-hackers |
"Tom Lane" <tgl@sss.pgh.pa.us> writes: > Yeah, this illustrates my concern that the proposal is too narrowly > focused on a specific benchmark. A lot of the recently proposed changes don't really fit in the "optimizations" category very well at all. I think of them more as "avoiding pitfalls". Currently Postgres works quite well if your application is designed around its performance profile. But as soon as you do something "strange" you run the risk of running into various pitfalls. If you keep a long-running transaction open you suddenly find your tables bloating. If your table grows too large vacuum takes too long to complete and your tables bloat. If you update the same record many times instead of batching updates and performing a single update your table bloats. This one is similar, if you keep a bunch of static data attached to some small dynamic data your WAL and table bloats. Certainly you could have engineered your system not to fall into this pitfall, but only if you knew about it and only if it was worth the effort and other possible costs of doing so. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: