Open In App

Difference between PouchDB and MongoDB

Improve
Improve
Like Article
Like
Save
Share
Report

1. 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.

2. MongoDB :
MongoDB is a cross-platform document-oriented and a non relational (i.e., NoSQL) database program. It is an open-source document database, that stores the data in the form of key-value pairs. MongoDB is developed by MongoDB Inc. and initially released on 11 February 2009. It is written in C++, Go, JavaScript, Python languages. MongoDB offers high speed, high availability, and high scalability.


Difference between PouchDB and MongoDB :

SR.NO PouchDB MongoDB
1. It is developed by Apache Software Foundation. It is developed by MongoDB Inc.
2. It was released in 2012. It was released on 11 February 2009.
3. PouchDB server operating systems are server-less and require a JavaScript environment (browser, Node.js). MongoDB Server operating systems are Solaris, Linux, OS X and Windows.
4. It is written using Javascript language. It is written in C++, Go, JavaScript, Python languages.
5. It does not provide ACID transactions. It provides Multi-Document ACID transactions with snapshot isolation.
6. The primary database model for PouchDB is Document Store. The primary database model for MongoDB is also Document Store.
7. It does not support predefined data types. It supports predefined data types such as string, integer, double, decimal, boolean and date.
8. It supports Map Reduce method. It also supports Map Reduce method.


Last Updated : 25 Jun, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads