postgresql/src/backend
Tom Lane 867e2c91a0 Implement "distributed" checkpoints in which the checkpoint I/O is spread
over a fairly long period of time, rather than being spat out in a burst.
This happens only for background checkpoints carried out by the bgwriter;
other cases, such as a shutdown checkpoint, are still done at full speed.

Remove the "all buffers" scan in the bgwriter, and associated stats
infrastructure, since this seems no longer very useful when the checkpoint
itself is properly throttled.

Original patch by Itagaki Takahiro, reworked by Heikki Linnakangas,
and some minor API editorialization by me.
2007-06-28 00:02:40 +00:00
..
access Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
bootstrap Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
catalog Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
commands Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
executor Revert an ill-considered portion of my patch of 12-Mar, which tried to save a 2007-06-17 18:57:29 +00:00
lib Tweak the code in a couple of places to try to deliver more user-friendly 2007-05-28 16:43:24 +00:00
libpq On win32, don't use SO_REUSEADDR for TCP sockets. 2007-06-04 11:59:20 +00:00
main Cleanup the bootstrap code a little, and rename "dummy procs" in the code 2007-03-07 13:35:03 +00:00
nodes Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
optimizer Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
parser Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
po Translation updates 2006-12-02 01:16:16 +00:00
port On win32, retry reading when WSARecv returns WSAEWOULDBLOCK. There seem 2007-06-04 13:39:28 +00:00
postmaster Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
regex Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
rewrite Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
storage Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
tcop Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
utils Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
Makefile Replace useless uses of := by = in makefiles. 2007-02-09 15:56:00 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00