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
相關文章
- DB2 SQL改寫DB2SQL
- 幾種常見的NO SQL DBSQL
- Azure Cosmos DB (二) SQL API 操作SQLAPI
- DB2_更新SQL欄位DB2SQL
- Introduction to A*
- SQL Anywhere db檔案損壞修復 DB檔案修復 DB資料庫修復SQL資料庫
- Introduction to Vetors
- RL Introduction
- nodejs introductionNodeJS
- 如何寫出更快的 SQL (db2)SQLDB2
- 筆記:DB常用sql列印+事務使用筆記SQL
- 如何更換Azure SQL DB blob storage credentialsSQL
- DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001DB2SQLError
- self-introduction
- HTML 01 - IntroductionHTML
- TLS 1.3 IntroductionTLS
- A gentle introduction to multithreadingthread
- FFmpeg Filtering IntroductionFilter
- Introduction to Systems Programming .
- DB2 和SQL Server自增列比較DB2SQLServer
- 為SQL Server快照snapshot DB建立login訪問SQLServer
- DB2 HADR takeover 問題 SQL1387WDB2SQL
- DUMP-CX_SY_OPEN_SQL_DB-DBSQL_DUPLICATE_KEY_ERRORSQLError
- Machine Learning-IntroductionMac
- HMAC: Introduction, History, and ApplicationsMacAPP
- 1 Introduction to the Multitenant ArchitectureNaN
- An introduction to SAP Business Workflow
- Oracle DB 相關常用sql彙總7【手工繫結sql執行計劃】OracleSQL
- Go語言 如何配製 高效能sql.DBGoSQL
- EESA01 Introduction to Environmental
- CSCI1120 Introduction to Computing
- CCIT4020 Introduction to Computer
- Oracle DB 相關常用sql彙總6[知乎系列續]OracleSQL
- [AlwaysOn] 建立SQL Server高可用性組T-SQL語法:DB_FAILOVER引數SQLServerAI
- Neural Radiance Field (NeRF): A Gentle Introduction
- CCIT4020 Introduction to Computer Programming
- CS439: Introduction to Data Science
- MA2552 Introduction to Computing (DLI)
- CPSC 219: Introduction to Computer Science II