aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-execute.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-09-25 20:03:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-09-25 20:03:38 +0000
commit6f5c38dcd0dfb391bcbaa683a96f4a62c574d95a (patch)
tree720d4cd3b589bdff97825ed56cc5e1de706bcd87 /src/interfaces/ecpg/test/expected/sql-execute.c
parent588901df84588981aabf40df3287219405ec443b (diff)
downloadpostgresql-6f5c38dcd0dfb391bcbaa683a96f4a62c574d95a.tar.gz
postgresql-6f5c38dcd0dfb391bcbaa683a96f4a62c574d95a.zip
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.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-execute.c')
0 files changed, 0 insertions, 0 deletions