gpt4 book ai didi

mongodb - 为什么叫NoSQL?

转载 作者:行者123 更新时间:2023-12-05 08:28:27 28 4
gpt4 key购买 nike

我最近使用了 MongoDB 并了解了它的无模式设计。但是,我对 NoSQL 一词感到困惑?为什么叫它?它不使用 SQL 或类似 SQL 的查询吗?

我还读过 article主要区别在于数据的存储方式。这是真的?在 MongoDB 的情况下,它像 JSON 文档一样存储。

此外,我很困惑为什么我总是看到“NoSQL 与关系数据库”。 NoSQL 数据库不是关系型的吗?我相信 MongoDB 中的文档仍然通过一些键相关/链接(如果我错了请纠正我)。那么为什么它被标记为非关系?

提前致谢!

最佳答案

“NoSQL”这个名字实际上是 Carlo Strozzi 在 1998 年首次使用的,作为他正在开发的基于文件的数据库的名称。具有讽刺意味的是,它是关系数据库。 Wiki

以下是名人对“nosql”的评价:

Eric Evans(rackspace):

"I've spent the last couple of days at nosqleast and one of the hot topics here is the name "nosql". Understandably, there are a lot of people who worry that the name is Bad, that it sends an inappropriate or inaccurate message. While I make no claims to the idea, I do have to accept some blame for what it is now being called. How's that? Johan Oskarsson was organizing the first meetup and asked the question "What's a good name?" on IRC; it was one of 3 or 4 suggestions that I spouted off in the span of like 45 seconds, without thinking.

My regret however isn't about what the name says, it's about what it doesn't. When Johan originally had the idea for the first meetup, he seemed to be thinking Big Data and linearly scalable distributed systems, but the name is so vague that it opened the door to talk submissions for literally anything that stored data, and wasn't an RDBMS."

Martin Fowler :

"Indeed there's often a twist in the name itself: many advocates of NoSQL say that it does not mean a "no" to SQL, rather it means Not Only SQL. On this point I think it's useful to separate an individual database from the kind of ecosystem that NoSQL advocates see as the future. When we say "x is a NoSQL database" I think it's silly to interpret NoSQL as "Not Only" because that would render the term meaningless. (You could then reasonably argue that SQL Server (say) is a NoSQL database.) So I think it's best to say a "NoSQL database" is a "no-sql" database."

关于mongodb - 为什么叫NoSQL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12907794/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com