My opinion on the Mongodb--metadata

Source: Internet
Author: User
Tags mongodb
MongoDB Storage Engine

When it comes to MongoDB's metadata information, first introduce the storage category of MongoDB. mongoDB3.2.4 Support 5 kinds: Wiredtiger (default) MMAPv1 inmomery Encrypted 3rd party Engine metadata Information

From the file construct, the MongoDB metadata includes:
Collection namespace Index namespace $freelist

1 and 2 see name, focus on $freelist, which is stored in the deleted collection and index information.


From a functional standpoint, the MongoDB metadata includes:

1. Mapping relationship between Shard key and chunk range key

2. The mapping relationship between chunk and data key.

This information is stored in the config server. The general user's request comes over, after router server (mongos) gets metadata, carries on the resolution, starts addressing, makes the target data the mapping address, finally can the data to carry on the enhancement check.

PS: Originally painted a picture, the company can not upload pictures, later to add.




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.