Re: Much Ado About COUNT(*)

Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>

From: Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
To: "Jonah H. Harris" <jharris@tvi.edu>
Cc: Andrew Dunstan <andrew@dunslane.net>, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Date: 2005-01-18T20:45:50Z
Lists: pgsql-hackers
>>>>> "Jonah" == Jonah H Harris <jharris@tvi.edu> writes:

    Jonah> Replying to the list as a whole:

    Jonah> If this is such a bad idea, why do other database systems
    Jonah> use it?  As a businessperson myself, it doesn't seem
    Jonah> logical to me that commercial database companies would
    Jonah> spend money on implementing this feature if it wouldn't be
    Jonah> used.  Remember guys, I'm just trying to help.

Systems like DB2 don't implement versioning schemes. As a result there
is no need to worry about maintaining visibility in
indexes. Index-only plans are thus viable as they require no change in
the physical structure of the index and no overhead on
update/delete/insert ops. 

I don't know about Oracle, which I gather is the only commercial
system to have something like MVCC.

-- 
Pip-pip
Sailesh
http://www.cs.berkeley.edu/~sailesh