Re: Much Ado About COUNT(*)

From: Sailesh Krishnamurthy <sailesh(at)cs(dot)berkeley(dot)edu>
To: "Jonah H(dot) Harris" <jharris(at)tvi(dot)edu>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Much Ado About COUNT(*)
Date: 2005-01-18 20:45:50
Message-ID: mjqvf9uzcsh.fsf@drones.CS.Berkeley.EDU
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-hackers pgsql-patches

>>>>> "Jonah" == Jonah H Harris <jharris(at)tvi(dot)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

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message Jeff Davis 2005-01-18 22:10:48 Re: Much Ado About COUNT(*)
Previous Message Roberto Andrade Fonseca 2005-01-18 02:26:26 SQL Commands in PostgreSQL 7.4.2 form Palm Devices

Browse pgsql-hackers by date

  From Date Subject
Next Message Reinoud van Leeuwen 2005-01-18 22:05:57 Re: US Patents vs Non-US software ...
Previous Message Stephen Frost 2005-01-18 20:23:31 Re: Some things I like to pick from the TODO list ...

Browse pgsql-patches by date

  From Date Subject
Next Message Jeff Davis 2005-01-18 22:10:48 Re: Much Ado About COUNT(*)
Previous Message Alvaro Herrera 2005-01-18 16:17:17 Re: Refactoring (was: transformExpr() refactor)