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

Add parallelCollectionScan helper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7
    • None
    • None

    Description

      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.).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: