Re: Statistics not working??

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Hugo Ferreira <bytter(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Statistics not working??
Date: 2005-03-11 12:03:15
Message-ID: Pine.GSO.4.62.0503111502210.26616@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Huxton 2005-03-11 13:05:28 Re: [GENERAL] more execution time
Previous Message AL ELK 2005-03-11 11:54:56 more execution time