ALL COVERED TOPICS

NoSQL Benchmarks NoSQL use cases NoSQL Videos NoSQL Hybrid Solutions NoSQL Presentations Big Data Hadoop MapReduce Pig Hive Flume Oozie Sqoop HDFS ZooKeeper Cascading Cascalog BigTable Cassandra HBase Hypertable Couchbase CouchDB MongoDB OrientDB RavenDB Jackrabbit Terrastore Amazon DynamoDB Redis Riak Project Voldemort Tokyo Cabinet Kyoto Cabinet memcached Amazon SimpleDB Datomic MemcacheDB M/DB GT.M Amazon Dynamo Dynomite Mnesia Yahoo! PNUTS/Sherpa Neo4j InfoGrid Sones GraphDB InfiniteGraph AllegroGraph MarkLogic Clustrix CouchDB Case Studies MongoDB Case Studies NoSQL at Adobe NoSQL at Facebook NoSQL at Twitter

NAVIGATE MAIN CATEGORIES

Close

A Brief Comparison of MongoDB and CouchDB

A comparison in the form of a bullet list:

MongoDB and CouchDB both have been embraced greatly by the open source community. It is because they are designed for easy javascript query, Rest service. It means it is very easy and flexible to use in practice.

Couple of remarks:

Both fully open source?

Yes

CouchDB is using the Apache License while MongoDB is using GNU AGPLv3. These have different implications[1]

Which has better documentation?

Both have good documentation, enough to get started quickly. MongoDB seems to have more details on their documentation.

CouchDB already has two books available: CouchDB: The Definitive Guide: Time to Relax (Animal Guide) and Beginning CouchDB (with a Kindle version) .

MongoDB has 3 5 books in the works:

Update: I’ve updated the list of book thanks to Damien Katz and Meghan Gill comments. It’d have been easier if I’d already had them around.

Note: the above links are affiliate links. Buying one of the books will get me a penny.

Which is faster?

This article tested around 250 MB size file. It is found MongoDB is faster than CouchDB. There is also another benchmark data test. It also found MogoDB is faster than CouchDB for the heavy load of query condition. This is another article impressed by the efficiency of MongoDB.

Unfortunately most of these benchmarks are incomplete or flawed. You should read our coverage on NoSQL benchmarks to better understand how difficult is to come up with good and unflawed benchmarks.

Durability

On the MongoDB official site, there is a fair comparison of the durability. CouchDB is with crash-only design. Database can terminate at any time, MongoDB takes a different approach. Reparidatabase() operation has to be run once there is an unexpected termination.

I felt like pointing out to our comments on MongoDB durability and also different solutions for insuring disk level durability[2].


  1. Every time I’m referring to MongoDB GNU AGPLv3 usage, I think it is worth mentioning ☞ their position about this license  ()
  2. As a side note, MongoDB encourages durability through replication.  ()

via: http://newsicare.wordpress.com/2010/06/30/mongodb-vs-couchdb/