Re: DBI & DBD::Pg processor load - Mailing list pgsql-general

From Lincoln Yeoh
Subject Re: DBI & DBD::Pg processor load
Date
Msg-id 5.2.1.1.1.20030421224846.00b05430@mbox.jaring.my
Whole thread Raw
In response to DBI & DBD::Pg processor load  (Chris Gamache <cgg007@yahoo.com>)
List 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 by date:

Previous
From: greg@turnstep.com
Date:
Subject: Re: DBI & DBD::Pg processor load
Next
From: Chris Gamache
Date:
Subject: Re: DBI & DBD::Pg processor load