MongoDB assumes a 64-bit system - does this mean hardware or the kernel of the OS, or both?

This post says that you need a 64-bit system for MongoDB if your data is more than 2 GB.

On my local machine, the 64-bit version of Intel C2D running on 32-bit Mac OS X Leopard, the 64-bit version of MongoDB works without errors.

On the server, a 64-bit machine with 32-bit CentOS 5.0, the 64-bit version of MongoDB will not work. 32 bit works fine.

My question is, does MongoDB require both hardware and the OS kernel 64 bit? If so, why is there a discrepancy in my experience with the above systems?

+3
source share
3 answers

, , 2 , 64- mongod. 64- , , , 64- .

, . mongodb mmap , . , PAE. PAE - , 3,5 .

: , , 32- , , 64- . OSX, 64- , , , , . Windows Linux 64- 64- .

+1

> 2 , ​​ > 2 . 64- , PAE, 32- .

, MAC OS X - PAE, , .

+1

MAC OS X is a special case, as it tries to VERY obscure all 32/64 bit content from the user. Leopard, afaik, already supports 64-bit applications with some tricks.

0
source

Source: https://habr.com/ru/post/1764871/


All Articles