If Not SQL, Then What?

In a recent blog post, I chided the NoSQL movement for naming itself after the absence of something. But not only is this naming approach for a broad market category rather silly, it?s also somewhat off-topic, since the story really isn?t simply about rejecting SQL. After all, the NoSQL movement essentially consists of a family of nonrelational database management systems. ?But I guess nonrelational just didn?t have the same buzziness as NoSQL.

Be that as it may, the NoSQL movement also eschews SQL itself?the venerable Structured Query Language, invented in the 1970s for relational databases and standardized in 1986. Yes, SQL is long in the tooth. It?s probably older than 90% of the people reading this post. And SQL is for relational databases. NoSQL databases are nonrelational, so we need to replace SQL. Fair enough. The question of the day, of course, is what to replace it with.

There is no shortage of contenders. Many of the NoSQL databases support their own query language, like CQL (Cassandra Query Language) for Cassandra, Pig for Hadoop, ECL (Enterprise Control Language) for HPCC, and GQL for the Google App Engine datastore. Graph databases also have their own query languages. Even though graph databases fall into the NoSQL bucket, they?re quite different from their document-centric brethren, and thus you would expect to query them differently. Graph-centric query languages include Neo4j Cypher.

But what everybody really wants is one query language to rule them all?or at least, one for the document-centric engines and one for the graph-centric alternatives. Filling this void are UnQL (pronounced uncle) and Gremlin, respectively. Couchbase, Microsoft, and SQLite are spearheading UnQL, while DEX, Infinigraph, and Neo4j are among the many names who support Gremlin. Left out in the cold as far as a standard query language, at least for now: name-value pair centric database engines like Cassandra, HBase, and Riak.

Clearly, the dust has yet to settle on the NoSQL query language marketplace. But the variety of contenders is only part of the problem. A larger issue, one the market has yet to tackle, is that most of these query language alternatives are intentionally similar to SQL. They all tend to have SELECT, INSERT, and UPDATE statements, for example, and some of them even have JOINs. The reasoning behind this approach is to support people who know SQL. Theoretically, a SQL expert would be able to transition to a NoSQL query language without much trouble.

I challenge that conclusion. Throwing out the gauntlet here?how about we create one or more NoSQL query languages that look nothing at all like SQL, but are rather designed from the ground up to support the architectural context for NoSQL databases? In other words, what should a Cloud-centric NoSQL query language look like? Perhaps we haven?t even begun to explore the true meaning of NoSQL.

?

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

positive contribution tech

Technology’s Positive Contributions to Society

Technology has and continues to improve our lives. From the business world to the world of medicine, and our day-to-day lives, you can’t go a day without interacting with at least one form of technology. While some fear technology may be going too far, there are many ways in which

How to Choose From The Best Big Data Platforms in 2023

How to Choose From The Best Big Data Platforms in 2023

As big data continues to become increasingly popular in the business world, companies are always looking for better ways to process and analyze complex data. The process critically depends on the platform that manages and analyzes the data. In this article, we will provide a guide to help you choose

Why transparent code is a good idea

Why Transparent Code is a Good Idea

Code is used to make up the apps and software we use every day. From our favorite social media platforms to our online banking services, code is the framework used to build these tools that help make our lives easier. Code is complex. Software today requires large teams of programmers

The Role of WordPress Hosting in Website Speed and Performance

The Role of WordPress Hosting in Website Performance

The term “WordPress hosting” refers to a specific type of web hosting service that offers hardware and software configurations tailored to the needs of WP sites. It’s important to remember that a WP hosting package is not required to host WordPress webpages. WP web pages are also compatible with standard

Data Privacy vs. Data Security: What you Should Know

Data Privacy vs. Data Security: What you Should Know

Data privacy and data security are often used interchangeably, but they are two completely different things. It’s important to understand the difference for anyone who handles sensitive information, such as personal data or financial records. In this article, we’ll take a closer look at data privacy vs. data security. We’ll