X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4FB5DD6F49 for ; Tue, 11 Oct 2005 10:46:30 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83314-07 for ; Tue, 11 Oct 2005 13:46:20 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id B09E2D710C for ; Tue, 11 Oct 2005 10:46:22 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id 1B73B15257; Tue, 11 Oct 2005 08:46:27 -0500 (CDT) Date: Tue, 11 Oct 2005 08:46:26 -0500 From: "Jim C. Nasby" To: David Pradier Cc: pgsql-admin@postgresql.org Subject: Re: A tool to extract the problematic points of the postgresl log. Message-ID: <20051011134626.GR23883@pervasive.com> References: <20051011095929.GD12162@clarisys.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051011095929.GD12162@clarisys.fr> X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 required=5 tests=[AWL=0.009] X-Spam-Level: X-Archive-Number: 200510/122 X-Sequence-Number: 19194 Yes, someone has. Take a look on http://pgfoundry.org; I'm pretty sure it's there. On Tue, Oct 11, 2005 at 11:59:29AM +0200, David Pradier wrote: > Hi everybody, > > i'd like to know if my database (settings, indexes, materialized views, > etc) is correctly tuned. > To do this, i think the best way is to watch the queries actually > processed and the time needed. > > The postgres log is the right way to do this, i think. > > But well, it's a bit dense. > Nothing i can't go through, but would you know a better tool than grep > to parse the file and extract the problematic points ? > > As it might be a common problem, maybe somebody as already written a > generic tool to do this ? > > Thanks in advance, > David > -- > David Pradier -- Directeur Technique de Clarisys Informatique -- Chef de projet logiciels libres / open-source > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461