No Sql Db Introduction
Summary :
1.Developers are working with new data types :
structured, semi-structured, unstructured and polymorphic data and massive volumes of it.
2.Now small teams work in agile sprints, iterating quickly and pushing code every week or two, even every day.
3.easy to apply agility interating , that is , code and test,before db design ,we have to start coding for key scenarios and do interating.
4.better scalable and performance
5.auto share ,work well in distribute deploy scenarios .
Go in details
Data Storage .
RMDB store row & column
For No Sql DB
document model : a structure like JSON .
Example :{
FirstName: "Jonathan",
Address: "15 Wanamassa Point Road",
Children: [
{Name: "Michael", Age: 10},
{Name: "Jennifer", Age: 8},
{Name: "Samantha", Age: 5},
{Name: "Elena", Age: 2}
]
}
product: MongoDB and CouchDB
graph model : store data in a graph structure.
Graph databases are useful in cases where relationships are core to the application, like social networks.
note(properties)->relation(do)->note(properties)
relation is just like FK in RMDB , that used to find another record , but defferent is in Graph model , no cross join happen , get better performance , can directly find the node .
Product: Neo4j and HyperGraphDB.
Key-value model :
Every item in the database is stored as an attribute name, or key,
together with its value. The value, however, is entirely opaque to the system; data can only be queried by the key. This model can be useful for representing polymorphic and unstructured data, as the database does not enforce a set schema across key-value pairs.
Product: Riak and Redis (Key-Value)
Query Model .
Document Model db :
it is important to have the ability to query based on several different values in each record. For instance, an application that stores dataabout customers may need to look up not only specific customers, but also specific companies, or customers by a certain deal size, or aggregations of customer types by zipcode or state.
In MongoDB, provide a rich set of indexing options to optimize a wide variety of queries, including compound indexes, sparse indexes, time to live (TTL) indexes,unique indexes, text indexes, geospatial indexes and
others.
Graph db :
These systems tend to provide rich query models where simple and complex relationships can be interrogated to make direct and indirect inferences about the data in the system. Relationship-type analysis
tends to be very efficient in these systems, whereas other types of analysis may be less optimal.
Key-Value db:
These systems provide the ability to retrieve and
update data based only on a primary key
data consistency .
NoSQL systems typically maintain multiple copies of the data for availability and scalability purposes. In these architectures, there different guarantees regarding the consistency of the data across copies.
NoSQL systems tend to be consistent or eventually consistent.
Resource
MongoDB Enterprise Download : mongodb.com/download
相關文章
- Introduction to SQL Tuning Advisor zt自ITPUBSQL
- (1) Introduction to SQL*Net/Net8 on UNIX [ID 16652.1]SQL
- DB2 SQL改寫DB2SQL
- DB2 SQL命令小集DB2SQL
- Introduction to AlgorithmGo
- Introduction to GitGit
- RL Introduction
- DB2_更新SQL欄位DB2SQL
- 幾種常見的NO SQL DBSQL
- DB2 PL/SQL Example: RunstatsDB2SQL
- 匯出db link的SQLSQL
- TLS 1.3 IntroductionTLS
- nodejs introductionNodeJS
- Chapter 1:IntroductionAPT
- Introduction to Partitioning
- Hadoop IntroductionHadoop
- Introduction to Databases and MySQLDatabaseMySql
- Oracle RAC introductionOracle
- HTML 01 - IntroductionHTML
- Introduction to Vetors
- Azure Cosmos DB (二) SQL API 操作SQLAPI
- DB2 PL/SQL Example: Sleep ProcedureDB2SQL
- 低效sql導致DB負載很高SQL負載
- SQL Anywhere db檔案損壞修復 DB檔案修復 DB資料庫修復SQL資料庫
- db_cache hitratio sql and v$db_cache_advice and create table with storageSQL
- Introduction of DataGuard protection mode
- A re-introduction to JavaScriptJavaScript
- [zz]android introductionAndroid
- Introduction to Index Segments (24)Index
- FFmpeg Filtering IntroductionFilter
- 如何寫出更快的 SQL (db2)SQLDB2
- 筆記:DB常用sql列印+事務使用筆記SQL
- 如何更換Azure SQL DB blob storage credentialsSQL
- DB2 SQL之行合併(連線)DB2SQL
- DB2 SQL複製知識點DB2SQL
- DB2 PL/SQL Example: bonus_increaseDB2SQL
- DB2 用到的基本SQL語句DB2SQL
- ORACLE和SQL SERVER,DB2對比OracleSQLServerDB2