Re: No stats visible? - Mailing list pgsql-general

From Doug McNaught
Subject Re: No stats visible?
Date
Msg-id m31y1mq4sj.fsf@varsoon.wireboard.com
Whole thread Raw
In response to No stats visible?  (Steve Lane <slane@moyergroup.com>)
List pgsql-general
Steve Lane <slane@moyergroup.com> writes:

> Hello all:
>
> I've been looking at Postgres' statistics tables to try to get some sense of
> why my database server seems to be running slowly. Oddly, the stats tables
> seem to be recording no activity! pg_stat_get_tuples_inserted on one of my
> main tables says no tuples have been inserted. I also get lots of zeroes for
> all the main numbers on most of the other tables.

Are you running ANALYZE regularly?  Are you VACUUMing?

-Doug

pgsql-general by date:

Previous
From: "Andy Kriger"
Date:
Subject: administering connections to a database?
Next
From: Ivan
Date:
Subject: simple questions