Why is NoSQLpresent?
With the development of the Internet, when we turn a server into two servers, when we start to set up data backup, when we need to add a buffer layer, to adjust all the queries, put more hardware.
Finally, you need to slice the data across multiple clusters and refactor a lot of application logic to accommodate this segmentation. Before long, you'll find yourself constrained by the design data structures you've been months ago.
with web2.0 , the defects of relational database can not be overcome more and more obviously, the main performance is as follows.
1 , the need for high data concurrency and read-write
2 , the need for efficient storage and access to massive amounts of data.
3 , the need for high scalability and high availability of the database.
4 , and database transactional consistency requirements.
5 , Database realism and read-write time requirements.
6 , to complex SQL queries, in particular the need for associated queries.
NoSQL is a notonly SQL the abbreviation, NoSQL Do not use SQL as the query language. Its data storage may not require a fixed tabular pattern, and often avoids the use of SQL join operations, typically with horizontal extensibility features.
NoSQL history?
1. NoSQL the word first appeared in 1998 years, is Carlo Strozzi development of a lightweight, open source, not available SQL a relational database of functions.
2. In 2009, Last.fm's Johan Oskarsson launched a discussion on the distributed open source database, and Eric Evans, from Rackspace, once again proposed the NoSQL concept, when NoSQL was mostly non-relational, distributed, Database design mode is not available.
3. year trend is high, is designated as "non-relational" data storage, relative to the use of relational database, this concept is undoubtedly a new thinking injection.
what is the difference between SQL and NOSQL?
NoSQL has the following points
Advantages:
1. High concurrent Read and write
2. Massive data storage
3. High scalability
4. High Availability
Disadvantages:
5. Lack of transactional consistency
6. Lack of real-time reading and writing
7. Complex queries are not supported
NoSQL database Types
Key-value : Key means Value Key-value pairs, usually using the Hash Table to achieve
Column database: The same column data exists together
Document Type database: Key-value corresponding key-value pairs, Value as structured data Products:MongoDB
Graph Structure Database: with "graph" as the basic storage model, product: neo4j , Infogrid , InfiniteGraph
NoSQL database open source software
1 , Membase Software
2 , hypertable
3 , Apachecassandra
4 , MongoDB
what we're using here is MongoDB , the next article highlights MongoDB, and instance operations .
In layman's MongoDB (i) NoSQL origins