[DOCS-1680] Documentation on bulk inserts is incomplete Created: 05/Jul/13  Updated: 30/Oct/23  Resolved: 15/Oct/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: William Zola Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

http://docs.mongodb.org/manual/core/write-operations/#bulk-inserts


Issue Links:
Duplicate
duplicates DOCS-1524 Broad guidance for typical performanc... Closed
Participants:
Days since reply: 10 years, 22 weeks, 1 day ago

 Description   

Bulk inserts in MongoDB are not like bulk inserts in the RDBMS, and the documentation doesn't make the differences clear

Among the topics that should be covered are:

  • Bulk inserts typically have no (or vanishingly small) performance improvement on a sharded cluster (since the mongos has to split apart each insert & route it to the appropriate shard)
  • Bulk inserts to un-sharded MongoDB can slow down overall cluster performance by flooding the I/O system on a PRIMARY node
  • Generally, there's typically no performance improvement in including more than 10-20 documents in a bulk insert
  • There are trade-offs when doing bulk inserts: in particular, you lose the ability to determine which inserts succeeded and which ones failed


 Comments   
Comment by Zack Brown [ 17/Sep/13 ]

The document that should be updated for this ticket is http://docs.mongodb.org/manual/core/bulk-inserts/

Generated at Thu Feb 08 07:41:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.