Re: DBI & DBD::Pg processor load

Поиск
Список
Период
Сортировка
От Lincoln Yeoh
Тема Re: DBI & DBD::Pg processor load
Дата
Msg-id 5.2.1.1.1.20030421224846.00b05430@mbox.jaring.my
обсуждение исходный текст
Ответ на DBI & DBD::Pg processor load  (Chris Gamache <cgg007@yahoo.com>)
Список pgsql-general
At 01:49 AM 4/21/2003 -0700, Chris Gamache wrote:

>Linux 2.4.20 & PostgreSQL 7.2.3 & DBD::Pg 1.22.
>
>I was using PgSQL and PgSQL::Cursor with decent results. It is no
>longer supported, and was causing some strange problems. So, I switched to DBI
>with no problems to speak of. However, I immediately noticed a jump in
>processor usage. I primarily use
>$db->prepare($sql), $rs->execute, and $rs->fetchrow_arrayref.

Not expert, but is it possible to try a plain $rs->fetchrow instead of
fetchrow_arrayref?

Link.


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

Предыдущее
От: greg@turnstep.com
Дата:
Сообщение: Re: DBI & DBD::Pg processor load
Следующее
От: Chris Gamache
Дата:
Сообщение: Re: DBI & DBD::Pg processor load