NoSQL databases

Benefits of NoSQL databases

Schema agnostic

Scalability Performance High availability Global availability

Types of NoSQL databases

1. Key-value store NoSQL database

Use cases: Here are some popular use cases of the key-value databases:

For storing user session data

Maintaining schema-less user profiles

Storing user preferences

Storing shopping cart data

However key-value databases are not the ideal choice for every use case when:

We have to query the database by specific data value.

We need relationships between data values.

We need to operate on multiple unique keys.

Our business needs updating a part of the value frequently.

Examples of this database are Redis, MemcacheDB and Riak.

2.Document store NoSQL database

This structured/semi-structured value is referred to as a document and can be in XML, JSON or BSON format.

Use cases: Document store databases are preferable for:

E-commerce platforms

Content management systems

Analytics platforms

Blogging platforms

Examples of document store NoSQL databases are MongoDB, Apache CouchDB and Elasticsearch.

3.Column store NoSQL database

As an example, we often access customers’ names and profile information at the same time, but not the information on their orders.

The main advantages of storing data in columns over relational DBMS are fast search/access and data aggregation.

Use cases: Developers mainly use column databases in:

Content management systems

Blogging platforms

Systems that maintain counters

Services that have expiring usage

Systems that require heavy write requests (like log aggregators)

Examples of column store NoSQL databases are Cassandra and Apache Hadoop Hbase.

4.Graph base NoSQL database

Use cases: Graph base NoSQL databases are usually used in:

Fraud detection

Graph based search

Network and IT operations

Social networks, etc

Examples of graph base NoSQL databases are Neo4j, ArangoDB and OrientDB.

最后編輯于
?著作權歸作者所有,轉載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末允悦,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌兆沙,老刑警劉巖祭埂,帶你破解...
    沈念sama閱讀 222,378評論 6 516
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異迈螟,居然都是意外死亡海渊,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,970評論 3 399
  • 文/潘曉璐 我一進店門勤婚,熙熙樓的掌柜王于貴愁眉苦臉地迎上來摹量,“玉大人,你說我怎么就攤上這事馒胆【S溃” “怎么了?”我有些...
    開封第一講書人閱讀 168,983評論 0 362
  • 文/不壞的土叔 我叫張陵国章,是天一觀的道長。 經(jīng)常有香客問我豆村,道長液兽,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 59,938評論 1 299
  • 正文 為了忘掉前任掌动,我火速辦了婚禮四啰,結果婚禮上,老公的妹妹穿的比我還像新娘粗恢。我一直安慰自己柑晒,他們只是感情好,可當我...
    茶點故事閱讀 68,955評論 6 398
  • 文/花漫 我一把揭開白布眷射。 她就那樣靜靜地躺著匙赞,像睡著了一般。 火紅的嫁衣襯著肌膚如雪妖碉。 梳的紋絲不亂的頭發(fā)上涌庭,一...
    開封第一講書人閱讀 52,549評論 1 312
  • 那天,我揣著相機與錄音欧宜,去河邊找鬼坐榆。 笑死,一個胖子當著我的面吹牛冗茸,可吹牛的內(nèi)容都是我干的席镀。 我是一名探鬼主播,決...
    沈念sama閱讀 41,063評論 3 422
  • 文/蒼蘭香墨 我猛地睜開眼夏漱,長吁一口氣:“原來是場噩夢啊……” “哼豪诲!你這毒婦竟也來了?” 一聲冷哼從身側響起麻蹋,我...
    開封第一講書人閱讀 39,991評論 0 277
  • 序言:老撾萬榮一對情侶失蹤跛溉,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體芳室,經(jīng)...
    沈念sama閱讀 46,522評論 1 319
  • 正文 獨居荒郊野嶺守林人離奇死亡专肪,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,604評論 3 342
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了堪侯。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片嚎尤。...
    茶點故事閱讀 40,742評論 1 353
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖伍宦,靈堂內(nèi)的尸體忽然破棺而出芽死,到底是詐尸還是另有隱情,我是刑警寧澤次洼,帶...
    沈念sama閱讀 36,413評論 5 351
  • 正文 年R本政府宣布关贵,位于F島的核電站,受9級特大地震影響卖毁,放射性物質發(fā)生泄漏揖曾。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 42,094評論 3 335
  • 文/蒙蒙 一亥啦、第九天 我趴在偏房一處隱蔽的房頂上張望炭剪。 院中可真熱鬧,春花似錦翔脱、人聲如沸奴拦。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,572評論 0 25
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽错妖。三九已至,卻和暖如春疚沐,著一層夾襖步出監(jiān)牢的瞬間站玄,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,671評論 1 274
  • 我被黑心中介騙來泰國打工濒旦, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留株旷,地道東北人。 一個月前我還...
    沈念sama閱讀 49,159評論 3 378
  • 正文 我出身青樓尔邓,卻偏偏與公主長得像晾剖,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子梯嗽,可洞房花燭夜當晚...
    茶點故事閱讀 45,747評論 2 361

推薦閱讀更多精彩內(nèi)容