[SQL ] 請教concept問題(RDBMS, Graph, NoSQL)

作者: AmigoSafin   2019-07-30 11:16:32
大家好,
小的初學SQL,
目前學完RDBMS, Graph and NoSQL
還是分不太清楚三者的差別
目前遇到題目是問:
A shopping cart in an e-commerce site is ideally suited for the use of a
________________ type of database..
選項有flat file DB
Graph DB (我選了 因為這次測驗範圍就是Graph DB 但被騙了...orz)
relational DB (正確答案)
non-relational
真是很瞎
因為在老師給的NoSQL講義中
寫到: building a shopping cart? think about a key-value store?
所以是因為graph DB 沒有primary and foreign keys嗎?
可是NoSQL Data model 有key-value store
覺得很沮喪 因為沒有考好...:(
向大家請益
作者: laputaflutin (很恐怖,不要問)   2019-07-30 22:18:00
其實是沒什麼營養的題目但是絕大多數來說,RDBMS的transaction成熟許多NoSQL很多時候是為了特定需求而特化
作者: nyitalumnus (阿華)   2019-09-13 11:14:00
RDBMS適合transaction. NoSql用於big data.

Links booklink

Contact Us: admin [ a t ] ucptt.com