何时在MongoDB上使用CouchDB,反之亦然 [英] When to use CouchDB over MongoDB and vice versa

查看:164
本文介绍了何时在MongoDB上使用CouchDB,反之亦然的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我困在这两个NoSQL数据库之间。

I am stuck between these two NoSQL databases.

在我的项目中,我将在数据库中创建一个数据库。例如,我需要一个解决方案来创建动态表。

In my project I will be creating a database within a database. For example, I need a solution to create dynamic tables.

因此,用户可以创建具有列和行的表。我认为MongoDB或CouchDB将是有益的,但我不知道哪一个。我也需要有效的分页。

So users can create tables with columns and rows. I think either MongoDB or CouchDB will be good for this, but I am not sure which one. I will also need efficient paging as well.

推荐答案

P(一致性,可用性和分区容限)哪2个对您更重要?快速参考, 到NoSQL系统的Visual指南

Of C,A & P (Consistency, Availability & Partition tolerance) which 2 are more important to you? Quick reference, the Visual Guide To NoSQL Systems


  • MongodB:一致性和分区容差

  • CouchDB:可用性和分区容限

一篇博客文章, Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Membase vs Neo4j比较 具有每个NoSQL数据库比较的最佳使用场景。引用链接

A blog post, Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Membase vs Neo4j comparison has 'Best used' scenarios for each NoSQL database compared. Quoting the link,


  • MongoDB:如果需要动态查询。如果你喜欢定义索引,而不是map / reduce函数。如果你需要在大DB上的良好性能。

  • CouchDB:用于累积,偶尔更改要在其上运行预定义查询的数据。

最近(2012年2月)和更多综合比较 by Riyad Kalla,

A recent (Feb 2012) and more comprehensive comparison by Riyad Kalla,


  • MongoDB: li>
  • CouchDB:Master-Master复制

MongoDB Guy了解CouchDB 发表了评论CouchDB的分页不太有用。

A blog post (Oct 2011) by someone who tried both, A MongoDB Guy Learns CouchDB commented on the CouchDB's paging being not as useful.

A(日期:2009年6月)基准 Kristina Chodorow 部分

A dated (Jun 2009) benchmark by Kristina Chodorow (part of team behind MongoDB),

我会去MongoDB。

I'd go for MongoDB.

这篇关于何时在MongoDB上使用CouchDB,反之亦然的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆