Difference between Derby and Pouchdb

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. PouchDB :
PouchDB is an open-source, NoSQL, in-line database. It is designed after CouchDB, which is a NoSQL database that powers npm. It is written in JavaScript language. There is no need to perform queries over the network as PouchDB resides inside the browser and thus it makes it extremely faster. It stores data locally using IndexedDB and WebSQL in the browser.



Difference between Derby and Pouchdb :

S.NO. Derby Pouchdb
1 It is developed by Apache Software Foundation in 1997. It is developed by Apache Software Foundation in 2012.
2 It is written in Java language. It is written using Javascript language.
3 The primary database model for Derby is Relational DBMS. The primary database model for PouchDB is Document Store.
4 Server operating systems for Derby are Windows, macOs, Linux, Unix, BSD and z/OS. PouchDB server operating systems are server-less, requires a JavaScript environment (browser, Node.js).
5 APIs and other access methods used by Derby is JDBC. APIs and other access methods used by PouchDB is HTTP REST, JavaScript API.
6 It supports only Java programming language. It supports only Javascript programming language.
7 It supports Master-Slave Replication methods. It supports Master-master replication, Master-slave replication.
8 In Derby, partitioning cannot be done. In PouchDB, partitioning can be done by Sharding.
9 It is a open source software framework. It is a open source software framework.
10 It supports fine grained access rights according to SQL-standard. It does not support access right.

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

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.