Skip site navigation (1) Skip section navigation (2)

Re: Script for getting a table of reponse-time breakdown

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Jack Xue <jxue(at)regenstrief(dot)org>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Script for getting a table of reponse-time breakdown
Date: 2005-03-25 17:40:59
Message-ID: 200503250940.59062.josh@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-performance
Jack,

> I am thinking about how to continuously monitor the performance of a
> PostgreSQL 8 database. I am interested in two things: (1) the growth of
> tables with TOAST and indexes;

This is queryable from the system tables, if you don't mind an approximate.  

> and (2) the respond time breakdown for a 
> query.

The what?  You mean EXPLAIN ANALYZE?

> In Chapters 23 and 24 of the big manual, I found enough materials to
> teach me how to do the 1st job. But I have difficulty with the 2nd one.
> I found some script for Oracle
> (http://www.ixora.com.au/scripts/waits.htm).

Life's too short for reading Oracle docs.   Can you just explain, in 
step-by-step detail, what you want?

-- 
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

pgsql-performance by date

Next:From: Jack XueDate: 2005-03-25 18:00:06
Subject: Re: Script for getting a table of reponse-time breakdown
Previous:From: Josh BerkusDate: 2005-03-25 17:38:28
Subject: Re: Delete query takes exorbitant amount of time

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group