How to tell what your postgresql server is doing

From: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: How to tell what your postgresql server is doing
Date: 2005-04-20 04:44:52
Message-ID: Pine.LNX.4.62.0504192141120.21883@discord.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Is there a way to look at the stats tables and tell what is jamming up your
postgres server the most? Other than seeing long running queries and watch
top, atop, iostat, vmstat in separate xterms...I'm wondering if postgres keeps
some stats on what it spends the most time doing or if there's a way to
extract that sort of info from other metrics it keeps in the stats table?

Maybe a script which polls the stats table and correlates the info with stats
about the system in /proc?

--
Jeff Frost, Owner <jeff(at)frostconsultingllc(dot)com>
Frost Consulting, LLC http://www.frostconsultingllc.com/
Phone: 650-780-7908 FAX: 650-649-1954

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-04-20 05:21:41 Re: How to tell what your postgresql server is doing
Previous Message Jeff Frost 2005-04-20 04:40:08 Re: Opteron vs Xeon (Was: What to do with 6 disks?)