Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id D13CF9FBCBC for ; Mon, 18 Jun 2007 19:11:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 87287-09 for ; Mon, 18 Jun 2007 19:11:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by postgresql.org (Postfix) with ESMTP id ACC3E9FBC6E for ; Mon, 18 Jun 2007 19:11:17 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id u2so1638995uge for ; Mon, 18 Jun 2007 15:11:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; 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; b=S6ZQXYKa6lL0jdDahRCfpWnJ3w395puEX/7r0rpAStUEE0AhapyOL9QvBrCtATjEAVMYbB981CniBuY6k9gl1Aqe5KdMKh2iwymbRq1zkCn3JES8ZUkN/Q36RNk1cXEa2fGhUnn0yv5lo7xTa9aQm1SoPoiUPRdLuK55KD+6GNg= 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=uX72lwskxXp766mZCIuLaiAti0QMLKeDUUzGmjk2wSTCOtUCo+9juFH1gzxW8jCkkeUXlIgp8EWUyPLuKyIrLB7nGRsoDoetpXMV4LGeyQniwQ3mtYQh9u2CFCopnx6rmHkymd1teB8gwkxL//FsdYJ3+C3eXlJG567eAbBfTPM= Received: by 10.82.111.8 with SMTP id j8mr12219552buc.1182204675712; Mon, 18 Jun 2007 15:11:15 -0700 (PDT) Received: by 10.82.120.6 with HTTP; Mon, 18 Jun 2007 15:11:15 -0700 (PDT) Message-ID: <1d4e0c10706181511p27a0296bh6982c17b16ed96f2@mail.gmail.com> Date: Tue, 19 Jun 2007 00:11:15 +0200 From: "Guillaume Smet" To: "Y Sidhu" Subject: Re: Parsing VACUUM VERBOSE Cc: pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1d4e0c10706140752u30923a39v3f59a02408836ee4@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/317 X-Sequence-Number: 25350 On 6/18/07, Y Sidhu wrote: > I am following this discussion with great interest. I have PG running on > FreeBSD and am forced to run pgFouine on a separate Linux box. I am hoping I > can create a log file. and then copy that over and have pgFouine analyze it > on the Linux box. > a. I created a log file out of vacuum verbose, is that right? It is not > complete because I don't know how to dump it into a file in some sort of > autmoated fashion. So, I have to take what is on the screen and copy it off. If you want to analyze a VACUUM log, just run vacuumdb with the option you need (for example -a -z -v -f for a vacuum full analyze verbose). # vacuumdb -a -z -v -f > your_log_file.log Then analyze this log file as explained on the pgFouine website. > b. I can also set a variable "log_min_duration_statement" in pgsql.conf > > I guess I am like Sabin,, and need some hand holding to get started. This is completely different and it's useful for query log analysis. So you don't care if you just want to analyze your vacuum behaviour. -- Guillaume