pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Stark <gsstark@mit.edu>
To: John R Pierce <pierce@hogranch.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Connection.setReadOnly()
Date: Fri, 11 Dec 2009 12:09:04 +0000
Message-ID: <407d949e0912110409xc613b48p633d1bf36c1f650b@mail.gmail.com> (raw)
In-Reply-To: <4B2198E4.5090306@hogranch.com>
References: <4B21737B.50009@hogranch.com>
	<alpine.BSO.2.00.0912101744080.30821@leary.csoft.net>
	<4B219025.5070607@hogranch.com>
	<4B219538.2090203@opencloud.com>
	<4B2198E4.5090306@hogranch.com>

On Fri, Dec 11, 2009 at 12:57 AM, John R Pierce <pierce@hogranch.com> wrote:
>> Does the Oracle driver not follow the JDBC spec here? Or is it just that
>> long-term open transactions don't cause problems on Oracle?
>>
>
> the latter

Well eventually on Oracle you would get a "Snapshot too old" error.
Postgres chooses not to have this unpredictable error and instead have
unpredictable space usage -- it's an inevitable engineering tradeoff.

However recent versions of Oracle have tried various strategies to
reduce the frequency of this error -- likewise recent versions of
Postgres have made efforts to reduce this issue as well. If you use
8.4 you should be much less likely to run into this problem.


-- 
greg



view thread (17+ messages)  latest in thread

Message-ID: <407d949e0912110409xc613b48p633d1bf36c1f650b@mail.gmail.com>
Permalink:  ../407d949e0912110409xc613b48p633d1bf36c1f650b@mail.gmail.com/
Also on:    postgresql.org/message-id/407d949e0912110409xc613b48p633d1bf36c1f650b@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: gsstark@mit.edu, pierce@hogranch.com, oliver@opencloud.com
  Subject: Re: Connection.setReadOnly()
  In-Reply-To: <407d949e0912110409xc613b48p633d1bf36c1f650b@mail.gmail.com>
  References: <4B21737B.50009@hogranch.com> <alpine.BSO.2.00.0912101744080.30821@leary.csoft.net> <4B219025.5070607@hogranch.com> <4B219538.2090203@opencloud.com> <4B2198E4.5090306@hogranch.com> <407d949e0912110409xc613b48p633d1bf36c1f650b@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox