1. Derby :
Derby is a full-featured, open-source relational database management system (RDBMS) implemented in Java and as the name suggests it is developed by Apache Software Foundations. It is based on Java, JDBC and SQL standards. Derby is easy to install, deploy, and use. It is either embedded into a Java application or used as a database server.
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 on 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 Derby and Cassandra :
|1||It is developed by Apache Software Foundation in 1997.||It is also developed by Apache Software Foundation in 2008.|
|2||It is written in Java language.||It is written in Java language.|
|3||The primary database model for Derby is Relational DBMS.||The primary database model for Cassandra is Wide Column Store.|
|4||Server operating systems for Derby are Windows, macOs, Linux, Unix, BSD and z/OS.||Cassandra server operating systems are BSD, Linux, OS X, Windows.|
|5||It have the concept of Foreign keys.||It does not have the concept of Foreign keys.|
|7||It support Master-Slave Replication methods.||It support selectable replication factor as replication methods.|
|8||APIs and other access methods used by Derby is JDBC.||APIs and other access methods used by Cassandra is Proprietary protocol, Thrift.|
|9||It is a open source software framework.||It is a open source software framework.|
|10||It supports fine grained access rights according to SQL-standard.||It supports access rights for users can be defined per object.|
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.