Re: Details about pg_stat_bgwriter - Mailing list pgsql-admin

From Greg Smith
Subject Re: Details about pg_stat_bgwriter
Date
Msg-id 4C0E7E3E.2070309@2ndquadrant.com
Whole thread Raw
In response to Details about pg_stat_bgwriter  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Re: Details about pg_stat_bgwriter
Re: Details about pg_stat_bgwriter
List pgsql-admin
Thomas Kellerer wrote:
> If I want to identify a possible bottleneck with the bgwriter, for
> what kind of numbers do I need to watch out?
You don't much with a single snapshot of pg_stat_bgwriter data.  Try
saving this instead:

select *,now() from pg_stat_bgwriter;

And then take another snapshot at least a few hours later, preferably
the next day.  With two snapshots and timestamps on them, then it's
possible to make some sense of the numbers.

--
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us


pgsql-admin by date:

Previous
From: Thomas Kellerer
Date:
Subject: Details about pg_stat_bgwriter
Next
From: Thomas Kellerer
Date:
Subject: Re: Details about pg_stat_bgwriter