1. 26 9月, 2007 3 次提交
    • T
      Dept. of second thoughts: fix loop in BgBufferSync so that the exit when · 7a315a09
      Tom Lane 提交于
      bgwriter_lru_maxpages is exceeded leaves the loop variables in the
      expected state.  In the original coding, we'd fail to advance
      next_to_clean, causing that buffer to be probably-uselessly rechecked next
      time, and also have an off-by-one idea of the number of buffers scanned.
      7a315a09
    • T
      Just-in-time background writing strategy. This code avoids re-scanning · 6f5c38dc
      Tom Lane 提交于
      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.
      6f5c38dc
    • P
      Small string tweaks · 588901df
      Peter Eisentraut 提交于
      588901df
  2. 25 9月, 2007 3 次提交
  3. 24 9月, 2007 12 次提交
  4. 23 9月, 2007 5 次提交
  5. 22 9月, 2007 11 次提交
  6. 21 9月, 2007 6 次提交