Re: limit /offset

Поиск
Список
Период
Сортировка
От Pirtea Calin
Тема Re: limit /offset
Дата
Msg-id 001c01c1ce65$094d1570$0100a8c0@dizzy
обсуждение исходный текст
Ответ на limit /offset  ("Pirtea Calin" <pcalin@rdsor.ro>)
Список pgsql-general
> What makes you think that an index makes it faster to lookup the 10,000th
row
> in a table? A index indexes on *values* and has nothing to do with the row
> numbers. So your query has to go through and check the 10,000 rows to
ensure
> they actually match your query. That's what takes the time.
>

I understand now. I think i hoped that offset uses the index to jump to the
position
10000 (like jumping to a position in a file where the file is the index) and
start sending
rows from that point only. It was a stupid query anyway.

Thank you.

Best regards,
Aplication Developer
Pirtea Calin Iancu
S.C. SoftScape S.R.L.
pcalin@rdsor.ro


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

Предыдущее
От: pgsql-gen Newsgroup (@Basebeans.com)
Дата:
Сообщение: Re: Postal code radius searches
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Random Numbers/Letters