Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-633

Add parallelCollectionScan helper

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

      The parallelCollectionScan command - added in MongoDB 2.5.5 - opens a configurable number of cursors against the specified collection and returns their cursor ids. These cursors are used to iterate the entire collection using multiple threads concurrently.

      In PyMongo the parallel_scan helper will return 'num_cursors' instances of CommandCursor that can be iterated concurrently by multiple threads (or greenlets, etc.).

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            barrie Barrie Segal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: