1. 25 Nov, 2005 1 commit
    • Tom Lane's avatar
      Improve ExecStoreTuple to be smarter about replacing the contents of · dab52ab1
      Tom Lane authored
      a TupleTableSlot: instead of calling ExecClearTuple, inline the needed
      operations, so that we can avoid redundant steps.  In particular, when
      the old and new tuples are both on the same disk page, avoid releasing
      and re-acquiring the buffer pin --- this saves work in both the bufmgr
      and ResourceOwner modules.  To make this improvement actually useful,
      partially revert a change I made on 2004-04-21 that caused SeqNext
      et al to call ExecClearTuple before ExecStoreTuple.  The motivation
      for that, to avoid grabbing the BufMgrLock separately for releasing
      the old buffer and grabbing the new one, no longer applies.  My
      profiling says that this saves about 5% of the CPU time for an
      all-in-memory seqscan.
      dab52ab1
  2. 24 Nov, 2005 2 commits
  3. 23 Nov, 2005 4 commits
  4. 22 Nov, 2005 13 commits
  5. 21 Nov, 2005 7 commits
  6. 20 Nov, 2005 3 commits
  7. 19 Nov, 2005 6 commits
  8. 18 Nov, 2005 4 commits