Re: Tuning

From: paul rivers <rivers(dot)paul(at)gmail(dot)com>
To: Michael Monnerie <michael(dot)monnerie(at)it-management(dot)at>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Tuning
Date: 2008-04-08 07:37:56
Message-ID: 47FB20D4.3050504@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Michael Monnerie wrote:
> On Montag, 7. April 2008 Scott Marlowe wrote:
>
>> You can monitor things like index and table bloat with the pg_stat_*
>> series of views.
>>
>
> Are there scripts to automate this look at stats?
> Or could one draw graphs from that values, to visualize how well the db
> is? E.g., if you could calculate a % value, you could make RRD stats to
> see it's change over time. Is there any project on this?
>
> mfg zmi
>

I don't see a direct way to monitor bloat from pg_stat*. If I'm wrong,
please set me straight.

For example, monitoring index bloat would involve deciding how many
pages an index would ideally consume, based on either sampling the table
yourself or raiding stats, and making assumptions. Then you'd compare
to actual (or approximated actual) and decide if you were within
whatever threshold you think is OK.

Paul

In response to

  • Re: Tuning at 2008-04-08 07:17:22 from Michael Monnerie

Responses

  • Re: Tuning at 2008-04-08 08:55:02 from Michael Monnerie

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Frost 2008-04-08 07:47:57 Re: Tuning
Previous Message Michael Monnerie 2008-04-08 07:17:22 Re: Tuning