How much of a difference is there between MongoDB and CouchDB?

becker

We are looking at NoSQL database choices, and both MongoDB and CouchDB have been recommended. I personally have never used either of them. Is there much significant difference between the two, or are we basically choosing between brands of vanilla ice cream - there may be small differences, but they are essentially the same?

Topic: Software
Answer this Question

Answers

2 total
jimlynch
Vote Up (7)

Here are two articles that will give you a basis for comparison:

MongoDB
http://en.wikipedia.org/wiki/MongoDB

"MongoDB (from "humongous") is an open source document-oriented NoSQL database system.
MongoDB is part of the NoSQL family of database systems. Instead of storing data in tables as is done in a "classical" relational database, MongoDB stores structured data as JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster.
Development of MongoDB began in October 2007 by 10gen. It is now a mature and feature rich database ready for production use.[citation needed] It is used, for example, by MTV Networks[1], Craigslist[2] and Foursquare[3], UIDAI Aadhaar India's Unique identification project.
Binaries are available for Windows, Linux, OS X, and Solaris."

CouchDB
http://en.wikipedia.org/wiki/CouchDB

"Apache CouchDB, commonly referred to as CouchDB, is an open source database that focuses on ease of use and on being "a database that completely embraces the web".[1] It is a NoSQL database that uses JSON to store data, JavaScript as its query language using MapReduce and HTTP for an API.[1] One of its distinguishing features is easy replication. CouchDB was first released in 2005 and later became an Apache project in 2008.
Unlike in a relational database, CouchDB does not store data and relationships in tables. Instead, each database is a collection of independent documents. Each document maintains its own data and self-contained schema. An application may access multiple databases, such as one stored on a user's mobile phone and another on a server. Document metadata contains revision information, making it possible to merge any differences that may have occurred while the databases were disconnected.
CouchDB implements a form of Multi-Version Concurrency Control (MVCC) in order to avoid the need to lock the database file during writes. Conflicts are left to the application to resolve. Resolving a conflict generally involves first merging data into one of the documents, then deleting the stale one.[2]
Other features are ACID semantics with eventual consistency, MapReduce, incremental replication and fault-tolerance. Administration is supported with a built-in web application called Futon."

rousseau
Vote Up (10)

 

MongoDB has a reputation for being faster, while CouchDB has a good reputation for reliability, although older versions could be resource intensive.  I think CouchDB is the only choice if you want offline replication.   I think MongoDB is more like SQL (which is kind of funny since it is NonSQL).  Keep in mind that neither are really suitable for financial transactions, if that is your concern you should probably stick with SQL.  

 

A guy named Scott Motte did a comparison of MongoDB and CouchDB a while back.  He is more knowledgeable than I am, and he put together a nice slideshow presentation.  http://spitfiresky.com/blog/recap-of-my-sdruby-presentation-on-mongodb.html

 

Ask a question

Join Now or Sign In to ask a question.
Mobile operators collect huge amounts of data about how their subscribers use mobile data, and that information is starting to go on sale as targeted intelligence that enterprises can use to better reach consumers.
On May 21st at 10am Pacific time, Microsoft will unveil its next-generation Xbox console. And if this article were titled "What we know for sure about the next Xbox," we could end it here. Microsoft has been very tight-lipped about the successor to the Xbox 360, but that's about to change.
Sony is trying to steal some of Microsoft's thunder by offering a few fleeting glimpses of the Playstation 4 hardware on the eve of a Microsoft Xbox event.
Planview has updated the interface of its flagship project portfolio management (PPM) software to make it easier to navigate and appealing to a wider range of potential users.
When the moderator of a panel discussion at the recent RSA conference asked the audience how many thought their risk management programs were successful, only a handful raised their hands. Why don't these programs work?
A boutique system builder has bucked the industry trend of slumping PC sales by continuing to focus on selling Windows 7 machines.
Yahoo has confirmed widespread reports that it will acquire the popular blogging service Tumblr, and also promised not to "screw it up." The deal is worth about $1.1 billion, nearly all in cash.
Microsoft has gotten next to nothing from its $300 million investment in Barnes & Noble, analysts said, but it may reap some rewards as it prepares to ship smaller tablets.
IT thinks Windows 8 is a change "but not yet a positive one" from earlier Windows versions.
Devices built around Apple's iOS operating system have been approved by the U.S. Department of Defense for use on its networks, as the department moves to support multivendor mobile devices and operating systems.
Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+