📜  Couchbase 和 CouchDB 的区别

📅  最后修改于: 2021-09-08 16:09:23             🧑  作者: Mango

1. 沙发座:
Couchbase Server 是一个开源、分布式、多模型 NoSQL 面向文档的数据库软件包,针对交互式应用程序进行了优化。它也被称为 Membase。它由 Couchbase, Inc. 开发,最初于 2010 年 8 月发布。

2. 沙发数据库:
Apache CouchDB 是一个开源的面向文档的 NoSQL 数据库,它使用多种格式和协议来存储、传输和处理其数据,它使用 JSON 存储数据,使用 MapReduce 作为其查询语言的 JavaScript,以及用于 API 的 HTTP。它由 Apache 软件基金会开发,最初于 2005 年发布。它是用 Erlang 编写的。

Couchbase 和 CouchDB 的区别:

S.NO. Couchbase CouchDB
1. Developed by Couchbase, Inc. and initially released on August 2010. Developed by Apache Software Foundation and initially released in 2005.
2. Couchbase is written in C++, Erlang, C and Go languages. CouchDB is written in Erlang.
3. Couchbase have predefined datatypes such as boolean, string, number, etc. In CouchDB there is no predefined datatypes.
4. Couchbase supports secondary indexes. CouchDB supports secondary indexes via views only.
5. Couchbase supports Declarative query language (N1QL) that extends ANSI SQL to JSON. CouchDB do not have SQL support.
6. Couchbase provides Eventual Consistency and Immediate Consistency methods to ensure consistency in a distributed system. CouchDB only provides Immediate Consistency method to ensure consistency in a distributed system.
7. Couchbase supports ACID transactions. CouchDB does not supports ACID transactions.
8. Couchbase has in-memory capabilities. CouchDB does not have any in-memory capabilities.
9. Server operating systems for Couchbase are Linux, OS X and Windows. Server operating systems for CouchDB are Android, BSD, Linux, OS X, Solaris and Windows
10. Famous companies like Lockwood Publishing, Code Weavers, MSLGROUP, The Doyle Group, etc uses Couchbase. Famous companies like Akamai Technologies, Hothead Games, Inc., GenCorp Technologies, Vivint Solar, etc uses CouchDB.