pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedvacuum monitoring question
4+ messages / 2 participants
[nested] [flat]
* vacuum monitoring question
@ 2008-12-24 16:31 Kevin Kempter <kevink@consistentstate.com>
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Kempter @ 2008-12-24 16:31 UTC (permalink / raw)
To: pgsql-admin
Hi All;
I'm working on a vacuum monitor script to alert us when tables start to grow
out of control per dead space. Initially I excluded the system catalog
schemas (pg_catalog, pg_toast, etc) however I wonder if maybe I should monitor
these as well. PLus I'm looking for any input as to specifically what to look
for - I've calculated a 'fill factor' which shows the average page fill as a
percentage but I wonder what other metrics may help monitor possible problem
tables effeciently..
Thoughts ?
Thanks in advance
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: vacuum monitoring question
@ 2008-12-24 16:56 Scott Marlowe <scott.marlowe@gmail.com>
parent: Kevin Kempter <kevink@consistentstate.com>
0 siblings, 1 reply; 4+ messages in thread
From: Scott Marlowe @ 2008-12-24 16:56 UTC (permalink / raw)
To: Kevin Kempter <kevink@consistentstate.com>; +Cc: pgsql-admin
On Wed, Dec 24, 2008 at 9:31 AM, Kevin Kempter
<kevink@consistentstate.com> wrote:
> Hi All;
>
> I'm working on a vacuum monitor script to alert us when tables start to grow
> out of control per dead space. Initially I excluded the system catalog
> schemas (pg_catalog, pg_toast, etc) however I wonder if maybe I should
> monitor these as well. PLus I'm looking for any input as to specifically
> what to look for - I've calculated a 'fill factor' which shows the average
> page fill as a percentage but I wonder what other metrics may help monitor
> possible problem tables effeciently..
It's a good idea to keep an eye on system catalogs, especially if you
have a fair bit of DDL going on in your usage. I'd take a look at
what the check_postgresql.pl script does. No need to reproduce all
that work on your own.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: vacuum monitoring question
@ 2008-12-24 19:09 Kevin Kempter <kevink@consistentstate.com>
parent: Scott Marlowe <scott.marlowe@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Kempter @ 2008-12-24 19:09 UTC (permalink / raw)
To: pgsql-admin
On Wednesday 24 December 2008 09:56:29 Scott Marlowe wrote:
> On Wed, Dec 24, 2008 at 9:31 AM, Kevin Kempter
>
> <kevink@consistentstate.com> wrote:
> > Hi All;
> >
> > I'm working on a vacuum monitor script to alert us when tables start to
> > grow out of control per dead space. Initially I excluded the system
> > catalog schemas (pg_catalog, pg_toast, etc) however I wonder if maybe I
> > should monitor these as well. PLus I'm looking for any input as to
> > specifically what to look for - I've calculated a 'fill factor' which
> > shows the average page fill as a percentage but I wonder what other
> > metrics may help monitor possible problem tables effeciently..
>
> It's a good idea to keep an eye on system catalogs, especially if you
> have a fair bit of DDL going on in your usage. I'd take a look at
> what the check_postgresql.pl script does. No need to reproduce all
> that work on your own.
Thanks for the feedback - where can I find the check_postgresql.pl script ?
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: vacuum monitoring question
@ 2008-12-24 22:49 Scott Marlowe <scott.marlowe@gmail.com>
parent: Kevin Kempter <kevink@consistentstate.com>
0 siblings, 0 replies; 4+ messages in thread
From: Scott Marlowe @ 2008-12-24 22:49 UTC (permalink / raw)
To: Kevin Kempter <kevink@consistentstate.com>; +Cc: pgsql-admin
On Wed, Dec 24, 2008 at 12:09 PM, Kevin Kempter
<kevink@consistentstate.com> wrote:
> Thanks for the feedback - where can I find the check_postgresql.pl script ?
http://bucardo.org/check_postgres/
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2008-12-24 22:49 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-12-24 16:31 vacuum monitoring question Kevin Kempter <kevink@consistentstate.com>
2008-12-24 16:56 ` Scott Marlowe <scott.marlowe@gmail.com>
2008-12-24 19:09 ` Kevin Kempter <kevink@consistentstate.com>
2008-12-24 22:49 ` Scott Marlowe <scott.marlowe@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox