postgresql/src/include/storage
Tom Lane 6f5c38dcd0 Just-in-time background writing strategy. This code avoids re-scanning
buffers that cannot possibly need to be cleaned, and estimates how many
buffers it should try to clean based on moving averages of recent allocation
requests and density of reusable buffers.  The patch also adds a couple
more columns to pg_stat_bgwriter to help measure the effectiveness of the
bgwriter.

Greg Smith, building on his own work and ideas from several other people,
in particular a much older patch from Itagaki Takahiro.
2007-09-25 20:03:38 +00:00
..
backendid.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
block.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
buf_internals.h Just-in-time background writing strategy. This code avoids re-scanning 2007-09-25 20:03:38 +00:00
buf.h Make large sequential scans and VACUUMs work in a limited-size "ring" of 2007-05-30 20:12:03 +00:00
buffile.h Rework temp_tablespaces patch so that temp tablespaces are assigned separately 2007-06-07 19:19:57 +00:00
bufmgr.h Just-in-time background writing strategy. This code avoids re-scanning 2007-09-25 20:03:38 +00:00
bufpage.h Improve handling of prune/no-prune decisions by storing a page's oldest 2007-09-21 21:25:42 +00:00
fd.h Remove FileUnlink(), which wasn't being used anywhere and interacted poorly 2007-07-26 15:15:18 +00:00
freespace.h Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with 2007-07-25 12:22:54 +00:00
ipc.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
item.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
itemid.h Redefine the lp_flags field of item pointers as having four states, rather 2007-09-12 22:10:26 +00:00
itempos.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
itemptr.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
large_object.h Add lo_truncate() to backend and libpq for large object truncation. 2007-03-03 19:52:47 +00:00
lmgr.h Implement lazy XID allocation: transactions that do not modify any database 2007-09-05 18:10:48 +00:00
lock.h Implement lazy XID allocation: transactions that do not modify any database 2007-09-05 18:10:48 +00:00
lwlock.h Arrange for large sequential scans to synchronize with each other, so that 2007-06-08 18:23:53 +00:00
off.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
pg_sema.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
pg_shmem.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
pmsignal.h Restructure autovacuum in two processes: a dummy process, which runs 2007-02-15 23:23:23 +00:00
pos.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
proc.h Implement lazy XID allocation: transactions that do not modify any database 2007-09-05 18:10:48 +00:00
procarray.h Replace the former method of determining snapshot xmax --- to wit, calling 2007-09-08 20:31:15 +00:00
relfilenode.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
s_lock.h Apparently icc doesn't always define __ICC, and it's more correct to 2007-08-05 15:11:40 +00:00
shmem.h Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with 2007-07-25 12:22:54 +00:00
sinval.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
sinvaladt.h Implement lazy XID allocation: transactions that do not modify any database 2007-09-05 18:10:48 +00:00
smgr.h Implement lazy XID allocation: transactions that do not modify any database 2007-09-05 18:10:48 +00:00
spin.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00