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