| От | Tino Wildenhain |
|---|---|
| Тема | Re: Can this query go faster??? |
| Дата | |
| Msg-id | 439577D2.9090208@wildenhain.de обсуждение исходный текст |
| Ответ на | Re: Can this query go faster??? (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>) |
| Ответы |
Re: Can this query go faster???
|
| Список | pgsql-performance |
Joost Kraaijeveld schrieb: > Hi Tino, > .. > >>Cursor would work too but you would need to have a persistent connection. > > I just tried it: a cursor is not faster (what does not surprise me at > all, as the amount of work looks the same to me) Actually no, if you scroll forward, you just ask the database for the next rows to materialize. So if you are ahead in your database and ask for next rows, it should be faster then working w/ an offset from start each time.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера