I’m a big fan of MongoDB but contrary to its “humongous” orientation, I like to think small as in ARM-based SBCs like the Raspberry Pi or ODROID-C2 and DBs under a terabyte 😉 You can get a lot of power out of tiny inexpensive computers and USB disk drives! You can find my blog entries, below, for getting 32-bit MongoDB 3.0 working on R-Pi and 64-bit, MongoDB 3.2 working under ArchLinux ARM on ODROID-C2.
I had seen MongoDB community requests for a 64-bit ARM version and even a mention that there was “official experimental” development going on – including the efficient WiredTiger storage engine. I recently perused the MongoDB Community Edition documentation for version 3.4 and saw a download option for “Ubuntu 16.04 Linux 64-bit ARM 64” on the MongoDB Download Center. Ubuntu 16.04 is the default Linux supplied with the ODROID-C2 🙂 You can purchase a bare ODROID-C2 for US$40 at Hardkernel. Micro SD card or EMMC module with preinstalled Ubuntu Linux is extra.
Click more for installation instructions.
I use MongoDB as my database of choice as you can tell by my blog entries. Under current Raspberry Pi OSs, MongoDB is limited by 32 bit binaries. Databases are restricted to 2GB.
The Raspberry Pi 3 sports an ARMv7 processor that supports 64 bits. At this time (May 2016) there is no official OS support for 64 bits. Raspbian and Arch Linux are only available with 32 bit support. I expect that we WILL see 64 bit support sometime in the future 😉
While waiting, I looked around and found MongoDB
3.2.6 3.2.10 in the Arch Linux ARM aarch64 package repository. I also found out that the ODROID C2 single board computer supports aarch64. This SBC costs $40 and has better specs (for my DB purposes) than the R-Pi 3. It has a 4-core ARMv8 processor running at 2GHz, 2GB of RAM and gigabit ethernet. It also supports WAY fast eMMC Flash storage in addition to Micro SD. Android and Ubuntu are the officially supported OSs but Arch Linux ARM (64 bit) can be installed as well.
[UPDATE: 23 Mar 2017] If you prefer to use the default Ubuntu Linux for ODROID C2 as opposed to Arch, you can now install official MongoDB 3.4. See this blog post.