📜  SQLite 和 Couchbase 的区别

📅  最后修改于: 2021-09-08 15:25:52             🧑  作者: Mango

1. SQLite:
SQLite 是一个提供关系数据库管理系统 (RDBMS) 的软件库。它由 D. Richard Hipp 于 2000 年 8 月设计。SQLite 的设计目标是允许程序在不安装数据库管理系统 (DBMS) 或不需要数据库管理员的情况下运行。

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

S.NO.

SQLITE

COUCHBASE

1. It was developed By D. Richard Hipp in August 2000. It was developed by Couchbase, Inc. and initially released in August 2011.
2. SQLite is developed only in C language. Couchbase is written in C++, Erlang, C and Go languages.
3. It is a widely used in-process RDBMS. It is a JSON-based document store derived from CouchDB with a Memcached-compatible interface.
4. The primary database model for SQLite is RDBMS. The primary database model for Couchbase is Document Store.
5. SQLite does not require a server to run. Hence, it is serverless. Server operating systems for Couchbase are Linux, OS X and Windows.
6. It does not support any replication methods. It support two replication methods : Master-master replication and Master-slave replication.
7. SQLite does not support Map Reduce method. Couchbase supports Map Reduce method.
8. SQLite provides the concept of Referential Integrity and has Foreign keys. Couchbase does not provide the concept of Referential Integrity and has no Foreign keys.
9. It does not support any partitioning method. In Couchbase, partitioning can be done by sharding.
10. SQLite provides ACID transactions. Couchbase also provides ACID transactions.
11. It does not support server-side scripting. It has functions and timers in JavaScript for Server-side scripts.
12. SQLite does not support secondary indexes. Couchbase supports secondary indexes.
13. SQLite has SQL support. Couchbase supports Declarative query language (N1QL) that extends ANSI SQL to JSON.