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 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
MongoDB Database Introduction
Characteristics
For collection Storage
Rich query Statements
Replication set mechanism
Support for file storage
Mode freedom
Multilevel index
Easy Horizontal
ConceptMongoDB is a cross-platform, document-oriented database that delivers high performance, high availability, and scalability. MongoDB work in the collection and document concept.
What is NoSQL?NOSQL, the full name is not just SQL, refers to
When it comes to MongoDB's architecture, it is inevitable to compare it with relational databases. Here we take MySQL for example, we make some comparisons:From the logical structure of the comparison:
MySQL Hierarchy concept
MongoDB basic operation learning notes
Record the basic operations of MongoDB today. This is only the most basic operation, so it should be mastered.
Database
A database is a collection of physical containers. Each database has its own file system.
Some basics forget to check at any time.#整备恢复Mongodump--port 20001--authenticationdatabase=admin-u *-D lvlv-c lvlv-o/homeMongorestore--drop--host 172.16.201.74--port 20001--authenticationdatabase=admin-umgbackup-d test/tmp/liding/test
/*** MongoDB $type operator*/
/*** The $type operator is based on the Bson type to retrieve the matching data type in the collection and returns the result.* The types of MongoDB that can be used are shown in the following table:* Type Number Notes*
MongoDB is a popular document database, which has features such as easy to use, easy to expand, rich in function and excellent in performance. The MongoDB itself has a highly available and partitioned solution, which is the replica set (Replica set)
MongoDB Database InstallationMongoDB official: Https://www.mongodb.com/download-centerYou first need to choose the correct version of MongoDB based on the version of Windows to install, and you can check the Windows version by entering the following
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.