1. 17 Mar, 2008 2 commits
    • Tom Lane's avatar
      Fix TransactionIdIsCurrentTransactionId() to use binary search instead of · 32846f81
      Tom Lane authored
      linear search when checking child-transaction XIDs.  This makes for an
      important speedup in transactions that have large numbers of children,
      as in a recent example from Craig Ringer.  We can also get rid of an
      ugly kluge that represented lists of TransactionIds as lists of OIDs.
      
      Heikki Linnakangas
      32846f81
    • Bruce Momjian's avatar
      Done: · a7c58abe
      Bruce Momjian authored
      > 	o -During index creation, pre-sort the tuples to improve build speed
      a7c58abe
  2. 16 Mar, 2008 4 commits
  3. 15 Mar, 2008 1 commit
    • Tom Lane's avatar
      Change hash index creation so that rather than always establishing exactly · c9a1cc69
      Tom Lane authored
      two buckets at the start, we create a number of buckets appropriate for the
      estimated size of the table.  This avoids a lot of expensive bucket-split
      actions during initial index build on an already-populated table.
      
      This is one of the two core ideas of Tom Raney and Shreya Bhargava's patch
      to reduce hash index build time.  I'm committing it separately to make it
      easier for people to test the effects of this separately from the effects
      of their other core idea (pre-sorting the index entries by bucket number).
      c9a1cc69
  4. 14 Mar, 2008 3 commits
  5. 13 Mar, 2008 5 commits
  6. 12 Mar, 2008 20 commits
  7. 11 Mar, 2008 5 commits