Re: pg_fetch_array

Поиск
Список
Период
Сортировка
От George Essig
Тема Re: pg_fetch_array
Дата
Msg-id 20040621210921.47715.qmail@web53702.mail.yahoo.com
обсуждение исходный текст
Ответ на pg_fetch_array  ("Thanks" <Thanks@verymuch.com>)
Список pgsql-php
Thanks@verymuch.com wrote:

> Does php need to read database everytime when pg_fetch_array is executed in
> the while loop or all the rows have been in the memory after pg_query?

The latter - pg_query puts all of the rows in memory.  I found this out myself recently.  Select a
lot of rows using pg_query without pg_fetch_array. As you're doing this, watch he memory usage
with 'free -s 1'.

George Essig

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

Предыдущее
От: Akshay Rajagopal
Дата:
Сообщение: Unsubscribe
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: PostgreSQL guru needed for Enterprise Groupware System