📜  ToroDB 和 YugabyteDB 的区别

📅  最后修改于: 2021-09-15 01:21:05             🧑  作者: Mango

1.托罗数据库:
它是一个兼容 MongoDB 的 JSON 文档存储,建立在 PostgreSQL 之上,它是一种旨在填补面向文档和 SQL 数据库之间差距的技术。它是一个开源 NoSQL 数据库,运行在与 MongoDB 协议和 API 兼容的 RDBMS 之上。 ToroDB 是一个开源项目,它读取 NoSQL 文档,自动推断其结构,并将其转换为一组表和列,这些表和列将数据表示为关系形式。

2. YugabyteDB:
它是一个高性能、云原生、开源的分布式 SQL 数据库全球分布式文档存储。 YugabyteDB 旨在使应用程序变得敏捷。 Yugabyte 总部位于加利福尼亚州桑尼维尔。它是作为 Apache 2.0 开源项目分发和开发的。

YugabyteDB 和 ToroDB 的区别:

S.No. ToroDB YugabyteDB
1 Developed by 8Kdata and initially released on 2016. Developed by Yugabyte Inc. and initially released on 2017. Current release on March 2020.
2 All OS with a Java 7 VM is server, operating systems of ToroDB. Linux, OS X are server operating systems of YugabyteDB .
3 Primary database model is Document store. Primary database model is Relational DBMS.
4 Absence of Secondary database models in ToroDB . Secondary database models is Document store and Wide column store.
5 Absence of any supported programming languages. C, C#, C++, Go, Java, JavaScript (Node.js), Python, Ruby are supporting programming languages.
6 Absence of APIs and other access methods in ToroDB. YCQL, an SQL-based flexible-schema API with its roots in Cassandra Query Language, APIs and other access methods.
7 It has schema-free Data Schema. Data scheme is depending on used data model.
8 Its Implementation language is Java. Implementation language of YugabyteDB is  C and C++.
Absence of Transaction concepts in ToroDB. Distributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture is Transaction concepts.
10 Master-slave replication methods in ToroDB. Replication methods is based on Raft distributed consensus protocol, minimum 3 replicas for continuous availability.
11 It has Eventual Consistency and Immediate Consistency concept. Strong consistency on writes and tunable consistency on reads is consistency concept in YugabyteDB.
12 It has no concept of Foreign keys. But it has concepts of Foreign keys.