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_at_k70g2000cwa.googlegroups.com>
Date: 19 Sep 2006 11:34:31 -0700
Message-ID: <1158690871.083176.168660_at_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 - 20:34:31 CEST