1. 口袋数据库:
PouchDB 是一个开源的 NoSQL 内联数据库。它是在 CouchDB 之后设计的,CouchDB 是一个支持 npm 的 NoSQL 数据库。它是用 JavaScript 语言编写的。由于 PouchDB 驻留在浏览器中,因此无需通过网络执行查询,因此速度非常快。它在浏览器中使用 IndexedDB 和 WebSQL 在本地存储数据。
2. 沙发数据库:
CouchDB 是一个开源的面向文档的 NoSQL 数据库。它由 Apache 软件基金会开发,主要关注易用性。 Apache CouchDB 是最新的数据库品种之一。它是 2005 年发布的多主应用程序,并于 2008 年成为 Apache 项目。它使用多种格式和协议来存储、传输和处理其数据。它是用 Erlang 编程语言编写的。 PouchDB 和 CouchDB 的区别:
SR.NO | PouchDB | CouchDB |
---|---|---|
1. | It is developed by Apache Software Foundation. | It is also developed by Apache Software Foundation. |
2. | It was released in 2012. | It was released in 2005. |
3. | PouchDB server operating systems are server-less, requires a JavaScript environment (browser, Node.js). | CouchDB server operating systems are Android, BSD, Linux, OS X, Solaris and Windows. |
4. | It is written using Javascript language. | It is written in Erlang. |
5. | It uses HTTP REST JavaScript API. | It uses RESTful HTTP/JSON API. |
6. | It supports JavaScript programming language. | It supports C, C#, ColdFusion, Erlang, Java, JavaScript, PHP, PL/SQL, Python, Ruby, etc. |
7. | It does not allow access rights for users, that can be defined per database. | It allows access rights for users, that can be defined per database. |
8. | It has in-memory capabilities. | It does not have in-memory capabilities. |