Re: pg_stats not getting updated.... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_stats not getting updated....
Date
Msg-id 4365.1117806644@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_stats not getting updated....  (Himanshu Baweja <himanshubaweja@yahoo.com>)
Responses Re: pg_stats not getting updated....
List pgsql-hackers
Himanshu Baweja <himanshubaweja@yahoo.com> writes:
> i just noted one more thing...
> pg_stat_get_db_blocks_fetched/hit is getting updated
> but pg_stat_get_blocks_fetched/hit are not getting
> updated.....

That's pretty difficult to credit after looking at the pgstat.c code:
every incoming blocks_fetched count is added to both per-table and
per-database stats.  I wonder if you are looking at the wrong per-table
entries?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Source Code Help Needed
Next
From: Himanshu Baweja
Date:
Subject: Re: pg_stats not getting updated....