📜  SQLite 和 Cassandra 的区别

📅  最后修改于: 2021-09-14 02:03:41             🧑  作者: Mango

1. SQLite:
SQLite 是一个提供关系数据库管理系统 (RDBMS) 的软件库。它由 D. Richard Hipp 于 2000 年 8 月设计。SQLite 的设计目标是允许程序在不安装数据库管理系统 (DBMS) 或不需要数据库管理员的情况下运行。

2. 卡桑德拉:
Cassandra 是一个免费、开源、分布式、广泛的列存储、NoSQL 数据库管理系统。它由 Apache 软件基金会开发,最初于 2008 年 7 月发布。Cassandra 旨在处理跨多个商用服务器的大量数据,提供高可用性且无单点故障。 SQLite 和 Cassandra 的区别:

S.No. SQLITE CASSANDRA
1. It was developed By D. Richard Hipp in August 2000. It was developed by Apache Software foundation and released in July 2008.
2. SQLite is developed only in C language. Cassandra is also developed only in C language.
3. It is widely used in-process RDBMS. It is wide-column store based on ideas of BigTable and DynamoDB.
4. The primary database model for SQLite is RDBMS. The primary database model for Cassandra is Wide Column Store.
5. SQLite does not require a server to run. Hence, it is serverless. Server operating systems for Cassandra are BSD, Linux, OS X and Windows.
6. It supports secondary indexing. It supports secondary indexing but in a restricted way, i.e., only equality queries, not always the best performing solution.
7. SQLite provides ACID transactions. Cassandra does not provide ACID transactions.
8. It does not support any partitioning methods. In Cassandra, partitioning can be done using sharding.
9. It does not support any replication methods. It support only one replication methods – Selectable Replication Factor.
10. SQLite provides the concept of Referential Integrity and has Foreign Keys. Cassandra does not provide the concept of Referential Integrity. Hence, no Foreign Keys.
11. It supports in-memory capabilities. It does not support in-memory capabilities.