first, three components of the cluster:MONGOs (query routers): Queries the route, takes care of the client connection, assigns the task to shards, and then collects the results. Config server: Configures the servers, saves the metadata information
Anyone who first came into contact with MongoDB was surprised that it was greedy for memory. For the reason, let me first talk about how Linux manages memory, and then how MongoDB is.
When memory is used, the answer is clear.
It is said that
Good memory is inferior to bad blog, record, need to use directly later.
This article configured the three MongoDB in the same machine, should be put three machines, but the resources are limited, a machine will be used, the configuration of a copy
In the real world, everything has two sides, in the process of the world, and so on! Whether we are in the use of a new language, or a new technology, in the understanding of how exciting it is, make people relaxed, all of the excellent as for, it
TP already supports MongoDB database, here is a detailed description of the configuration and use of MONGO on TP.
(1) There is a bug in the original class of/think/model/mongomodel.class.php in the tp3.2.2 version. We need to add some code to the
This is a creation in
Article, where the information may have evolved or changed.
This article focuses on the use of MgO, only a simple introduction of MongoDB.
MongoDB Features
Mongdb Brief
Previous wordsThis article will describe in detail a web-based MONGODB database management tool developed with Nodejs mongo-expressInstallationFirst, the global installation of the Mongo-express packageNPM install-g mongo-expressNext, use the
Installation steps under CentOS via Yum are as follows:statement: Compared to those with the source code installed, less configuration and new log and data directory, this simple and rude, 1 , create a warehouse file, vi /etc/yum.repos.d/
Mongo server cluster configuration Learning 1. Master-slave replication is the most common and simple replication operation for MongoDB. It is often used for data backup and troubleshooting. The following figure shows the simplest server
[MongoDB] building a Mongo database replica set (similar to a cluster) on the windows platform (III), mongodbmongo
I have written two blogs about how to build a Mongo database replica set on windows.
Article 1: How to build a Mongo database replica
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.