Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Difference between Couchbase and PostgreSQL

  • Last Updated : 22 Jun, 2020

1. Couchbase :
Couchbase Server is an open-source, distributed multi-model NoSQL document-oriented database software package that is optimized for interactive applications. It is also known as Membase. It was developed by Couchbase, Inc. and initially released on August 2010.

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. It was the first DBMS that implemented multi-version concurrency control (MVCC) feature.

Difference between Couchbase and PostgreSQL :

1.Developed by Couchbase, Inc. and initially released on August 2011.Developed by PostgreSQL Global Development Group on 1989.
2.It is a JSON-based document store derived from CouchDB with a Memcached-compatible interface.It is widely used open source RDBMS.
3.Couchbase is written in C++, Erlang, C and Go languages.PostgreSQL is written in C languages.
4.he primary database model for Couchbase is Document Store.The primary database model for PostgreSQL is Relational DBMS.
5.It has Key-value store as Secondary database models.It has Document store as Secondary database models.
6.Server operating systems for Couchbase are Linux, OS X and Windows.Server operating systems for PostgreSQL are FreeBSD, HP-UX, Linux, NetBSD, OpenBSD, OS X, Solaris, Unix and Windows.
7.It has functions and timers in JavaScript for Server-side scripts.It has user defined functions for Server-side scripts.
8.In Couchbase, partitioning can be done by Sharding.In PostgreSQL, partitioning can be done by range, list and hash.
9.It support two replication methods – Master-master replication and Master-slave replication.It support only one replication methods – Master-master replication.
10.It supports in-memory capabilities.It does not supports in-memory capabilities.
11.Couchbase does not provides the concept of Referential Integrity. Hence, no Foreign Keys.PostgreSQL provides the concept of Referential Integrity and have Foreign keys.
12.Couchbase supports Map Reduce method.PostgreSQL does not supports Map Reduce method.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!