pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeffrey Baker <jwbaker@gmail.com>
To: sathiya psql <sathiya.psql@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: SELECT 'DBD::Pg ping test'
Date: Wed, 23 Apr 2008 09:40:23 -0700
Message-ID: <fd145f7d0804230940y70bb9f18id00b5454447dd985@mail.gmail.com> (raw)
In-Reply-To: <f966c2ee0804230019x482f6312q35117a336a4f2d67@mail.gmail.com>
References: <f966c2ee0804230019x482f6312q35117a336a4f2d67@mail.gmail.com>

On Wed, Apr 23, 2008 at 12:19 AM, sathiya psql <sathiya.psql@gmail.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



view thread (3+ messages)

Message-ID: <fd145f7d0804230940y70bb9f18id00b5454447dd985@mail.gmail.com>
Permalink:  ../fd145f7d0804230940y70bb9f18id00b5454447dd985@mail.gmail.com/
Also on:    postgresql.org/message-id/fd145f7d0804230940y70bb9f18id00b5454447dd985@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jwbaker@gmail.com, sathiya.psql@gmail.com
  Subject: Re: SELECT 'DBD::Pg ping test'
  In-Reply-To: <fd145f7d0804230940y70bb9f18id00b5454447dd985@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox