Getting a random row

Поиск
Список
Период
Сортировка
От Shaul Dar
Тема Getting a random row
Дата
Msg-id 234efe30910130817x299cf3d8wbf35386659bd94f@mail.gmail.com
обсуждение исходный текст
Ответы Re: Getting a random row
Re: Getting a random row
Re: Getting a random row
Список pgsql-performance
Hi,

I am running performance simulation against a DB. I want to randomly pull different records from a large table. However the table has no columns that hold sequential integer values (1..MAX), i.e. the columns all have "holes" (due to earlier filtering). Also PG does not have a concept of an auto-increment pseudo-column like Oracle's "rownum". Any suggestions?

Thanks,

-- Shaul

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

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: Are folks running 8.4 in production environments? and 8.4 and slon 1.2?
Следующее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: Getting a random row