X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9CC97565E1 for ; Fri, 11 Mar 2005 12:03:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05244-02 for ; Fri, 11 Mar 2005 12:03:32 +0000 (GMT) Received: from ra.sai.msu.su (ra.sai.msu.su [158.250.29.2]) by svr1.postgresql.org (Postfix) with ESMTP id BFDB4565B9 for ; Fri, 11 Mar 2005 12:03:22 +0000 (GMT) Received: from ra (ra [158.250.29.2]) by ra.sai.msu.su (8.12.10/8.12.10) with ESMTP id j2BC3F5Q023485; Fri, 11 Mar 2005 15:03:15 +0300 (MSK) Date: Fri, 11 Mar 2005 15:03:15 +0300 (MSK) From: Oleg Bartunov X-X-Sender: megera@ra.sai.msu.su To: Hugo Ferreira Cc: pgsql-performance@postgresql.org Subject: Re: Statistics not working?? In-Reply-To: <4e8efcf505031103531e49c8d0@mail.gmail.com> Message-ID: References: <4e8efcf505031103531e49c8d0@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.349 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200503/186 X-Sequence-Number: 10891 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