Re: Publish checkpoint timing and sync files summary data to pg_stat_bgwriter
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Greg Smith <greg@2ndquadrant.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-01-23T02:08:55Z
Lists: pgsql-hackers
On Sat, Jan 21, 2012 at 6:32 PM, Jeff Janes <jeff.janes@gmail.com> wrote: > I'm finding the backend_writes column pretty unfortunate. The only > use I know of for it is to determine if the bgwriter is lagging > behind. Yet it doesn't serve even this purpose because it lumps > together the backend writes due to lagging background writes, and the > backend writes "by design" due to the use buffer access strategy > during bulk inserts. +1 for separating those. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company