Storage存储

The storage engine is the primary component of MongoDB responsible for managing data. 存储引擎是MongoDB的主要组件,负责管理数据。MongoDB provides a variety of storage engines, allowing you to choose one most suited to your application.MongoDB提供了多种存储引擎,允许您选择最适合您的应用程序的存储引擎。

The journal is a log that helps the database recover in the event of a hard shutdown. 日志是一个日志,在发生硬关闭时帮助数据库恢复。There are several configurable options that allows the journal to strike a balance between performance and reliability that works for your particular use case.有几个可配置的选项可以让日志在性能和可靠性之间取得平衡,这两个选项适用于您的特定用例。

GridFS is a versatile storage system that is suited to handling large files, such as those exceeding the 16 MB document size limit.GridFS是一种多功能存储系统,适合处理大型文件,例如超过16MB文档大小限制的文件。