Databases 4 min read

MySQL 5.7 Introduces Document Store: Bridging Relational and NoSQL Worlds

MySQL 5.7 adds native JSON document storage, merging relational database strengths with NoSQL flexibility, enabling developers to use a single system for both structured and document‑oriented data while preserving ACID transactions and indexing capabilities.

Java High-Performance Architecture
Java High-Performance Architecture
Java High-Performance Architecture
MySQL 5.7 Introduces Document Store: Bridging Relational and NoSQL Worlds

MySQL 5.7.12 brings a major improvement: native support for document‑oriented storage, allowing JSON documents to be stored directly in MySQL just like in MongoDB.

This change is significant because MySQL, traditionally a relational database, now incorporates NoSQL advantages, breaking the strict “relational only” paradigm.

Developers familiar with MySQL who need document storage can now use a single database instead of a MySQL + MongoDB hybrid, simplifying architecture.

MySQL implements its own document‑store protocol rather than MongoDB’s, which enables better integration with built‑in functions and transactional support, though it prevents a drop‑in migration from existing MongoDB projects.

The document store supports ACID transactions and indexing of document fields, providing consistency and easy reference for document‑based APIs.

MySQL has previously experimented with non‑relational features such as MyCached (2009), the HandlerSocket plugin (2010), and MySQL Cluster’s Memcached protocol (2011), but those were limited to key‑value interfaces.

Recognizing developers’ demand for flexible, unstructured data alongside rich structured data, MySQL 5.7 introduced the JSON document feature.

While the document store is a fresh addition and less mature than MongoDB’s long‑standing ecosystem, it offers promising integration of NoSQL capabilities within a proven relational system.

MySQL remains a strong database with mature replication and sharding, though it has been outpaced in ease‑of‑use and dynamic scaling by newer systems; the new document support is an exciting step toward broader functionality.

For more details, see the official MySQL documentation: http://dev.mysql.com/doc/refman/5.7/en/document-store.html

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

databaseJSONmysqlTransactionsNoSQLDocument Store
Java High-Performance Architecture
Written by

Java High-Performance Architecture

Sharing Java development articles and resources, including SSM architecture and the Spring ecosystem (Spring Boot, Spring Cloud, MyBatis, Dubbo, Docker), Zookeeper, Redis, architecture design, microservices, message queues, Git, etc.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.