The blog has moved Https://www.tianmingxing.com
MongoDB is an open-source, document-oriented NoSQL (not only SQL) database written using C + +, and one of the most popular NoSQL databases. NoSQL Introduction
NoSQL means "Not just SQL", is the
: Network Disk DownloadContent Introduction· · · · · ·In-depth learning MongoDB is divided into two parts, corresponding to the scaling MongoDB 50Tips and Tricks for Mongo DB developers Two, which is published by O ' Reilly Company. "In-depth
1. PreambleMongoDB is a scalable, high-performance, open-source, mode-free, document-oriented database. It is written using C + +. MongoDB contains features:
L? Collection-oriented storage: suitable for storing objects and data in JSON form.
MongoDB replica set expands to Machine shardShard Cluster Composition Description1 replset (replica set, number of data storing shards)2 mongo_config (cluster configuration center, storage metadata you can understand the mycat with various
This paper briefly introduces the sharding function of MongoDB, summarizes the shards, detailed functions, and the following articles will be introduced in succession.Sharding is a way of assigning data to multiple servers, and MongoDB uses sharding
Developers who use MongoDB should have heard of the orphan document (orphaned documents), which smelled silence and tears. This article is based on MongoDB3.0 to see how to produce a orphaned document, requires MongoDB operation mode needs to be
Install MongoDB1Import the public key used by the package management system.The Ubuntu package management tools (i.e dpkg and apt) ensure package consistency and authenticity by requiring that Dist Ributors sign packages with GPG keys. Issue the
some concepts and details of shardingPrimary ShardThere is a concept of primary and secondary in the replica set, so there is a primary concept in sharding.Any one mongodb has an unpartitioned whole DB collection in one shard. Such as.Collection1 in
MongoDB Auto-sharding solves the problem of mass storage and dynamic capacity expansion, but there are some distances from the high reliability and high availability required for the actual production environment, so there is a "Replica sets +
It is a kind of database cluster system that expands the massive data horizontally, the data table is stored on each node of sharding, and the user can easily construct a distributed MongoDB cluster by simple configuration.The data chunking of
Building MongoDB Shardshttp://gong1208.iteye.com/blog/1622078Sharding Shard ConceptIt is a kind of database cluster system that expands the massive data horizontally, the data table is stored on each node of sharding, and the user can easily
The performance test of MONGODB billion data volume was carried out, and the following items were tested:(All inserts are single-threaded and all reads are multithreaded)1) Normal insertion performance (the inserted data is about 1KB per piece)2)
ObjectiveMongoDB the version of the database is 3.0.7. Record in the use of MongoDB database encountered a variety of problems, is currently encountered a collation, no classification, and so many times, sorting out a bit.1. Authentication fails
Introduction to ShardsSharding is a method of using multiple machines to store data, and MongoDB uses shards to support huge amounts of data storage and manipulation of data.Purpose of ShardingHigh data volume and throughput of the database
First select a directory in which to create the following 2 folders: Data and logCreate 9 folders under Data:The first 3 is the configuration server folder, according to the official website requirements, a cluster requires 3 Config serverRs-a-n and
MongoDB 3.0 was officially released on March 3, 2015. It is no exaggeration to say that this version of the new feature marks MongoDB This typical NoSQL database has entered a new stage of development.New features in version 3.0:Plug-in storage
1. Db.serverstatus () See Shard Performance InformationDb.serverstatus (). connections; Shards view the number of client connections, Mongod and MONGOs connections are long connections"Connections": {"Current": 737,--the currently active connection
MongoDB log switching (RotateLogFiles) Practice 1. In mongoshell, run the logRotate command: useadmindb. runCommand ({logRotate: 1}) and run it on mongos, mongod, and configserver. A) Run: mongolocalhostadmin-eval "dbo. runComma" in
MongoDB basic (5) backup restoration and Export Import
The original snapshot of the operating system is used for Backup and restoration. After the Backup is successful, the restoration fails (see Backup and Restore with Filesystem Snapshots)
So this
In this blog, we mainly discuss blog management. Since we have already written detailed examples in the previous five articles, we will not illustrate them here. 1. Monitoring of sharded clusters is a complex component of the entire system.
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.