MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era.
Command Line
Download Links For Version 8.0.9
Download Links For Version 8.0.8
Download Links For Version 8.0.6
Download Links For Version 8.0.5
Download Links For Version 6.0.6
Download Links For Version 6.3.0
Download Links For Version 6.0.5
Download Links For Version 6.0.1
Download Links For Version 6.0.0
Download Links For Version 5.3.2
Download Links For Version 5.3.1
Download Links For Version 5.2.1
Download Links For Version 5.2.0
Download Links For Version 5.1.0
Download Links For Version 5.0.4
Download Links For Version 5.0.2
Download Links For Version 5.0.1
Download Links For Version 5.0.0
Download Links For Version 4.4.6
Download Links For Version 4.4.5
Download Links For Version 4.4.4
Download Links For Version 4.4.3
Download Links For Version 4.2.8
Download Links For Version 7.0.11
Download Links For Version 7.0.12
Download Links For Version 7.0.14
Download Links For Version 7.0.9
Download Links For Version 8.0.0
Download Links For Version 8.0.1
Download Links For Version 8.0.3
Download Links For Version 8.0.4
by 10gen, Inc
MongoDB is a document database which belongs to a family of databases called NoSQL — not only SQL
Operating system: Windows
Publisher:
10gen, Inc
Antivirus check: passed
Report a Problem
MongoBD is a fairly young but promising DRR. It combines the qualities of simple databases that do not use SQL queries (NoSQL-DBMS) and powerful databases with the maximum set of functions. It is reported that MongoBD should become a bridge between the two main types of databases. MongoBD is used by MTV, CNN, New York Times, and other well-known companies and institutions. The MongoBD language is the most popular C++ language. Type — an open source, document-based DBMS that is not a relational database. One of the most useful qualities is automatic segmentation of documents by replicas. The segment key is used for this purpose.
Among the advantages we can also note the less demanding attitude to computational resources due to the minimalization of the system semantics. This also simplifies horizontal scaling. It increases performance, makes it easier to manage the base. Naturally, there are also disadvantages, especially given the young age of the base. If a size limit is set and you want to update a document that is larger than the previous version, it will simply not be updated. The system uses large volumes on the hard disk drive — the largest number of DRRs. To work with data whose size is more than 4 GB you need 64-bit servers. Updating is carried out in such a way that if the process is interrupted for any reason, some documents will not be updated. However, MongoBD appears to be a very promising program aimed at the future. The system is constantly updated, minor errors and bugs are fixed. This DBMS will be interesting for those who need a compromise between the power of SQL-bases and the speed of the simplest systems.
One main benefit of using MongoDB is its ability to seamlessly handle large volumes of data while maintaining speed and performance.
— the size of the collection may be forcibly limited to a specific size, and if that size is exceeded, the old information will be deleted;
— requests can be written in JavaScript;
— Journaling and two types of asynchronous replications are supported;
— Automatic segmentation of documents by range;
— Full support for full-text search in many languages, including Russian.
Supports a flexible data model with no complex joins.
Scalable and offers high performance.
Provides horizontal scalability, replication, and high availability.
Lacks traditional SQL support, reducing query and transaction flexibility.
Not ideal for complex transactions due to no multi-document ACID transactions.
Limited data security, with weak encryption in its community edition.
Noah
Fri, Feb 9, 2024
MongoDB Consulting Services provides support for migrating, managing and optimizing MongoDB environments. It has a team of experts available to assist with configuring, fine tuning and mentoring your teams on utilizing MongoDB.
👨💻️ USER REVIEWS AND COMMENTS 💬
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Christopher
The Easiest Way to Deploy, Operate, and Scale MongoDB in the Cloud in Just a Few Clicks
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Evan
Brilliant if you are running a small non-relational database and want it on a server. It was easy to use, not much coding experience is required because its not as complex as a SQL database. The install was really easy and quick and the transfer of my database to this one was simple and easy. Runs really smooth, no errors. I would highly recommend this software.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Connor S.
MongoDB is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schema. MongoDB is developed by MongoDB Inc. and is free and open-source, published under a combination of the GNU Affero General Public License and the Apache License.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Murray R*******l
I have been using MongoDB for a few months now and I have to say I am impressed. It is extremely easy to set up and use, yet offers powerful features like sharding and data replication. The query language is also very intuitive and I find myself able to quickly build complex queries to retrieve the data I need. I really like that I can quickly and easily store and query large datasets with MongoDB. Additionally, it has a great support system with many helpful resources. So far, I have found MongoDB to be an excellent choice for my current project.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Aiden Piver
I’ve been using MongoDB for a few months now and I have to say, it’s been pretty great so far. It’s easy to set up and use and it’s incrediably flexibile when it comes to working with data.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
David N******x
This software is a document-oriented database program that uses dynamic schemata to store data. It allows for easy scalability and flexibility in data organization, as well as supports various programming languages. Its features include automatic sharding, ad-hoc queries, and indexing. Additionally, it provides high availability and horizontal scaling, making it ideal for large-scale applications.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Jaxon V.
MongoDB software is a NoSQL database management system that is designed for scalability and flexibility.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Leo
A flexible, powerful database tool with a steep learning curve.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Jamie
Efficient, scalable, flexible for complex data management.
Open source personalized learning environment with options for integration with other products
Supports all major operating systems successfully
Accessing the restricted internet content, secure your online activities, and surf anonymously with KeepSolid VPN Unlimited
Freeware viewer editor for windows
A media server that enables sharing of media content between connected devices
MongoDB README
Welcome to MongoDB!
Components
mongod
— The database server.mongos
— Sharding router.
Download MongoDB
- https://www.mongodb.com/try/download/community
- Using homebrew
brew tap mongodb/brew
- Using docker image
docker pull mongo
Download the MongoDB Shell
- https://www.mongodb.com/try/download/shell
- Using homebrew
brew install mongosh
Building
See Building MongoDB.
Running
For command line options invoke:
$ ./mongod --help
To run a single server database:
$ sudo mkdir -p /data/db $ ./mongod $ $ # The mongosh shell connects to localhost and test database by default: $ ./mongosh test> help
Installing Compass
You can install compass using the install_compass
script packaged with MongoDB:
$ ./install_compass
This will download the appropriate MongoDB Compass package for your platform
and install it.
Drivers
Client drivers for most programming languages are available at
https://docs.mongodb.com/manual/applications/drivers/.
Bug Reports
See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.
Packaging
Packages are created dynamically by the buildscripts/packager.py script.
This will generate RPM and Debian packages.
Learn MongoDB
- Documentation — https://docs.mongodb.com/manual/
- Developer Center — https://www.mongodb.com/developer/
- MongoDB University — https://learn.mongodb.com
Cloud Hosted MongoDB
https://www.mongodb.com/cloud/atlas
Forums
-
https://mongodb.com/community/forums/
Technical questions about using MongoDB.
-
https://mongodb.com/community/forums/c/server-dev
Technical questions about building and developing MongoDB.
LICENSE
MongoDB is free and the source is available. Versions released prior to
October 16, 2018 are published under the AGPL. All versions released after
October 16, 2018, including patch fixes for prior versions, are published
under the Server Side Public License (SSPL) v1.
See individual files for details which will specify the license applicable
to each file. Files subject to the SSPL will be noted in their headers.
Обновлено
Совместимость
Windows 7, Windows 8, Windows 10
Описание
MongoDB предоставляет пользователям систему NoSQL-базы данных документов, преимущества которой включают масштабируемость (способность обрабатывать большие наборы данных) и динамическое структурирование схем, что позволяет изменять содержимое базы данных без задержек.
Особенности
В отличие от реляционных баз данных, эта основана не на таблицах, а опирается на модель документа, работающую с JSON, имеющим динамическую структуру, в формате BSON. Ее динамическая архитектура обеспечивает быстрое и удобное изменение схемы данных, а также позволяет выполнять все основные задачи, такие как управление записями, выполнение запросов, манипулирование и индексация данных.
Благодаря богатому набору функций MongoDB может быть легко развернута в любой производственной среде, независимо от ее сложности, без ущерба для производительности, надежности и гибкости.
Такой подход делает данное ПО подходящим для бизнес-среды, позволяя пользователям разрабатывать всевозможные приложения, которые работают с большими объемами данных, такие как облачные сервисы или веб-приложения, системы управления контентом, концентраторы данных, пользовательские программы управления данными и многие другие.
Версии
- Install MongoDB >
- Install MongoDB Community Edition >
- Install MongoDB Community Edition on Windows
On this page
- Overview
- Considerations
- Install MongoDB Community Edition
- Run MongoDB Community Edition as a Windows Service
- Run MongoDB Community Edition from the Command Interpreter
- Additional Considerations
Important
MongoDB 5.3 binaries are currently available only as
release candidates. Release candidates can be used for early
testing of new features, but are not suitable for production
deployments.
This version of the manual is for an upcoming release and is
currently a work in progress.
Overview¶
Use this tutorial to install MongoDB 5.0 Community Edition on
Windows using the default installation wizard.
MongoDB Version¶
This tutorial installs MongoDB 5.0 Community
Edition. To install a different version of MongoDB Community,
use the version drop-down menu in the upper-left corner of this page to
select the documentation for that version.
Installation Method¶
This tutorial installs MongoDB on Windows using the default MSI
installation wizard. To install MongoDB using the msiexec.exe
command-line tool instead, see Install MongoDB using msiexec.exe. The
msiexec.exe
tool is useful for system administrators who wish to
deploy MongoDB in an unattended fashion using automation.
Considerations¶
Platform Support¶
MongoDB 5.0 Community Edition supports the following
:red:`64-bit` versions of Windows on
x86_64 architecture:
- Windows Server 2019
- Windows 10 / Windows Server 2016
MongoDB only supports the 64-bit versions of these platforms.
See prod-notes-supported-platforms for more information.
Virtualization¶
Oracle offers experimental support
for VirtualBox on Windows hosts where Hyper-V is running. However,
Microsoft does not support VirtualBox on Hyper-V.
Disable Hyper-V if you want to install MongoDB on Windows using VirtualBox.
Production Notes¶
Before deploying MongoDB in a production environment, consider the
Production Notes document which offers
performance considerations and configuration recommendations for
production MongoDB deployments.
Install MongoDB Community Edition¶
Procedure¶
Follow these steps to install MongoDB Community Edition using the
MongoDB Installer wizard. The installation process installs both the
MongoDB binaries as well as the default configuration file <install
.
directory>\bin\mongod.cfg
Download the installer.¶
Download the MongoDB Community .msi
installer from the following
link:
➤ MongoDB Download Center
- In the Version dropdown, select the version of
MongoDB to download. - In the Platform dropdown, select Windows.
- In the Package dropdown, select msi.
- Click Download.
Run the MongoDB installer.¶
For example, from the Windows Explorer/File Explorer:
- Go to the directory where you downloaded the MongoDB installer (
.msi
file).
By default, this is yourDownloads
directory. - Double-click the
.msi
file.
Follow the MongoDB Community Edition installation wizard.¶
The wizard steps you through the installation of MongoDB and MongoDB
Compass.
-
- Choose Setup Type
-
You can choose either the Complete (recommended for
most users) or Custom setup type. The
Complete setup option installs MongoDB and the
MongoDB tools to the default location. The Custom
setup option allows you to specify which executables are
installed and where.
-
- Service Configuration
-
Starting in MongoDB 4.0, you can set up MongoDB as a Windows service
during the install or just install the binaries.- MongoDB Service
- MongoDB
The following installs and configures MongoDB as a Windows
service.Starting in MongoDB 4.0, you can configure
and start MongoDB as a Windows service during the install, and
the MongoDB service is started upon successful
installation.-
Select Install MongoD as a Service MongoDB as a service.
-
Select either:
-
Run the service as Network Service user (Default)
This is a Windows user account that is built-in
to Windowsor
-
Run the service as a local or domain user
- For an existing local user account, specify a
period (i.e..
) for the Account
Domain and specify the Account Name and
the Account Password for the user. - For an existing domain user, specify the
Account Domain, the
Account Name and the
Account Password for that user.
- For an existing local user account, specify a
-
-
Service Name. Specify the service
name. Default name isMongoDB
. If you already
have a service with the specified name, you must
choose another name. -
Data Directory. Specify the data
directory, which corresponds to the
--dbpath
. If the
directory does not exist, the installer will
create the directory and sets the directory access
to the service user. -
Log Directory. Specify the Log
directory, which corresponds to the
--logpath
. If the
directory does not exist, the installer will
create the directory and sets the directory access
to the service user.
The following installs MongoDB only and does not
configure MongoDB as a Windows service.If you choose not to configure MongoDB as a Windows service,
uncheck the Install MongoD as a Service.
-
- Install MongoDB Compass
-
Optional. To have the wizard install MongoDB Compass, select
Install MongoDB Compass (Default).
-
When ready, click Install.
If You Installed MongoDB as a Windows Service¶
The MongoDB service starts upon successful installation. Configure the
MongoDB instance with the configuration file
<install directory>\bin\mongod.cfg
.
If You Did Not Install MongoDB as a Windows Service¶
If you only installed the executables and did not install MongoDB as a
Windows service, you must manually start the MongoDB instance.
See Run MongoDB Community Edition from the Command Interpreter for instructions to start a MongoDB
instance.
Run MongoDB Community Edition as a Windows Service¶
Starting in version 4.0, you can install and configure MongoDB as a
Windows Service during installation. The MongoDB service
starts upon successful installation. Configure the MongoDB instance
with the configuration file
<install directory>\bin\mongod.cfg
.
If you have not already done so, follow the
mongosh installation instructions to download and
install the MongoDB Shell (mongosh).
Be sure to add the path to your mongosh.exe
binary to your
PATH
environment variable during installation.
Open a new Command Interpreter and enter mongosh.exe
to connect to MongoDB.
For more information on connecting to a mongod
using
mongosh.exe, such as connecting to a MongoDB instance
running on a different host and/or port, see
Connect to a Deployment.
For information on CRUD (Create, Read, Update, Delete) operations,
see:
- Insert Documents
- Query Documents
- Update Documents
- Delete Documents
Start MongoDB Community Edition as a Windows Service¶
To start/restart the MongoDB service, use the Services console:
- From the Services console, locate the MongoDB service.
- Right-click on the MongoDB service and click Start.
Stop MongoDB Community Edition as a Windows Service¶
To stop/pause the MongoDB service, use the Services console:
- From the Services console, locate the MongoDB service.
- Right-click on the MongoDB service and click Stop (or Pause).
Remove MongoDB Community Edition as a Windows Service¶
To remove the MongoDB service, first use the Services console to stop
the service. Then open a Windows command prompt/interpreter (cmd.exe
) as an Administrator, and
run the following command:
Run MongoDB Community Edition from the Command Interpreter¶
You can run MongoDB Community Edition from the Windows command prompt/interpreter (cmd.exe
) instead of as a service.
Open a Windows command prompt/interpreter (cmd.exe
) as an Administrator.
Important
You must open the command interpreter as an
Administrator.
Create database directory.¶
Create the data directory where MongoDB stores data.
MongoDB’s default data directory path is the absolute path
\data\db
on the drive from which you start MongoDB.
From the Command Interpreter, create the data directories:
Start your MongoDB database.¶
To start MongoDB, run mongod.exe
.
"C:\Program Files\MongoDB\Server\5.0\bin\mongod.exe" --dbpath="c:\data\db"
The --dbpath
option points to your
database directory.
If the MongoDB database server is running correctly, the
Command Interpreter displays:
[initandlisten] waiting for connections
Important
Depending on the
Windows Defender Firewall
settings on your Windows host, Windows may display a
Security Alert dialog box about blocking
“some features” of C:\Program Files\MongoDB\Server\5.0\bin\mongod.exe
from communicating on networks. To remedy this issue:
- Click Private Networks, such as my home or work
network. - Click Allow access.
To learn more about security and MongoDB, see the
Security Documentation.
Additional Considerations¶
Localhost Binding by Default¶
By default, MongoDB launches with bindIp
set to
127.0.0.1
, which binds to the localhost network interface. This
means that the mongod.exe
can only accept connections from
clients that are running on the same machine. Remote clients will not be
able to connect to the mongod.exe
, and the mongod.exe
will
not be able to initialize a replica set unless this value is set
to a valid network interface.
This value can be configured either:
- in the MongoDB configuration file with
bindIp
, or - via the command-line argument
--bind_ip
For more information on configuring bindIp
, see
IP Binding.
Point Releases and .msi
¶
If you installed MongoDB with the Windows installer (.msi
), the
.msi
automatically upgrades within its release series (e.g. 4.2.1 to 4.2.2).
Upgrading a full release series (e.g. 4.0 to 4.2) requires a new
installation.
Add MongoDB binaries to the System PATH¶
If you add C:\Program Files\MongoDB\Server\5.0\bin
to your
System PATH
you can omit the full path to the MongoDB Server
binaries. You should also add the path to mongosh if you
have not already done so.