mongoDB 32-bit 2GB limit, best practices

后端 未结 2 912
独厮守ぢ
独厮守ぢ 2021-01-07 09:49

Mongo newbie running 32-bit Mongo 2.0.1 on Windows XP. No option at present to run 64-bit.

I want to use Mongo to map-reduce a set of 60 files, each a monthly snaps

相关标签:
2条回答
  • 2021-01-07 09:55

    If you don't have 64-bit, my best recommendation is you don't. It would be too cumbersome to manage them to be under 32-bit process. It would probably be better to explore hadoop for your purpose.

    0 讨论(0)
  • 2021-01-07 10:10

    You can go over the 2Gb limit by sharding. The 2Gb limit applies to individual mongod processes, rather than the total data in the sharded dataset.

    Here is some documentation about getting started with sharding. There is also a Python script for setting up a sharded environment on a single machine. I assume it will work on Windows.

    0 讨论(0)
提交回复
热议问题