Re: BUG #1756: PQexec eats huge amounts of memory

Поиск
Список
Период
Сортировка
От Harald Armin Massa
Тема Re: BUG #1756: PQexec eats huge amounts of memory
Дата
Msg-id 7be3f35d05070606522a3ec2f9@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #1756: PQexec eats huge amounts of memory  ("Denis Vlasenko" <vda@ilport.com.ua>)
Ответы Re: BUG #1756: PQexec eats huge amounts of memory  (Denis Vlasenko <vda@ilport.com.ua>)
Список pgsql-bugs
Denis,

$result =3D pg_query($db, "SELECT * FROM big_table");
>=20

you are reading a big result (as I suspect from big_table) into memory. It=
=20
is perfectly normal that this uses large amounts of memory.

[it would be rather suspicious if loading a big file / big resultset would=
=20
not use big amounts of memory]

Harald


--=20
GHUM Harald Massa
persuasion python postgresql
Harald Armin Massa
Reinsburgstra=DFe 202b
70197 Stuttgart
0173/9409607

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Creating trigger function with argument(s) gets backend crash.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Creating trigger function with argument(s) gets backend crash.