Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group