Subject | Re: Limiting fetched rows doesn't offer much performance benefit |
---|---|
Author | jimbehr3446 |
Post date | 2006-03-08T21:28:46Z |
--- In firebird-support@yahoogroups.com, Richard Wesley <hawkfish@...>
wrote:
Thanks for your comments.
wrote:
>Very clever. I didn't know that could be done.
> It computes the rand() value independently for every row and then
> returns only those rows where this value is less than .01 (i.e. about
> 1% of the table).
>
>Agreed. But I see nothing that indicates that FB is doing that.
> The idea is that if FB makes a copy of the table before
> applying the where, then this is a very inefficient query.
>
Thanks for your comments.