1. 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.
2. IBM Db2 :
Db2 is a family of data management products, including database servers, developed by IBM. It is a Relational Database Management System (RDBMS) which supports object-oriented features and non relational structure with XML. Db2 is designed to store, analyze and retrieve the data efficiently. It was initially released in 1983 and is written in C, C++, Java and Assembly language.
Difference between Cassandra and IBM Db2 :
|1.||It was developed by Apache Software Foundation and released in July 2008.||It was developed by IBM and initially released in 1983.|
|2.||Cassandra is written only in Java language.||Db2 is written in C, C++, Assembly language, Java languages.|
|3.||The primary database model for Cassandra is Wide Column Store.||The primary database model for Db2 is Relational DBMS.|
|4.||Cassandra does not support XML data format.||Db2 supports XML data format.|
|5.||Secondary indexes in Cassandra are restricted.||Db2 supports the secondary indexes without any restrictions.|
|6.||Cassandra does not provide ACID transactions .||Db2 provides ACID transactions.|
|7.||Cassandra is free of data schema.||In Db2 data schema is fixed.|
|8.||Cassandra supports Map Reduce method.||Db2 does not support of Map Reduce method.|
|9.||Cassandra does not have the concept of Foreign keys.||Db2 has the concept of Referential Integrity and Foreign keys.|
|10.||Server operating systems for Cassandra are BSD, Linux, OS X, and Windows.||Server operating systems for Db2 are AIX, HP-UX, Linux, Solaris, Windows and z/OS.|
|11.||Some companies like Hulu, Instagram, Intuit, Netflix, Reddit, etc use Cassandra.||Some companies like JPMorgan Chase, Bank of America, Scotiabank, Citi, etc use Db2.|
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.