📜  ToroDB和YugabyteDB之间的区别

📅  最后修改于: 2021-08-24 08:21:21             🧑  作者: Mango

1. ToroDB:
它是与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.