1. 口袋数据库:
PouchDB 是一个开源的 NoSQL 内联数据库。它是在 CouchDB 之后设计的,CouchDB 是一个支持 npm 的 NoSQL 数据库。它是用 JavaScript 语言编写的。由于 PouchDB 驻留在浏览器中,因此无需通过网络执行查询,因此速度非常快。它在浏览器中使用 IndexedDB 和 WebSQL 在本地存储数据。
2. 玛丽亚数据库:
MariaDB 是一个开源关系数据库管理系统 (RDBMS),是广泛使用的 MySQL 数据库技术的兼容替代品。它由 MariaDB Foundation 开发并于 2009 年 10 月 29 日首次发布。MariaDB 具有大量新功能,这使其在性能和用户导向方面优于 MySQL。 PouchDB 和 MariaDB 的区别:
SR.NO | PouchDB | MariaDB |
---|---|---|
1. | It is developed by Apache Software Foundation. | It is developed by MariaDB Foundation. |
2. | It was released in 2012. | It was released on 29 October 2009. |
3. | PouchDB server operating systems are server-less, require a JavaScript environment (browser, Node.js). | MariaDB server operating systems are FreeBSD, Linux, Solaris and Windows. |
4. | It is written using Javascript language. | It is written in C, C++, Perl and Bash languages. |
5. | It is free of data schema. | It supports dynamic columns data schema. |
6. | It provides us with Eventual Consistency method to ensure consistency in a distributed system. | It provides us with Immediate Consistency method to ensure consistency in a distributed system. |
7. | It does not provide the concept of Referential Integrity and hence does not have Foreign Keys. | It provides the concept of Referential Integrity and has Foreign Keys. |
8. | It has no predefined datatypes. | It has predefined datatypes such as float, date, number, etc. |