Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1376

Use insertMany to upload GridFS chunks for better performance

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: GridFS, Performance
    • None
    • PHP Drivers

      PHPLIB has historically used insertOne to write chunks. PyMongo recently switched to a batching strategy that leverages insert_many (at the expense of increased memory usage) and saw a significant performance improvement.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: