pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: huaxin zhang <uwcssa@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: statistics not shown up
Date: Sun, 4 Sep 2005 18:40:11 -0600
Message-ID: <20050905004011.GA63674@winnie.fuhr.org> (raw)
In-Reply-To: <f2f562510509041700369c30a8@mail.gmail.com>
References: <f2f562510509041700369c30a8@mail.gmail.com>

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



view thread (2+ messages)

Message-ID: <20050905004011.GA63674@winnie.fuhr.org>
Permalink:  ../20050905004011.GA63674@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050905004011.GA63674@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, uwcssa@gmail.com
  Subject: Re: statistics not shown up
  In-Reply-To: <20050905004011.GA63674@winnie.fuhr.org>
  References: <f2f562510509041700369c30a8@mail.gmail.com> <20050905004011.GA63674@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox