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

pgstat documentation tables

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pgstat documentation tables
Date: 2012-01-15 08:51:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Right now we have a single table on
that lists all our statistics views. It makes for difficult to parse
descriptions like "One row only, showing cluster-wide statistics from
the background writer: number of scheduled checkpoints, requested
checkpoints, buffers written by checkpoints and cleaning scans, and
the number of times the background writer stopped a cleaning scan
because it had written too many buffers. Also includes statistics
about the shared buffer pool, including buffers written by backends
(that is, not by the background writer), how many times those backends
had to execute their own fsync calls (normally the background writer
handles those even when the backend does its own write), total buffers
allocated, and time of last statistics reset."

I'd like to turn that into one table for each view, with two columns,
one being the name the other one being the description. That'll also
make it possible to expand on the descriptions without making it
completley unreadable, should we want to.


 Magnus Hagander


pgsql-hackers by date

Next:From: Greg SmithDate: 2012-01-15 09:28:29
Subject: Re: IDLE in transaction introspection
Previous:From: Magnus HaganderDate: 2012-01-15 08:45:25
Subject: Re: automating CF submissions (was xlog location arithmetic)

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