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: (view raw, whole thread or download thread mbox)
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().


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-2017 The PostgreSQL Global Development Group