Re: Statement-level rollback
От | Andres Freund |
---|---|
Тема | Re: Statement-level rollback |
Дата | |
Msg-id | FB78E0B3-54E1-4E2A-880E-C5348A63FC1C@anarazel.de обсуждение исходный текст |
Ответ на | Re: Statement-level rollback (Alvaro Herrera <alvherre@2ndquadrant.com>) |
Ответы |
Re: Statement-level rollback
|
Список | pgsql-hackers |
On December 7, 2018 11:56:55 AM PST, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: >BTW, a couple of months ago I measured the performance implications for >a single update under pgbench and it represented a decrease of about >3%-5%. Side-effects such as xid consumption have worse implications, >but as far as performance is concerned, it's not as bad as all that. I don't think that's a fair test for the performance downsides. For pgbench with modifications the full commit is such alarge portion of the time that you'd need to make things a lot slower to show a large slowdown. And for ro pgbench the subxactsdon't matter that much. It'd probably be more meaningful to have a mixed workload of 15 ro statements per xact inone type of session, and 5rw /10ro in another. Andres -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
В списке pgsql-hackers по дате отправления: