RE: Performance monitor

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: "mascarm(at)mascari(dot)com" <mascarm(at)mascari(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: Performance monitor
Date: 2001-03-08 01:25:59
Message-ID: 3.0.5.32.20010308122559.0277aa00@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 19:59 7/03/01 -0500, Mike Mascari wrote:
>I like the idea of updating shared memory with the performance statistics,
>current query execution information, etc., providing a function to fetch
>those statistics, and perhaps providing a system view (i.e. pg_performance)
>based upon such functions which can be queried by the administrator.

This sounds like The Way to me. Although I worry that using a view (or
standard libpq methods) might be too expensive in high load situations
(this is not based on any knowledge of the likely costs, however!).

We do need to make this as cheap as possible since we don't want to distort
the stats, and it will often be used to diagnose perormance problems, and
we don't want to contribute to those problems.

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2001-03-08 01:47:58 Re: AW: Proposed WAL changes
Previous Message Mike Mascari 2001-03-08 00:59:20 RE: Performance monitor