Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A6DFAB5DBE3 for ; Tue, 25 Oct 2011 13:10:46 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 43797-06 for ; Tue, 25 Oct 2011 16:10:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 5292FB5DBE1 for ; Tue, 25 Oct 2011 13:10:40 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p9PGAc6P024158; Tue, 25 Oct 2011 12:10:38 -0400 (EDT) To: "Paul Stapersma" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6269: Anomaly detection In-reply-to: <201110250951.p9P9pWb5014484@wwwmaster.postgresql.org> References: <201110250951.p9P9pWb5014484@wwwmaster.postgresql.org> Comments: In-reply-to "Paul Stapersma" message dated "Tue, 25 Oct 2011 09:51:32 +0000" Date: Tue, 25 Oct 2011 12:10:38 -0400 Message-ID: <24157.1319559038@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/234 X-Sequence-Number: 31504 "Paul Stapersma" writes: > For a project at my University, we compared PostgreSQL with MySQL's InnoDB. > In this research, we found several cases in which anomalies where detected > in Isolation levels that guaranteed not to have these anomalies. > In short summary: > - we detected non-repeatable reads in the repeatable read isolation level > - we detected non-repeatable reads in the serializable isolation level > - we detected phantoms in the serializable isolation level > - we detected lost updates in the repeatable read isolation level > - we detected lost updates in the serializable isolation level There are some known (and documented) issues with serializable mode not being truly serializable; that should be resolved by 9.1. It's too bad you were testing 8.3. > Furthermore, we detected differences between Read Committed and Read > Uncommitted and differences between Serializable and Repeatable Read which > is in contrast to the documentation. Quite honestly, that statement makes me assume that your testing methods are broken. It's entirely impossible for those modes to behave differently in Postgres, because there's no difference (in 8.3 anyway). regards, tom lane