From: | Csaba Nagy <nagy(at)ecircle-ag(dot)com> |
---|---|
To: | Alban Hertroys <alban(at)magproductions(dot)nl> |
Cc: | Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Obtaining random rows from a result set |
Date: | 2007-08-31 13:45:47 |
Message-ID: | 1188567947.5270.14.camel@PCD12478.muc.ecircle.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Dear Santa,
>
> I'd like my database to have functionality analogue to how LIMIT works,
> but for other - non-sequential - algorithms.
There was some discussion before to possibly reuse the algorithm ANALYZE
is using for sampling some given percentage of the table data and
provide this for some kind of "SELECT SAMPLE x% " style of
functionality. This would be the fastest you can get for a reasonably
big sample so it can be statistically significant, but not repeatable.
I'm not sure if this is the same what you were asking for though, I
would like something like this for statistical stuff, not for randomly
selecting rows.
Cheers,
Csaba.
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2007-08-31 13:54:16 | Re: Obtaining random rows from a result set |
Previous Message | Albe Laurenz | 2007-08-31 13:38:57 | Re: Obtaining random rows from a result set |