Re: Disable Transaction - plans ? - Mailing list pgsql-general

From Thomas Lockhart
Subject Re: Disable Transaction - plans ?
Date
Msg-id 3BD6EB0E.C64A8438@fourpalms.org
Whole thread Raw
In response to Re: Disable Transaction - plans ?  ("Dominic J. Eidson" <sauron@the-infinite.org>)
Responses Re: Disable Transaction - plans ?  ("Dominic J. Eidson" <sauron@the-infinite.org>)
List pgsql-general
...
> > Speed? :) (smirk)
> If you want MySQL, you know where to find it.  ;)

Hmm. Assuming that "speed" is the outcome of dropping transaction
support is a bit simplistic (and linking "speed" and "mysql" and "no
transactions" has been shown to be a hollow argument). In fact, without
transactions (or with a transaction for every query) you see the full
effects of requiring a "commit" at every query. Buffers must be written
and everything having to do with the query must be cleaned up. With
transactions, some of those steps are postponed until commit, and you
will see a per-query performance gain by lumping many queries into one
transaction.

Also, without transactions and without MVCC, you must tightly coordinate
every query and every affected row in every table, which can choke off
performance as you scale to larger numbers of clients.

                    - Thomas

pgsql-general by date:

Previous
From: Peter Pilsl
Date:
Subject: variables in functions ..
Next
From: Tom Lane
Date:
Subject: Re: MATCH FULL flawed?