Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id CDDA2632488 for ; Thu, 10 Dec 2009 20:20:10 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60546-05 for ; Fri, 11 Dec 2009 00:20:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id 492EA6321EB for ; Thu, 10 Dec 2009 20:20:03 -0400 (AST) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id nBB0JsG26933 for ; Thu, 10 Dec 2009 16:19:54 -0800 Message-ID: <4B219025.5070607@hogranch.com> Date: Thu, 10 Dec 2009 16:19:49 -0800 From: John R Pierce User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Connection.setReadOnly() References: <4B21737B.50009@hogranch.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.11 tagged_above=-10 required=5 tests=BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 200912/12 X-Sequence-Number: 20093 Kris Jurka wrote: > Just because your connection is readonly doesn't mean that everyone > elses is as well. If you want a consistent view of the database you > can get that with a serializable transaction. my oracle developers are screaming bloody murder over this. they have processes that do nothing but reads. jdbc tosses a BEGIN; out automatically. these processes never Commit(); on a read, why should they? so.... we have a fairly large database thats fed a constant stream of realtime data 24/7 from a factory doing both inserts and updates... many different sorts of things have to query this database, including mechanical/electrical engineering types doing adhoc queries for oddball reports and such who are not SQL experts. its way to easy for them to accidentally create a transaction that they never end, causing multiday blockage of VACUUM, massive table bloat, etc. per all my Oracle people this is totally unacceptable and they are ready to cancel any further postgres projects.