From: Ryan Chambers <ryan@squaretrade.com>
To: pgsql-admin@postgresql.org
Subject: understanding postgres stats
Date: Wed, 15 Oct 2003 14:34:39 -0700
Message-ID: <3F8DBD6F.80905@squaretrade.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ryan@squaretrade.com
Subject: Re: understanding postgres stats
In-Reply-To: <3F8DBD6F.80905@squaretrade.com>
References: <3F8DBD6F.80905@squaretrade.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox