Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • > There are alternate query languages for relation DBs. Wouldn't this change the answer to the question to "no, they are not the same"? Logica would then be an example of NoSQL database which is relational (i.e. not non-relational). (And same for GraphDB which is non-relational, but "not NoSQL") Commented Oct 15, 2021 at 16:12
  • 2
    @Attilio Logica is a language, not a DB, and it actually compiles to SQL. The database is called BigQuery and I believe it is relational but I don't know much about it really. But the term 'NoSQL' is used for graph DBs even if they do support SQL. NoSQL is an imprecise/inaccurate term which is why I think 'non-relational' is better. Commented Oct 15, 2021 at 16:18
  • In some ways, SQL is an architecture, because it defines a lot of concepts we expect to exist in all such systems (tables, columns, result sets); those aren't quite the same as the concepts originally proposed for "relational" databases, so purists would argue that an "SQL DBMS" is not actually a "relational DBMS". I guess most "NoSQL" systems are "not even remotely relational", though, so perhaps "non-relational" does work. Commented Oct 15, 2021 at 18:00
  • @IMSoP I guess what I mean by that (other than the obvious 'L' stands for language) is that you could create a relational database and not support SQL at all. The example of BigQuery/Logica kind of falls flat because they are simply transpiling to SQL from Logica but I think it's easy to see that you could have a relational DB where you use something like Logica (i.e. a Prolog/Datalog derivative) as the primary or sole query language. The term NoSQL took off because of a backlash against SQL, which I get, but I still think it's flawed and I'm sure I'm not the only one. Commented Oct 15, 2021 at 20:16
  • @IMSoP Not trying to spam you here but I really think this article hits the nail on the head: "The main flaw of SQL, however, lies in its very limited support for abstraction." This is what, I think, is the root of the backlash against SQL and the genesis of the 'NoSQL' moniker. Commented Oct 15, 2021 at 20:21