From: | Mike Mascari <mascarm(at)mascari(dot)com> |
---|---|
To: | Dann Corbit <DCorbit(at)connx(dot)com> |
Cc: | Doug McNaught <doug(at)wireboard(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Suggestion for optimization |
Date: | 2002-04-05 20:44:03 |
Message-ID: | 3CAE0C93.EAC650FB@mascari.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Dann Corbit wrote:
>
> I guess that this model can be viewed as "everything is a snapshot".
> It seems plain that the repercussions for a data warehouse and for
> reporting have not been thought out very well. This is definitely
> very, very bad in that arena. I suppose that reporting could still
> be accomplished, but it would require pumping the data into a new
> copy of the database that does not allow writes at all. Yuck.
>
> At any rate, there is clearly a concept of cardinality in any case.
> Perhaps the information would have to be kept as part of the
> connection. If (after all) you cannot even compute cardinality
> for a single connection then the database truly is useless. In
> fact, under a scenario where cardinality has no meaning, neither does
> select count() since that is what it measures. Might as well
> remove it from the language.
>
> I have read a couple books on Postgresql and somehow missed the
> whole MVCC idea. Maybe after I understand it better the clammy
> beads of sweat on my forehead will dry up a little.
Oracle is also a MVCC database. So this notion that MVCC somehow makes
it inappropriate for data warehousing would imply that Oracle is also
inappropriate. However, in your defense, Oracle did apparently find
enough customer demand for a MVCC-compatible hack of COUNT() to
implement a short-cut route to calculate its value...
Mike Mascari
mascarm(at)mascari(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Dann Corbit | 2002-04-05 20:53:49 | Re: Suggestion for optimization |
Previous Message | Rod Taylor | 2002-04-05 20:35:19 | Re: Suggestion for optimization |