understanding postgres stats - Mailing list pgsql-admin

From Ryan Chambers
Subject understanding postgres stats
Date
Msg-id 3F8DBD6F.80905@squaretrade.com
Whole thread Raw
List pgsql-admin
Hi

I've recently enabled statistics gathering on our large (> 50GB)
postgres database because of a recent significant decrease in
performance, believed to be related to changes in the application
running on top of it. I'm trying to make sense of these statistics in my
investigation of this. Are there any rules-of-thumb used when looking at
them? For example the ratio of idx_scan to idx_tup_fetch in
pg_stat_user_tables, or heap_blks_read to heap_blks_hit in
pg_statio_user_tables.

I'm assuming that the answer will be "Well, it really depends on your
database/application", but if anybody has any quick rules of thumb, I'd
love to hear them.

I've found a lot of advice on the web for optimizing postgres databases,
and so I don't need that kind of info.

Thanks in advance.

Ryan



pgsql-admin by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: ERserver patch question
Next
From: "Ganesan Kanavathy"
Date:
Subject: pg_dump.. auto backup