Re: Statistics not working??

From: Oleg Bartunov
Subject: Re: Statistics not working??
Date: ,
(view: Whole thread, Raw)
In response to: Statistics not working??  (Hugo Ferreira)
List: pgsql-performance

On Fri, 11 Mar 2005, Hugo Ferreira wrote:

> Hi there!
> I think I may have a problem with the statistics in my postgresql 8.0
> running under Windowx XP. When I view both pg_stat_all_tables and
> pg_stat_all_indexes, all the numeric columns that should hold the
> statistics are 0 (zero). My configuration file has the following:
> stats_start_collector = true
> stats_command_string = true
> stats_reset_on_server_start = false
> Any tip?

You need to define stats_block_level and/or stats_row_level

> Thanks in advance,
> Hugo Ferreira

Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: ,
phone: +007(095)939-16-83, +007(095)939-23-83

pgsql-performance by date:

From: Jacques Caron
Subject: Performance tuning
From: "Lou O'Quin"
Subject: Query performance