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

CLONE - distinct cheat with indexes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: