MongoDB Package ComponentsMongoDB包组件

On this page本页内容

Core Processes核心流程

The core components in the MongoDB package are:MongoDB包中的核心组件包括:

mongod, the core database process核心数据库进程
mongos the controller and query router for sharded clusters分片群集的控制器和查询路由器
mongo the interactive MongoDB Shell.交互式MongoDB Shell。

Windows ServicesWindows服务

The mongod.exe and mongos.exe describe the options available for configuring MongoDB when running as a Windows Service. The mongod.exe and mongos.exe binaries provide a superset of the mongod and mongos options.

Binary Import and Export Tools二进制导入和导出工具

mongodump provides a method for creating BSON dump files from the mongod instances, while mongorestore makes it possible to restore these dumps. bsondump converts BSON dump files into JSON.

Tools documentation migrated to MongoDB Database Tools工具文档迁移到MongoDB数据库工具

Starting in MongoDB 4.4, the documentation for these tools have been migrated to docs.mongodb.com/database-tools:从MongoDB 4.4开始,这些工具的文档已经迁移到了docs.mongodb.com/database-tools中:

For documentation on previous versions of these tools, use the version selector in the top-left corner of the web page to view the documentation for your desired MongoDB version.

Quick Links to older documentation到旧文档的快速链接

Data Import and Export Tools数据导入和导出工具

mongoimport provides a method for taking data in JSON, CSV, or TSV and importing it into a mongod instance. mongoexport provides a method to export data from a mongod instance into JSON, CSV, or TSV.

Note

The conversion between BSON and other formats lacks full type fidelity. BSON和其他格式之间的转换缺乏完整的类型保真度。Therefore you cannot use mongoimport and mongoexport for round-trip import and export operations.

Tools documentation migrated to MongoDB Database Tools工具文档迁移到MongoDB数据库工具

Starting in MongoDB 4.4, the documentation for these tools have been migrated to docs.mongodb.com/database-tools:从MongoDB 4.4开始,这些工具的文档已经迁移到了docs.mongodb.com/database-tools中:

For documentation on previous versions of these tools, use the version selector in the top-left corner of the web page to view the documentation for your desired MongoDB version.有关这些工具以前版本的文档,请使用网页左上角的版本选择器查看所需MongoDB版本的文档。

Quick Links to older documentation到旧文档的快速链接

Diagnostic Tools诊断工具

Note

Starting in version 4.0, MongoDB offers free Cloud monitoring for standalones and replica sets. 从4.0版开始,MongoDB为独立和副本集提供免费云监控For more information, see Free Monitoring.有关更多信息,请参阅免费监控

mongostat and mongotop provide diagnostic information related to the current operation of a mongod instance.

Tools documentation migrated to MongoDB Database Tools工具文档迁移到MongoDB数据库工具

Starting in MongoDB 4.4, the documentation for these tools have been migrated to docs.mongodb.com/database-tools:从MongoDB 4.4开始,这些工具的文档已经迁移到了docs.mongodb.com/database-tools中:

For documentation on previous versions of these tools, use the version selector in the top-left corner of the web page to view the documentation for your desired MongoDB version.

Quick Links to older documentation到旧文档的快速链接

Security Tools安全工具

mongoldap and mongokerberos provide a method for validating a system’s LDAP or Kerberos configuration respectively, and for testing that the authentication process for each succeeds for a given username.

GridFS

mongofiles provides a command-line interact to a MongoDB GridFS storage system.

Tools documentation migrated to MongoDB Database Tools工具文档迁移到MongoDB数据库工具

Starting in MongoDB 4.4, the documentation for this tool has been migrated to docs.mongodb.com/database-tools:从MongoDB 4.4开始,该工具的文档已迁移到docs.mongodb.com/database-tools

For documentation on previous versions of this tool, use the version selector in the top-left corner of the web page to view the documentation for your desired MongoDB version.

Quick Links to older documentation

MongoDB Compass

New in version 3.6:MongoDB is packaged with an install_compass script, which is a platform-specific installer for MongoDB Compass Community Edition.