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. IBM Db2 :
IBM 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 Derby and IBM Db2 :
|1||It is developed by Apache Software Foundation in 1997.||It is developed by IBM in 1983.|
|2||It is written in Java language.||It is written in C, C++, Assembly language, Java languages.|
|3||Server operating systems for Derby are Windows, macOs, Linux, Unix, BSD and z/OS.||Db2 server operating systems are AIX, HP-UX, Linux, Solaris, Windows and z/OS.|
|4||The primary database model for Derby is Relational DBMS.||The primary database model for IBM Db2 is Relational DBMS.|
|5||It is a open source software framework.||It is a commercial databases.|
|6||It supports only Java programming language.||It supports C, C++, Cobol, Java, Perl, PL/1, Python, R, Ruby.|
|7||It supports fine grained access rights according to SQL-standard.||It also support fine grained access rights according to SQL-standard.|
|8||It provides in-memory capabilities.||It do not provide in-memory capabilities.|