Re: Read only transactions - Commit or Rollback - Mailing list pgsql-performance

From Markus Schaber
Subject Re: Read only transactions - Commit or Rollback
Date
Msg-id 43A7F303.8040804@logix-tt.com
Whole thread Raw
In response to Re: Read only transactions - Commit or Rollback  (Nörder-Tuitje, Marcus <noerder-tuitje@technology.de>)
Responses Re: Read only transactions - Commit or Rollback  (Andreas Seltenreich <andreas+pg@gate450.dyndns.org>)
List pgsql-performance
Hi, Marcus,

Nörder-Tuitje wrote:
> afaik, this should be completely neglectable.
>
> starting a transaction implies write access. if there is none, You do
> not need to think about transactions, because there are none.

Hmm, I always thought that the transaction will be opened at the first
statement, because there _could_ be a parallel writing transaction
started later.

> postgres needs to schedule the writing transactions with the reading
> ones, anyway.

As I said, there usually are no writing transactions on the same database.

Btw, there's another setting that might make a difference:

Having ACID-Level SERIALIZABLE or READ COMMITED?

Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

pgsql-performance by date:

Previous
From: Nörder-Tuitje, Marcus
Date:
Subject: Re: Read only transactions - Commit or Rollback
Next
From: Michael Riess
Date:
Subject: Re: Read only transactions - Commit or Rollback