1. Oracle :
Oracle is a relational database management system (RDBMS). It was developed by Oracle Corporation in 1980. It is the first database designed for grid computing that provides the most flexible and cost-effective way to manage information and application. It runs on major platforms like Windows, Unix, Linux, and macOS. It is a relational database in which data is accessed by user through application or query language called SQL.
2. Derby :
Derby is a open source relational database management system. It is developed by Apache Software Foundation in 1997. It is written and implemented completely in the Java programming language. The primary database model of Derby is Relational DBMS. All OS with a Java VM are server operating system. It provides users fine grained access rights according to SQL-standard and with a small-footprint standards-based database engine that can be tightly embedded into any Java based solution.
Difference between Oracle and Derby :
|1.||It was developed by Oracle Corporation in 1980.||It is developed by Apache Software Foundation in 1997.|
|2.||It is a commercial software.||It is an open-source software.|
|3.||It is written in C and C++.||It is written in Java.|
|4.||Server operating systems for Oracle are Solaris, Linux, OS X, Windows.||Server operating systems for Derby are Windows, macOs, Linux, Unix, BSD and z/OS.|
|5.||The replication methods that Oracle supports are Master-Slave Replication and Master-Master Replication.||The Replication methods that Derby support are Master-Slave Replication.|
|6.||JDBC, ODBC, ODP.NET, OCI are the APIs and access methods used in Oracle.||JDBC are the APIs and other access methods used in Derby.|
|7.||It uses Horizontal partitioning method for storing different data on different nodes.||It does not support Partitioning methods.|
|8.||The primary database model for Derby is Relational DBMS.||The primary database model for Oracle is Relational DBMS.|
|9.||It provides in-memory capabilities.||It also provides in-memory capabilities.|
|10.||It provides fine grained access rights according to SQL-standard.||It also support fine grained access rights according to SQL-standard.|
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.