Difference between SQLite and Cassandra

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.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.