[SERVER-26873] Mongo DB sharding is slow Created: 02/Nov/16  Updated: 02/Nov/16  Resolved: 02/Nov/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

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

Cent OS


Participants:

 Description   

Recently we tried implementing the sharding concept in MongoDB. . For this we configured 3 VMs (each 50GB) - 1 VM as config server, 1 VM as router, shard, and DB server, and the other VM also as router, shard, and DB server.

When we are inserting the data, from single spark RDD to this sharding, data population to the table is slow, and bulk write exception is coming. But when we did this manually using a simple java program we can populate more data. And the same documents are going to both the shards.

Any help on this is highly appreciated. MongDB version - 3.2.10



 Comments   
Comment by Bhavanam Venu Gopala Reddy [ 02/Nov/16 ]

Thanks Thomas Schubert

Comment by Kelsey Schubert [ 02/Nov/16 ]

Hi bvgr.jira,

Thanks for your report. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group.

Kind regards,
Thomas

Generated at Thu Feb 08 04:13:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.