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 9C7DED8000 for ; Mon, 5 Sep 2005 01:18:31 -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 51555-01 for ; Mon, 5 Sep 2005 04:18:24 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id DF3DAD8BDB for ; Sun, 4 Sep 2005 21:40:14 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j850eCwO032429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 4 Sep 2005 18:40:16 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j850eC6F063740; Sun, 4 Sep 2005 18:40:12 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j850eBh7063739; Sun, 4 Sep 2005 18:40:11 -0600 (MDT) (envelope-from mfuhr) Date: Sun, 4 Sep 2005 18:40:11 -0600 From: Michael Fuhr To: huaxin zhang Cc: pgsql-admin@postgresql.org Subject: Re: statistics not shown up Message-ID: <20050905004011.GA63674@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 required=5 tests=[AWL=0.005] X-Spam-Level: X-Archive-Number: 200509/26 X-Sequence-Number: 18763 On Sun, Sep 04, 2005 at 08:00:21PM -0400, huaxin zhang wrote: > I start postgres using the -s parameter to track the number of hits to buffer. I assume you're running postgres in single-user mode since that's where the -s option means "print statistics." Is that what you're doing? > I also set both "stats_start_collector", "stats_block_level" to true > in /usr/local/pgsql/data/postgresql.conf > > However, I get "(typeid = 700, len = 4, typmod = -1, byval = f)" after > running each query. Apparently this is not manifesting buffer hit rate. Try setting log_min_messages to debug1; that works for me in 8.0.3. -- Michael Fuhr