发布于 2015-09-14 15:09:24 | 94 次阅读 | 评论: 0 | 来源: 网络整理
The core components in the MongoDB package are: mongod, the core database process; mongos the controller and query router for sharded clusters; and mongo the interactive MongoDB Shell.
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.
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. The mongooplog utility provides the ability to stream oplog entries outside of normal replication.
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.
注解
The conversion between BSON and other formats lacks full type fidelity. Therefore you cannot use mongoimport and mongoexport for round-trip import and export operations.
mongostat, mongotop, and mongosniff provide diagnostic information related to the current operation of a mongod instance.
注解
Because mongosniff depends on libpcap, most distributions of MongoDB do not include mongosniff.
mongofiles provides a command-line interact to a MongoDB GridFS storage system.