📅  最后修改于: 2020-11-23 08:58:58             🧑  作者: Mango
Cassandra和MongoDB都是NoSQL数据库的类型。 Cassandra是一个分布式数据库系统,旨在处理大量数据,并且以其高可伸缩性和高性能而著称。而MongoDB是面向文档的数据库,它还提供了高可伸缩性,高性能和自动缩放。
为简单起见,数据库可以分为两种类型:
虽然MongoDB以简单易用的体验而闻名,但Cassandra以易于大规模管理而闻名。
以下是它们之间的重要区别的列表:
Index | Cassandra | Mongodb |
---|---|---|
1) | Cassandra is high performance distributed database system. | MongoDB is cross-platform document-oriented database system. |
2) | Cassandra is written in Java. | MongoDB is written in C++. |
3) | Cassandra stores data in tabular form like SQL format. | MongoDB stores data in JSON format. |
4) | Cassandra is got license by Apache. | MongoDB is got license by AGPL and drivers by Apache. |
5) | Cassandra is mainly designed to handle large amounts of data across many commodity servers. | MongoDB is designed to deal with JSON-like documents and access applications easier and faster. |
6) | Cassandra provides high availability with no single point of failure. | MongoDB is easy to administer in the case of failure. |