Re: Much Ado About COUNT(*)

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Much Ado About COUNT(*)
Date: 2005-01-19 05:09:53
Message-ID: m3mzv60ztq.fsf@knuth.knuth.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-hackers pgsql-patches

Martha Stewart called it a Good Thing when jdavis-pgsql(at)empires(dot)org (Jeff Davis) wrote:
> I almost think to not supply an MVCC system would break the "I" in ACID,
> would it not? I can't think of any other obvious way to isolate the
> transactions, but on the other hand, wouldn't DB2 want to be ACID
> compliant?

Wrong, wrong, wrong...

MVCC allows an ACID implementation to not need to do a lot of resource
locking.

In the absence of MVCC, you have way more locks outstanding, which
makes it easier for there to be conflicts between lock requests.

In effect, with MVCC, you can do more things concurrently without the
system crumbling due to a surfeit of deadlocks.
--
"cbbrowne","@","gmail.com"
http://www3.sympatico.ca/cbbrowne/multiplexor.html
Why isn't phonetic spelled the way it sounds?

In response to

Browse pgsql-announce by date

  From Date Subject
Next Message Marc G. Fournier 2005-01-19 13:02:46 PostgreSQL 8.0.0 Released
Previous Message Jeff Davis 2005-01-18 23:01:01 Re: Much Ado About COUNT(*)

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2005-01-19 05:25:43 Re: ARC patent
Previous Message Tom Lane 2005-01-19 05:07:18 Re: Viewupdate: Inherit default expressions from columns

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-01-19 05:30:41 Re: patches for OS/2 port
Previous Message Neil Conway 2005-01-19 04:29:44 Re: test: pl/pgsql refcursors