The actual combat of mongod entry series
Niu Hengbo's DevOps perspective
about the author
Niu Hengbo, a first-line operation and maintenance person, is good at quickly realizing operation and maintenance from scratch to automation for small and medium-sized enterprises. Now works in a medical big data company.
Software related information introduction
MongoDB 是一款开源的文档数据库,并且是业内领先的 NoSQL 数据库,用 C++ 编写而成。
Package introduction
MongoDB 提供的官方支持的软件包是在自己的软件库中编译的。软件库通过软下列件包提供 MongoDB 相关软件。
- mongodb-org: This package is a metapackage (metapackage), it will automatically install the following 4 packages.
- mongodb-org-server: This package contains the mongod daemon and related configuration and initialization scripts.
- mongodb-org-mongos: This package contains the mongos daemon.
- mongodb-org-shell: This package contains mongo command line tools.
- mongodb-org-tools: This package contains the following MongoDB tools: mongoimport bsondump, mongodump, mongoexport, mongofiles, mongoimport, mongooplog, mongoperf, mongorestore, mongostat, and mongotop.
mongodb function
- Collection-oriented storage: suitable for storing objects and data in the form of JSON.
- Dynamic query: MongoDB supports rich query expressions. The query commands use JSON format tags to easily query the objects and arrays embedded in the document.
- Complete index support: including document embedded objects and arrays. MongoDB's query optimizer will analyze query expressions and generate an efficient query plan.
- Query monitoring: MongoDB package