Difference between Derby and PostgreSQL

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.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.