Skip to content
Related Articles

Related Articles

Difference between SQLite and Cassandra

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 23 Jun, 2020

1. SQLite :
SQLite is a software library that provides a relational database management system (RDBMS). It was designed by D. Richard Hipp in August 2000. The design goals of SQLite were to allow the program to be operated without installing a database management system (DBMS) or requiring a database administrator.

2. Cassandra :
Cassandra is a free and open-source, distributed, wide column store, NoSQL database management system. It was developed by Apache Software Foundation and initially released in July 2008. Cassandra is designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.

Difference between SQLite and 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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!