MongoDB on Windows

This document describes the minimum configuration requirements when installing the MongoDB database server on a Microsoft Windows server.

Category Configuration requirements
Operating system
  • Microsoft Windows Server 2022
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2016
Note: Windows Server 2012 R2 should not be used for new installations, as:
  • Its End of Life is planned for October 10, 2023.
  • Sage stopped supporting Windows Server 2012 R2 in 2022.
  • If you are currently using Windows Server 2012 R2, you need to upgrade to Windows Server 2016, 2019, or 2022.
  • MongoDB 4.4 is not compatible with Windows Server 2012.
Server
  • Industry-standard server or virtual machine.
  • Processors:
    • Recommended: Intel® Xeon® E5 v3 or later, E7 v3 or later
    • AMD OPTERON™ or EPYC™
    • With at least one dedicated processor, or more required to sustain up to 50 concurrent users in a mono-tier architecture.
    • Avoid low energy processors, best performance with a clock speed above 2.4 GHz
  • 1 additional core recommended for every 40 sessions.
RAM
  • 2 GB for the OS + 2 to 6 GB per database instance (average) + 60 MB per connected user.
Disk space
  • 4 GB. You must add the space necessary for your own database file.
User accounts
  • Installing MongoDB requires a user account with administrator rights. This account can also be used for the software.
  • It is strongly recommended to choose a domain user. This user has to be able to:
    • Access and modify the MongoDB folder.
    • Open a session as a service.
    It is recommended to use a domain user account belonging to the local administrators group.
  • For the actual software users, it is recommended to define a user group and assign the access to the different software folders after installing the software components.
Others
  • JDK or a Java Runtime Environment version 8 must be installed.