Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Idempotence and "Replication Insensitivity" are equivalent ?

Re: Idempotence and "Replication Insensitivity" are equivalent ?

From: vc <boston103_at_hotmail.com>
Date: 19 Sep 2006 11:34:31 -0700
Message-ID: <1158690871.083176.168660@k70g2000cwa.googlegroups.com>

Chris Smith wrote:
[..]
> In the case of variance and standard deviation, there's actually a
> better way than to use an accumulating aggregate function.

What specific algorithm do you have in mind ? What and why is it "better" in comparison to ?

>I'd be
> willing to bet that Oracle actually does it differently; by scanning the
> data twice, once to determine the mean, and again to determine the
> variance.

You'd lose you bet because Oracle computes variance in one pass.

>That's *not* evaluating it as an aggregate function, whatever
> Oracle calls it.
>

[...]
> --
> Chris Smith
Received on Tue Sep 19 2006 - 13:34:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US