From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruno Wolff III <bruno(at)wolff(dot)to> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: Odd statistics behaviour in 7.2 |
Date: | 2002-02-16 20:34:26 |
Message-ID: | 21370.1013891666@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> A lot of the other equations I looked at depend on
>> series like (1 - n/N)**i which are going to be really nasty when n/N
>> is tiny.
> You can work with the above for n << N by using power series. For n << N,
> (1 - n/N)**i ~= 1 - in/N.
Yeah, but the pain-in-the-neck aspect comes from the fact that n/N isn't
necessarily tiny --- it could approach 1. So you'd need code smart
enough to handle both cases with accuracy.
We could probably do this if it proves necessary, but I'd like to stick
to simpler equations if at all possible.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2002-02-16 23:53:53 | Create Domain.... |
Previous Message | Bruno Wolff III | 2002-02-16 20:20:28 | Re: Odd statistics behaviour in 7.2 |