日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

Why NoSQL?

發(fā)布時間:2024/4/17 数据库 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Why NoSQL? 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

NoSQL 是為了解決RDBMS的3大問題:

1、可擴展性:比如跨不同機器對數(shù)據(jù)進行分區(qū)的能力。

2、提高性能:在某些情況下,RDBMS的性能比較低。

3、固定的Schema:RDBMS有很多好處(參照完整性,關(guān)系,觸發(fā)器等等),但是強迫你把所有數(shù)據(jù)存儲在一個固定的模式下(Schema)。

基本來說有幾種不同類型的NoSQL數(shù)據(jù)庫:

1、Key-Value:如Scalaris, Tokio Cabinet, Voldemort;

  store data in key/value pairs: very efficient for performance and higly scalable, but difficult to query and to implement real world problems

2、Tabular:如Cassandra, Hbase, Hypertable, Google Bigtable;

  store data in tabular structures, but columns may vary in time and each row may have only a subset of the columns

3、Document-Oriented:如CouchDb, MongoDb, Riak, Amazon SimpleDb;

  like Key/Value but they let you nest more values for a key. This is a nice paradigm for programmers as it becomes easy, specially with script languages (Python, Ruby, PHP...), to implement a one to one mapping relation between the code objects and the objects (documents) in the database

4、Graph:如Neo4J, InfoGrid, AllegroGraph;

  stores objects and relationships in nodes and edges of a graph. For situations that fit this model, like hierarchical data, this solution can be much much faster than the other ones.

?

MongoDb is a document oriented NoSQL database. With such a database it is very easy to map the programming objects (documents) we want to store to the database. JSON is a very viable standard to do this mapping, and so MongoDb does: it stores JSON documents in the database.

To makes performance better JSON is stored by MongoDb in a efficient binary format called BSON. BSON is a binary serialization of JSON-like documents and stands for Binary JSON.

?

http://www.rackspace.com/blog/nosql-ecosystem/

轉(zhuǎn)載于:https://www.cnblogs.com/winson/p/3270104.html

總結(jié)

以上是生活随笔為你收集整理的Why NoSQL?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。