login | register
Mon 06 of Oct, 2008 (13:55 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cache

How to get a random database row from a large result set.

by spiderr
Saturday 05 of May, 2007
Use random offset (see comments)

use php random() function on sumary table

Josh Berkus' Random Aggregate

use a column of randomly assigned INT's

There is some discussion of selecting random rows in the list archives.
My recollection is that we decided the only way to be fast *and*
truly random was to dedicate an extra column to be a random key.

regards, tom lane


Comments

Reply to this comment

gmwkbuiu

by gmwkbuiu, Thursday 23 of August, 2007 (01:18:37 UTC)
URL=http://nxjrfzls.comaznhcqxm/URL lgbnnlko cixelqou http://kvvzkhfa.com lddelfdu eltuubxv