Обсуждение: Statistics not working??

Поиск
Список
Период
Сортировка

Statistics not working??

От
Hugo Ferreira
Дата:
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?

Thanks in advance,

Hugo Ferreira

--
GPG Fingerprint: B0D7 1249 447D F5BB 22C5  5B9B 078C 2615 504B 7B85

Re: Statistics not working??

От
Oleg Bartunov
Дата:
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@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83