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

expose splitVector functionality

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Sharding, Usability
    • Labels:
      None

      Description

      splitVector is used by sharding and returns the split points for a collection. It shows pretty impressive performance while doing so. There are many cases where it can be extremely useful to know to split points of a collection, for example:

      • to subdivide workload accross application threads
      • to subdivide workload for map reduce

      There is no easy alternative for the application in case it is not aware of the distribution of a key.
      In the context of sharding, mongos could just return the chunk ranges.
      This should be made available to a 'read' or 'readWrite' application user.
      It seems also that the hadoop connector currently relies on these things, so we should make it properly supported.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: