postgresql/src/backend/storage
Robert Haas 3134d8863e Add new buffers_backend_fsync field to pg_stat_bgwriter.
This new field counts the number of times that a backend which writes a
buffer out to the OS must also fsync() it.  This happens when the
bgwriter fsync request queue is full, and is generally detrimental to
performance, so it's good to know when it's happening.  Along the way,
log a new message at level DEBUG1 whenever we fail to hand off an fsync,
so that the problem can also be seen in examination of log files
(if the logging level is cranked up high enough).

Greg Smith, with minor tweaks by me.
2010-11-15 12:42:59 -05:00
..
buffer Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
file Move copydir() prototype into its own header file. 2010-11-12 16:39:53 -05:00
freespace Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
ipc Avoid spurious Hot Standby conflicts from btree delete records. 2010-11-15 09:30:13 +00:00
large_object Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
lmgr Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
page Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
smgr Add new buffers_backend_fsync field to pg_stat_bgwriter. 2010-11-15 12:42:59 -05:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00