开发者

MongoDB sharding/partitioning 100+ million rows in one table on one machine

Does MongoDB support something akin to ordinary database partitioning on a single machine? I’m looking for very fast queries (writes are less important) on a single large table on one machine.

I tried sharding data using only one machine, in the hopes that it would behave similarly to ordinary database partitioning, but the performance was subpar. I also did开发者_StackOverflow社区 a quick custom-code partitioning implementation, which was much faster. But I would prefer to use built-in MongoDB functionality if possible.

What are the best practices for MongoDB for this scenario?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜