Open In App
Related Articles

Difference between Derby and PostgreSQL

Like Article
Save Article
Report issue
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. PostgreSQL : PostgreSQL is a powerful, open-source Object-relational database system. It provides good performance with low maintenance efforts because of its high stability. PostgreSQL was the first DBMS that implemented multi-version concurrency control (MVCC) feature.
Difference between Derby and PostgreSQL :
SR.NO. Derby PostgreSQL
1 It is developed by Apache Software Foundation in 1997. It is developed by PostgreSQL Global Development Group in 1989.
2 It is written in Java language. It is written in C language.
3 The primary database model for Derby is Relational DBMS. The primary database model for PostgreSQL is Relational DBMS.
4 Server operating systems for Derby are Windows, macOs, Linux, Unix, BSD and z/OS. PostgreSQL server operating systems are FreeBSD, HP-UX, Linux, NetBSD, OpenBSD, OS X, Solaris, Unix and Windows.
5 It support only Java programming language. It supports C, .Net, C++, Java, JavaScript, PHP, Python, Ruby.
6 APIs and other access methods used by Derby is JDBC. It uses ADO.NET, JDBC, native C library, ODBC, streaming API for large objects as APIs.
7 It provide fine grained access rights according to SQL-standard. It provides access rights for users and roles.
8 It has Java Stored Procedures for Server-side scripts. It has user defined functions for Server-side scripts.
9 It support in-memory capabilities. It do not support in-memory capabilities.
10 It supports Secondary indexes. It also supports Secondary indexes.

Last Updated : 02 Jul, 2020
Like Article
Save Article
Share your thoughts in the comments
Similar Reads