TABLESAMPLE usage

Поиск
Список
Период
Сортировка
От Tom Smith
Тема TABLESAMPLE usage
Дата
Msg-id CAKwSVFFYbfOBb2Ncr8BYCbs+WwhuMUXW13CrcE8VVD4Wh1nXsA@mail.gmail.com
обсуждение исходный текст
Ответы Re: TABLESAMPLE usage
Список pgsql-general
Hello:

I have a big table with that is always appended with new data with a unique
sequence id  (always incremented, or timestamp as unique index) each row.
I'd like to sample, say 100 rows out of say 1000 rows evently across all the rows,
so that it would return  rows  of1, 101, 201, 301    you get idea.
can TABLESAMPLE    get one row for every 100 rows, based on the order
of the rows added to table using the timestamp as already indexed/sorted sequence

Thanks




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

Предыдущее
От: Neil
Дата:
Сообщение: Re: A motion
Следующее
От: "drum.lucas@gmail.com"
Дата:
Сообщение: ERROR: check constraint - PostgreSQL 9.2