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

CLONE - distinct cheat with indexes

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Performance
    • 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 )

            Assignee:
            hari.khalsa@10gen.com hari.khalsa@10gen.com
            Reporter:
            cnStoneFang stone [X]
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: