If you don't need it to be random *each time*, but only a set of
random sequences, you can generate a random value (or 2 or 3) on
insert/update, and then use that ordering when you do a lookup. If
you'll have a huge number of items, having 2 or 3 of these and picking
a random starting point for each query will be a reasonably proxy for
"random order", since you can only get about 1000 at a time anyway.
On Apr 12, 9:58 am, Joscha Feth <
jos...@feth.com> wrote: