Re: using CURSOR with PHP

Поиск
Список
Период
Сортировка
Искать
От
mike
Тема
Re: using CURSOR with PHP
Дата
в 19:03:50
Msg-id
20020518231814.22057.qmail@conan.partner2partner.org
Ответ на
Re: using CURSOR with PHP (Andrew McMillan)
Список
Дерево обсуждения
Re: using CURSOR with PHP (completely OT) Jurgen Defurne <jurgen.defurne@pandora.be>
Andrew McMillan writes:
> PostgreSQL will certainly take LIMIT into account when planning queries.

I would think most queries using LIMIT would also include an ORDER BY clause 
which would require PostgreSQL to sort all the results before applying the 
LIMIT. 

> OTOH PostgreSQL does _not_ do result caching, unless you have applied
> some patches that were floating around last year some time.

PostgreSQL might not do 'result caching' but if you have an adequate number 
of buffers configured would it not be likely that the results from the last 
query are still in memory? 

Michael J. Upchurch
Partner2Partner Communications  mike@partner2partner.com  615.286.2199 
В списке pgsql-php по дате отправления
От: Andrew McMillan
Дата:
Сообщение: Re: using CURSOR with PHP
От: Andrew McMillan
Дата:
Сообщение: Re: using CURSOR with PHP
FAQ