Re: [SQL] Don't need transaction integrity - can I turn it off - Mailing list pgsql-sql

From Tom Lane
Subject Re: [SQL] Don't need transaction integrity - can I turn it off
Date
Msg-id 6401.935761511@sss.pgh.pa.us
Whole thread Raw
In response to Re: [SQL] Don't need transaction integrity - can I turn it off  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-sql
"Oliver Elphick" <olly@lfix.co.uk> writes:
>> Yes, we have no-fsync option.  See FAQ.
> But that has to do with not forcing a sync to disk after every write.
> I've never heard of an ability to disable transactions; isn't every
> operation outside an explicitly-declared transaction made a single
> separate transaction by default?

It is, and I don't think there's any possibility of turning that off.
It's too tightly integrated with the cross-backend interlocking.
If you don't want transactions, and you don't want multiple backends,
maybe mySQL is what you need ;-)

BTW, if you're not too concerned about parallelism, one way to squeeze
a little more speed is to use explicit transactions *more*, not less.
The more stuff you get done between BEGIN and COMMIT, the less the
transaction overhead per useful operation...
        regards, tom lane


pgsql-sql by date:

Previous
From: José Soares
Date:
Subject: Re: [SQL] Doubts in timespan
Next
From: Bruce Momjian
Date:
Subject: Re: [SQL] Don't need transaction integrity - can I turn it off