Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8004

assorted count optimizations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • Querying

    Description

      A collection of small optimizations have been shown to improve the performance of simple counts about 3x in testing. They include:

      • caching a BtreeBucket retrieved from a DiskLoc in IntervalBtreeCursor
      • a simplified implementation for checking if the read lock should be yielded in count.cpp
      • reducing the number of calls to Cursor interface functions in count.cpp and IntervalBtreeCursor
      • a new Cursor::acceptCurrent() function that avoids a call to currLoc() and avoids virtual calls in some cases

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aaron Aaron Staple
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: