Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 7C2B5650EA4 for ; Fri, 27 Jun 2008 12:38:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 14956-04 for ; Fri, 27 Jun 2008 12:37:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from 137086.vserver.de (vs137086.vserver.de [62.75.137.86]) by postgresql.org (Postfix) with ESMTP id 6252C650E7F for ; Fri, 27 Jun 2008 12:37:53 -0300 (ADT) Received: from a-kretschmer.de (p54B38B29.dip0.t-ipconnect.de [84.179.139.41]) (authenticated bits=0) by 137086.vserver.de (8.12.8/8.12.8) with ESMTP id m5RFboB5019686 for ; Fri, 27 Jun 2008 17:37:51 +0200 Received: from kretschmer by a-kretschmer.de with local (Exim 4.69) (envelope-from ) id 1KCG1F-0002z9-3D for pgsql-performance@postgresql.org; Fri, 27 Jun 2008 17:37:49 +0200 Date: Fri, 27 Jun 2008 17:37:49 +0200 From: Andreas Kretschmer To: pgsql-performance@postgresql.org Subject: Re: A guide/tutorial to performance monitoring and tuning Message-ID: <20080627153749.GA11421@tux> References: <4864F7C7.3020901@celoxis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4864F7C7.3020901@celoxis.com> X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-GPG-Fingerprint: EE16 3C01 7B9C 10F7 2C8B 3B86 4DB3 D9EE 7F45 84DA X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! X-Lugdd: Gerd Kube X-Info: My name is root. Just root. And I am licensed to kill -9 User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/199 X-Sequence-Number: 30549 Nikhil G. Daddikar schrieb: > Hello, > > I have been searching on the net on how to tune and monitor performance > of my postgresql server but not met with success. A lot of information > is vague and most often then not the answer is "it depends". Can anyone > of you refer me a nice guide or tutorial on this? Depends ;-) You can log queries with an execution time more than N milliseconds via log_min_duration. You can analyse the log with tools like pgfouine. And you can analyse such queries with EXPLAIN ANALYSE. But, i don't know your current problem, that's why my answer are a little bit vague... Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknown) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°