DBI & DBD::Pg processor load

From: Chris Gamache <cgg007(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: DBI & DBD::Pg processor load
Date: 2003-04-21 08:49:07
Message-ID: 20030421084907.14602.qmail@web13807.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Are there any DBI experts out there with some advice to cut down on processor
usage?

CG

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mircea Sarbu 2003-04-21 10:31:14 Using TEXT columns for binary content
Previous Message Lamar Owen 2003-04-21 02:00:16 Re: Upgrade to RedHat 9.0 broke PostgreSQL