Should i use Limit & Offset in Sql or cursors to handle large data

Поиск
Список
Период
Сортировка
От Ascarabina
Тема Should i use Limit & Offset in Sql or cursors to handle large data
Дата
Msg-id 4F2ADC42.5070902@gmail.com
обсуждение исходный текст
Список pgsql-novice
Hello,
Just out of curiosity :  On Postgresql ( > 9.0 ) , if i had to iterate
over the table with 3 million records , which method uses less memory &
cpu usage but faster : Using cursor and fetch or just plain SQL with
offset and limit ? And why is the difference ?

Thanks.


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

Предыдущее
От: Windybell
Дата:
Сообщение: Re: PostgreSQL - Debian - Processes: postgres: writer process, etc.
Следующее
От: Kevin Duffy
Дата:
Сообщение: postgresql on Fedora 16