What is a shardHigh data volume and throughput of the database application will be more pressure on the performance of the single machine, large query volume will be a single CPU exhausted, large amount of data on the single-machine storage pressure,
InstallationFirst, the TAR package to install1. Baidu Network disk http://pan.baidu.com/s/1FOH2m2.https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgzSecond, the Yum source for installationConfigure the Package management system (yum).
One. MongoDB Insert Document Insert () methodTo insert data into a MongoDB collection, you need to use the MongoDB Insert () or Save () method.GrammarThe basic syntax for the Insert () command is as follows:>db. Collection_name.insert
Original link http://www.cnblogs.com/zhangzili/p/4975080.htmlMongoDB knowledge points at a glance1. Start the MongoDB database:Go to the MongoDB installation directory and execute the following commandC:\Program
MongoDB Quick Start1. MongoDB Introduction
MongoDB is a cross-platform NoSQL document-type database that stores data in the form of Key_Value pairs.
NoSQL (not only SQL) databases generally refer to non-relational databases.1.1 features of NoSQL
MongoDB Data Replication shard
I. MongoDB introduction:
MongoDB is a high-performance, open-source, and non-pattern document-based database. It is a popular NoSql database. It can be used in many scenarios to replace traditional relational databases
1. shardingConcept: In MongoDB There is another cluster, that is, sharding technology, can meet the needs of a large number of MONGODB data volume growth.When MongoDB stores massive amounts of data, a machine may not be enough to store data enough
An overview of the MONGODB replication setA replica set is an additional copy of the data that is the process of synchronizing data across multiple servers, providing redundancy and increasing data availability through a replica set to recover from
Insert Document: Insert () method
To insert data into the MongoDB collection, you need to use the MongoDB Insert () or Save () method.
Grammar:
The basic syntax for the Insert () command is as follows:
>db. Collection_name.insert
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.