Re: rollback vs. commit for closing read-only transaction

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dann Corbit" <DCorbit(at)connx(dot)com>
Cc: "David Parker" <dparker(at)tazznetworks(dot)com>, "postgres general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: rollback vs. commit for closing read-only transaction
Date: 2005-04-25 22:53:11
Message-ID: 26036.1114469591@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Dann Corbit" <DCorbit(at)connx(dot)com> writes:
> Probably, turning fsync off would be helpful, since you know it is
> read-only.

Wouldn't make any difference: a transaction that hasn't modified the
database doesn't bother to write any commit/abort WAL record at all.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Typing80wpm 2005-04-25 22:54:01 pgadminIII - creating servers
Previous Message Typing80wpm 2005-04-25 22:27:54 pgexplorer adm