Himanshu Baweja <himanshubaweja(at)yahoo(dot)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
In response to
Responses
pgsql-hackers by date
| Next: | From: Himanshu Baweja | Date: 2005-06-03 14:21:45 |
| Subject: Re: pg_stats not getting updated.... |
| Previous: | From: Tom Lane | Date: 2005-06-03 13:29:27 |
| Subject: Re: Source Code Help Needed |