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

distinct cheat with indexes

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Performance
    • Labels:
      None

      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 )

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

              Created:
              Updated:
              Resolved: