This article is a mirror article of machine translation, please click here to jump to the original article.

View: 7462|Reply: 3

MongoVE connecting to MongoDB does not show data issues

[Copy link]
Posted on 10/8/2016 12:37:29 PM | | | |
Mongodb 3.0 supports user-defined storage engines, which can be configured to use mmapv1 or wiredTiger storage engines. After version 3.2, the wiredTiger storage engine is enabled by default, and the mmapv1 storage engine was previously used. And the data file format generated by the 2 storage engines is not compatible. This means that the data file generated by the mmapv1 engine cannot be read by the wiredTiger engine.
1: If you want to know which engine MongoDB is enabled, the easiest way to view data files. The data file in the following format appears when the wiredTiger storage engine is started:
The following data format appears when the mmapv1 storage engine is launched

2: Start the wiredTiger storage engine via the command: mongod --storageEngine wiredTiger --dbpath data directory

Mongo client connection effect:

mongoVE connection effect:

3: Start the mmapv1 storage engine mongod --storageEngine mmapv1 --dbpath data directory:

mongo connection is as follows:


mongoVE connection is shown in the following image:


That's all: If there are any mistakes, please correct them.





Previous:How to check if the current mongodb has WiredTiger storage engine enabled?
Next:_id queries using MongoDB
Posted on 11/8/2017 3:20:51 PM |
Yes, I learned
Posted on 11/8/2017 3:22:19 PM |
Yes, I learned
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com