Oracle is unpacking a new API for its autonomous JSON database: the Oracle Database APU for MongoDB.
Oracle is introducing significant new functionality for its autonomous database. With a new API, the database specialist connects its own autonomous JSON database to MongoDB. Developers can thus access data from MongoDB databases via Oracle but the connection also works the other way around. MongoDB specialists can work from their familiar environment with data from Oracle’s databases. In this way, the company wants to prevent organizations from having to copy data to a new database.
Embracing JSON
Oracle, as a database expert, traditionally focuses primarily on relational databases. That’s also how the company’s autonomous database started. In 2020, Oracle only expanded its service with JSON support with the introduction of the autonomous JSON database. In doing so, it signaled that the database was not just for SQL specialists. Moreover, the JSON offering was competitively priced. However, not Oracle but MongoDB is the big player when it comes to non-relational databases. To make a big impact, Oracle needed to address MongoDB users in their preferred environment. That is possible with the new API.
The new functionality size analytical queries with SQL possible. Furthermore, you can connect different JSON databases with each other as well as build a bridge between JSON document data and relational data. Conversely, you can view relational data as MongoDB collections. Furthermore, Oracle supports machine learning and spatial analysis over JSON document data. The integration also means developers can work with low code through Oracle Apex.
Working with a single database
The new connectivity is available to everyone. From Oracle’s autonomous database, it is important that you set Secure access from allowed IPs and VCNs only for a JSON-centric database. That is not the default setting, but it is essential to use the API. Next, under Development in the Service console, you’ll find urls to connect to MongoDB. You build the bridge with the MongoDB tool mongosh.
When the connection is successful, you can perform most operations from the MongoDB tooling on Oracle’s standalone JSON database without any problems. Some exceptions such as management and index operations do require SQL commands. From the Oracle tooling, you can work with both JSON and SQL instructions on the same data. In other words, the new API makes it possible to use one central dataset within both the Oracle and MongoDB tooling, which is the essence of the announcement. In a blog post, Oracle itself goes into more detail.
