Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 57B6F9FA277 for ; Fri, 2 Nov 2007 05:42:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 45709-02 for ; Fri, 2 Nov 2007 05:42:28 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by postgresql.org (Postfix) with ESMTP id D53A49FA271 for ; Fri, 2 Nov 2007 05:42:32 -0300 (ADT) Received: by wx-out-0506.google.com with SMTP id r21so664504wxc for ; Fri, 02 Nov 2007 01:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=BP3//7WK6xctE7AewxxKeRnuiFhpln6xhw6Ik0NsAm0=; b=GKKNRfekMhuzW7ZWa938y7SJ1YsJk9gFyW97bZ2kJdzInKN6zq63YAmoIAihtWwGqKKUgIrwTBXVsnrFQU+Vn3vLr3SoNzZBoWxD73ra86rpBNy2rEhl9xANmZqRaPxjnGdVqM8yM3y7l0X43iTsB8nyupI+9g92vMwllnOX1Qw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=saPrwcEsSmIAiECsoYjNCvKmiybpV98hGUj9US64yOI6Vq59o3LLYAGp2uaKxE4I/wu4YUbsPHivRH3Rm/JxdX8DnT6rtSWFQ4y2ospP6wEtbrmxio0uU6jBPJnApbqtnZWR8XSzKVBN5iasdd0srtPAUV5ofg+JIyR0eWE7gMs= Received: by 10.90.68.15 with SMTP id q15mr1055034aga.1193992951586; Fri, 02 Nov 2007 01:42:31 -0700 (PDT) Received: by 10.90.117.8 with HTTP; Fri, 2 Nov 2007 01:42:31 -0700 (PDT) Message-ID: Date: Fri, 2 Nov 2007 03:42:31 -0500 From: "=?UTF-8?Q?Rodrigo_De_Le=C3=B3n?=" To: "Campbell, Lance" Subject: Re: How many connections are in use? Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/19 X-Sequence-Number: 27262 On 11/2/07, Campbell, Lance wrote: > Is there a way to log into PostgreSQL and determine how many database > connections are in use? Use pg_stat_activity. See: http://www.postgresql.org/docs/8.2/static/monitoring-stats.html#MONITORING-STATS-VIEWS