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
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match