Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id AAF5F2E0059 for ; Wed, 23 Apr 2008 13:40:28 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 20866-04 for ; Wed, 23 Apr 2008 13:40:23 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by developer.postgresql.org (Postfix) with ESMTP id AF2A22E005C for ; Wed, 23 Apr 2008 13:40:24 -0300 (ADT) Received: by wf-out-1314.google.com with SMTP id 28so1987029wff.28 for ; Wed, 23 Apr 2008 09:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=FZn9uBnN40Ka1bHtqXJozn8tQI6Y3mSEFFDrQeD601w=; b=hrSB0DOyZiKtnUBzNFTfhoBzCN1wVdtBIyZnmG4ltnT7rqzyDPeCsKcxnLEws8ATHQVbuYj4MrTV/WRuQkAWKBS/7uhq7xscApDdMIK2/Fv5H3Z/W8+gLSMvPcINwPl+w8A9Gb4e9P8pAe+J0J6Pyl2Vng6VkIxUpjEEL0bld3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sg5tO41CO8pHd0HkHOfw5NoqWUWrddkbUzuv7jOoig+EE4EpW0FJ0GvhoglcshirAA6YcLulY7ZOvrAFxL+a1X+a67DOXCHFBWQXfMXNjWMJZqpvBWp98dyPc1Mp9n//x7RNq8kHs1M0/IZ2TAuUquGcjEYz24JuytRbHBk9j1k= Received: by 10.143.33.12 with SMTP id l12mr298046wfj.263.1208968823559; Wed, 23 Apr 2008 09:40:23 -0700 (PDT) Received: by 10.142.185.20 with HTTP; Wed, 23 Apr 2008 09:40:23 -0700 (PDT) Message-ID: Date: Wed, 23 Apr 2008 09:40:23 -0700 From: "Jeffrey Baker" To: "sathiya psql" Subject: Re: SELECT 'DBD::Pg ping test' Cc: "pgsql-performance@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/350 X-Sequence-Number: 29843 On Wed, Apr 23, 2008 at 12:19 AM, sathiya psql 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