Re: SELECT 'DBD::Pg ping test'

From: "Jeffrey Baker" <jwbaker(at)gmail(dot)com>
To: "sathiya psql" <sathiya(dot)psql(at)gmail(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: SELECT 'DBD::Pg ping test'
Date: 2008-04-23 16:40:23
Message-ID: fd145f7d0804230940y70bb9f18id00b5454447dd985@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, Apr 23, 2008 at 12:19 AM, sathiya psql <sathiya(dot)psql(at)gmail(dot)com> wrote:
> Hi All,
>
> This query is being executed nearly a million times....
> SELECT 'DBD::Pg ping test'

Something in your Perl application is use $dbh->ping(). See perldoc
DBI. It's possible that this is happening under the hood, because
your application is using connect_cached() instead of connect().

-jwb

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2008-04-23 18:58:54 Re: Sun Talks about MySQL
Previous Message Gregory Stark 2008-04-23 13:31:39 Re: mysterious difference in speed when combining two queries with OR