ToroDB: NoSQL & relational Java database with SQL analytics
summary
ToroDB is an open source Java DB that maps MongoDB protocol to PostgreSQL, transforming JSON documents into multiple immutable relational tables plus a lightweight structure table stores schema once, so repeated schema overhead disappears. It uses Netty and RxJava, is ~70k LOC, and supports replicating from MongoDB secondaries. On a 65 GB Amazon reviews set it shrinks storage to ~29% of MongoDB and runs aggregate queries on Greenplum in ~35s versus ~1,000s in MongoDB, enabling SQL analytics and real-time replication.
AI-written summary · about
chapters (9)
- 0:00Introduction to ToroDB
- 3:20Bridging NoSQL and SQL
- 10:34Architecture and Design
- 14:35Data Mapping Explained
- 24:41Java Ecosystem and Modularity
- 30:12Advantages over MongoDB
- 37:22Consistency and Atomic Reads
- 46:27Replication and Scalability
- 54:43Performance and Future Outlook








