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

distinct cheat with indexes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.5.5
    • Performance
    • None

    Description

      Right now distinct will pull data out of indexes, but will scan the entire thing.
      Can skip whole regions where the key is the same

      Correct way to implement is probably adding a method to a btree bucket like

      getDisinctKeys( int keyOffset )

      Attachments

        Issue Links

          Activity

            People

              Votes:
              31 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: