Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 210BE2E0046 for ; Wed, 23 Apr 2008 04:29:03 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 98268-10 for ; Wed, 23 Apr 2008 04:29:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [202.61.230.242]) by developer.postgresql.org (Postfix) with ESMTP id 211C22E0048 for ; Wed, 23 Apr 2008 04:29:00 -0300 (ADT) Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by www.postnewspapers.com.au (Postfix) with ESMTP id 3AB2ED5646; Wed, 23 Apr 2008 15:28:55 +0800 (WST) Received: from [10.0.0.53] (wallace.localnet [10.0.0.53]) by mail.postnewspapers.com.au (Postfix) with ESMTP id E3A661E0435; Wed, 23 Apr 2008 15:28:58 +0800 (WST) Message-ID: <480EF315.3040605@postnewspapers.com.au> Date: Wed, 23 Apr 2008 16:28:05 +0800 From: Craig Ringer User-Agent: Icedove 1.5.0.12 (X11/20070607) MIME-Version: 1.0 To: sathiya psql Cc: "pgsql-performance@postgresql.org" Subject: Re: SELECT 'DBD::Pg ping test' References: In-Reply-To: X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/341 X-Sequence-Number: 29834 sathiya psql wrote: > Hi All, > > This query is being executed nearly a million times.... > SELECT 'DBD::Pg ping test' > > Why this is being executed ? What is the use ? A client is sending a query to the server solely to see if the server responds. DBD::Pg is the Perl database driver for PostgreSQL. Presumably the application using that driver has some sort of keepalive or database connectivity check enabled, so it's periodically issuing these queries. -- Craig Ringer