Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mongodb vs. Couch Db Select Performances

I read many things about performance comparison between Couch Db and Mongo Db at insert capabilities. However at somewhere it says that Couch Db has a better read performance. Is there any performance comparison based on select capabilities of between that databases?

like image 341
kamaci Avatar asked Oct 13 '11 08:10

kamaci


People also ask

Is CouchDB better than MongoDB?

At first, CouchDB looks like a compelling solution for the web world since it's built on top of the JSON document model and HTTP rest API interface. However, it lacks in security, performance, ease of use, query language, data types support, and cloud offerings when compared to MongoDB Atlas.

Is SQL faster than MongoDB?

MongoDB is more fast and scalable in comparison to the SQL server. MongoDB doesn't support JOIN and Global transactions but the SQL server supports it. MongoDB supports a big amount of data but the MS SQL server doesn't.

Does MongoDB provide high performance?

1. Why is MongoDB high performance? Ad hoc queries, indexing, and real time aggregation provide powerful ways to access data. MongoDB is a distributed database by default, which allows for expansive horizontal scalability without any changes to application logic.

Why is MongoDB more popular than CouchDB?

MongoDB has a much larger user base than CouchDB, making it easier to find support and hire employees for this database solution. Both databases are free and open-source projects but likely require a paid fully managed service to deploy your production workloads.


2 Answers

Don't trust benchmarks

Good Benchmarks Are Non-Trivial

So here you can see, that CouchDB has High Read performance and MongoDB has High Write performance. So you will have many read operations, use CouchDB.

like image 152
Sergey Gavruk Avatar answered Sep 24 '22 14:09

Sergey Gavruk


In addition to @Sergey's links, make sure you also read http://jan.prima.de/plok/archives/175-Benchmarks-You-are-Doing-it-Wrong.html and http://jan.prima.de/plok/archives/176-Caveats-of-Evaluating-Databases.html

It is not that one is verbatim faster than the other. But either will pick a different set of trade-offs that will result in a certain performance for your use case. But that doesn't say they are doing the same and either is better or worse.

like image 35
Jan Lehnardt Avatar answered Sep 24 '22 14:09

Jan Lehnardt