X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id BEC919FA61D for ; Tue, 30 May 2006 07:33:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 61543-08 for ; Tue, 30 May 2006 07:33:29 -0300 (ADT) X-Greylist: delayed 00:27:48.772798 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 12F879FA5E2 for ; Tue, 30 May 2006 07:33:29 -0300 (ADT) Received: from gamma.datatechlabs.com (unknown [80.81.37.226]) by svr4.postgresql.org (Postfix) with ESMTP id C5FE55AF83F for ; Tue, 30 May 2006 10:05:36 +0000 (GMT) Received: from [10.1.1.205] (gamma.datatechlabs.com [80.81.37.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gamma.datatechlabs.com (Postfix) with ESMTP id 4A5851CC45; Tue, 30 May 2006 10:05:07 +0000 (UTC) Message-ID: <447C4331.4090005@datatechlabs.com> Date: Tue, 30 May 2006 13:05:53 +0000 From: Alvis Tunkelis User-Agent: Thunderbird 1.5.0.2 (X11/20060427) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Cc: Francisco Reyes Subject: Re: Selects query stats? References: <9C4E40CF-6C06-4297-AF32-A7EF2A3F3C0F@hi5.com> <4473512E.7020805@ca.sophos.com> <82252882-2A15-4823-A517-7AB3161889D1@hi5.com> <4473553C.1010804@ca.sophos.com> <127D68F6-7620-4A62-8D1A-9B475E7571CD@hi5.com> <20060524213352.GN59464@pervasive.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/521 X-Sequence-Number: 19308 try pgtop. It is mytop clone for postgresql. Regards, alvis Francisco Reyes wrote: > I am not sure if this is what the original poster was refering to, but I > have used an application called mtop that shows how many queries per > second mysql is doing. > > In my case this is helpfull because we have a number of machines running > postfix and each incoming mail generates about 7 queries. Queries are > all very simmilar to each other in that scenario. > > Having access to that query/second stat allowed me to improve the > settings in MysQL. Ultimately once we migrated to a new server I could > see how moving to the new machine increased the speed at which we could > accept emails. > > I am, little by little, getting PostgreSQL to be used, but for now the > postfix queries are tied to MySQL. By the time we hopefully do move to > PostgreSQL for the Postfix backend it will be very helpfull to have some > sort of way to measure queries/time period. > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings