Re: Script for getting a table of reponse-time breakdown - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Script for getting a table of reponse-time breakdown
Date
Msg-id 200503250940.59062.josh@agliodbs.com
Whole thread Raw
In response to Script for getting a table of reponse-time breakdown  (Jack Xue <jxue@regenstrief.org>)
Responses Re: Script for getting a table of reponse-time breakdown
List 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

pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Delete query takes exorbitant amount of time
Next
From: Jack Xue
Date:
Subject: Re: Script for getting a table of reponse-time breakdown