Tuesday, 8 October 2013

Compare MongoDB Vs CouchDB Vs Riak




I have recently trying to understand different NoSql databases. I found MongoDb, CouchDb & Riak and compared their features. Below is my understanding.



Features
MongoDb
CouchDb
Riak
Client api support
Yes
Yes (only community support)
Yes
Open-source client libraries
C, C++, C#, Erlang, Java, JavaScript, Node.js, Perl, PHP, Python, Ruby, Scala.
Clojure, Common Lisp, Erlang, Java, JavaScript, Lua, .Net, Node.js, Perl, PHP, PL/SQL, Python, Ruby, Scala
Erlang, Java, PHP, Python, Ruby
Clustering
Master-Slave
Master-Master
Masterless
Sharding
Yes
-
Yes
Environment Supported
Windows, Linux, Mac OS X, Solaris
Windows, Mac OS X, Linux
Debian, Ubuntu, FreeBSD, Mac, Red Hat Enterprise, Fedora, SmartOS, Solaris
Windows Installation
Yes
Yes
No
Doc Link
Replication
Yes
Yes
Yes
Writes allowed on all nodes
NO
Yes
Yes
Clustering/sharding available built-in
Yes
No
Yes
Replication available built-in
Yes
Yes
Yes
CAP Theorem
CP
AP
AP
License
AGPL (Drivers: Apache)
Apache
Apache
Commercial/Enterprise licenses
Yes
No
Yes
Storage Type
Document Oriented (BSON )
Document Oriented (JSON )
Bucket, key/value





No comments: