Kuppingercole SQL Vs Nosql Report
Kuppingercole SQL Vs Nosql Report
KuppingerCole Blog
SQL vs NoSQL? Why not both?
February 2022 Page 1 of 4
engine, or should you add another one into the mix: for example, to solve a scalability challenge or
simply (ha-ha!) to be able to run business analytics on live data?
Unsurprisingly, modern database vendors think about these challenges all the time and constantly work
to address them for their customers, preferably in advance. And, even less surprisingly, these
developments lead to a convergence of SQL and NoSQL databases towards a universal multi-model data
management platform.
Take MongoDB, the most popular NoSQL database platform. Over the years it has become such a de
facto standard for NoSQL that other document database engines like Amazon DocumentDB and Azure
Cosmos DB implement MongoDB APIs to allow existing apps and tools to connect to their services
instead. Developers that rely on this compatibility layer get more flexibility in choosing a more suitable
(better scalable, more integrated, or simply less expensive) alternative to MongoDB. The downside of
this approach, of course, is that not all functions of the original are implemented, and the degree of
compatibility can vary a lot across different projects. An even bigger challenge, however, is making
NoSQL instances available to 3rd party tools that expect relational data – the most common use case
being business analytics. Connecting existing BI tools to MongoDB is possible but requires additional
infrastructure to set up and operate and most often does not provide access to real-time data, resulting
in analysis of stale data.
Well, the more interesting is the latest news from Oracle – the database vendor known for not one but
two of the most popular database engines in the world. The company just announced its own
alternative for MongoDB, aptly named Oracle Database API for MongoDB. But wait, you’re probably
saying, isn’t Oracle Database a relational database? How can it possibly emulate the capabilities of a
document database like MongoDB?
Although its origins are firmly in the RDBMS camp, over the years Oracle Database has evolved into a
multi-model data management platform, with native support for JSON data model available since 2014.
Many customers have been using Oracle for their NoSQL projects for years, but now, with the new
compatibility API, this functionality can be transparently available to any existing MongoDB-compatible
application without any changes to its code. The announced API is compatible with MongoDB 4.2 and
offers support for transactions and load-balanced connections. According to Oracle, the only thing
developers need to change in their app is the database connection string.
But wait, you’re probably asking again: how exactly is it different from other compatibility APIs
mentioned above? Well, this is where the most interesting things begin… As a proper multi-model
database, Oracle Autonomous Database can transparently convert document collections to relational
data structures and vice versa. This means that it is possible to import an existing MongoDB database
into Oracle, continue running your existing app without any modifications, and get all the benefits of
SQL-based business analytics on live data. The opposite is possible, too: you can expose existing
relational data as MongoDB collections – for example, to make analytics reports available back in the
original app with no effort.
The security and compliance benefits of this approach are also worth mentioning. Since all data
previously spread across disparate data sources can now reside within a single database instance, it is
no longer exposed to various threats and risks during the ETL process. On the contrary, all the
KuppingerCole Blog
SQL vs NoSQL? Why not both?
February 2022 Page 2 of 4
enterprise-grade security features of the Oracle Autonomous Database ensure consistent protection
and compliance without the need to configure or tune them manually. Oracle’s MongoDB API is also
backed by Oracle’s native user and role management, simplifying overall access management and
governance.
So, where’s the catch? Well, the only one I can think of is that at the moment, the MongoDB API is only
available as a part of Oracle Cloud. There are no technical limitations that would prevent it from working
on-prem as well, but the company is naturally planning to use this capability to further promote its
cloud services. However, considering that Oracle’s solution claims to overcome several key technical
limitations of both the original MongoDB Atlas service and their competitors’ alternatives while
remaining more economical to use, migrating your NoSQL workloads to Oracle Cloud might not be such
an unthinkable idea at all… In fact, it could be just what developers tired of moving data from one
database to another and dealing with complex manual processes are looking for.
© 2022 KuppingerCole Analysts AG. All rights reserved. Reproduction and distribution of this publication in any form are
forbidden unless prior written permission. All conclusions, recommendations, and predictions in this document represent
KuppingerCole’s initial view. Through gathering more information and performing deep analysis, positions presented in this
document will be subject to refinements or even major changes. KuppingerCole disclaims all warranties as to the completeness,
accuracy, and/or adequacy of this information. Even if KuppingerCole research documents may discuss legal issues related to
information security and technology, KuppingerCole does not provide any legal services or advice and its publications shall not
be used as such. KuppingerCole shall have no liability for errors or inadequacies in the information contained in this document.
Any opinion expressed may be subject to change without notice. All product and company names are trademarks™ or registered®
trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
KuppingerCole Blog
SQL vs NoSQL? Why not both?
February 2022 Page 3 of 4
The Future of Information Security – Today