Skip to content
Related Articles

Related Articles

Difference between Derby and PostgreSQL
  • Last Updated : 02 Jul, 2020
GeeksforGeeks - Summer Carnival Banner

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.DerbyPostgreSQL
1It is developed by Apache Software Foundation in 1997.It is developed by PostgreSQL Global Development Group in 1989.
2It is written in Java language.It is written in C language.
3The primary database model for Derby is Relational DBMS.The primary database model for PostgreSQL is Relational DBMS.
4Server 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.
5It support only Java programming language.It supports C, .Net, C++, Java, JavaScript, PHP, Python, Ruby.
6APIs 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.
7It provide fine grained access rights according to SQL-standard.It provides access rights for users and roles.
8It has Java Stored Procedures for Server-side scripts.It has user defined functions for Server-side scripts.
9It support in-memory capabilities.It do not support in-memory capabilities.
10It supports Secondary indexes.It also supports Secondary indexes.

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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :