Re: performance of ORDER BY random()

Поиск
Список
Период
Сортировка
От will trillich
Тема Re: performance of ORDER BY random()
Дата
Msg-id 20010328170855.D16380@mail.serensoft.com
обсуждение исходный текст
Ответ на performance of ORDER BY random()  (culley harrelson <culleyharrelson@yahoo.com>)
Список pgsql-general
On Fri, Mar 23, 2001 at 02:09:57PM -0800, culley harrelson wrote:
> Does anyone have any input on the performance of ORDER BY random() ?  I
> have been developing using this feature and it would be good to know
> what to expect when my tables increase in size :)

noe thing to try would be to create a tinker-toy database and
populate it with a few hundred thousand records. then see what
you get when you

    ...order by random()...

then /you/ can tell /us/ what the results are.

--
It is always hazardous to ask "Why?" in science, but it is often
interesting to do so just the same.
        -- Isaac Asimov, 'The Genetic Code'

will@serensoft.com
http://newbieDoc.sourceforge.net/ -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!

В списке pgsql-general по дате отправления:

Предыдущее
От: Jean-Christophe Boggio
Дата:
Сообщение: Unexplained behaviour
Следующее
От: will trillich
Дата:
Сообщение: explain shows lots-o-preliminary sorting