📜  Redis 和 MariaDB 的区别

📅  最后修改于: 2021-09-10 01:56:25             🧑  作者: Mango

1. Redis :
Redis 代表远程字典服务器,它是一个内存数据结构项目,实现了具有可选持久性的分布式内存键值数据库。 Redis 由 Redis 实验室开发,最初于 2009 年 5 月 10 日发布。它使用 ANSI 和 C 语言编写。 Redis 提供内存效率、运行速度快、高可用性,并提供一些特性,如可调性、复制、集群等。

2. 玛丽亚数据库:
MariaDB 是一个开源关系数据库管理系统 (RDBMS),是广泛使用的 MySQL 数据库技术的兼容替代品。它由 MariaDB Foundation 开发并于 2009 年 10 月 29 日首次发布。MariaDB 具有大量新功能,这使其在性能和用户导向方面更加出色。

Redis 和 MariaDB 的区别:

S.NO. Redis MariaDB
1. It developed by Redis labs and initially released on May 10, 2009. It is developed by MariaDB Foundation and initially released on 29 October 2009.
2. Redis is written in ANSI and C languages. MariaDB is written in C, C++, Perl and Bash languages.
3. The primary database model for Redis is Key-Value store. The primary database model for MariaDB is Relational DBMS.
4. Redis is Data Schema free. In MariaDB Data Schema supports Dynamic columns.
5. Redis does not supports XML data format. MariaDB supports XML data format.
6. Redis supports both Master-Slave Replication and Multi-Master Replication. MariaDB supports both Master-Slave Replication and Master-Master Replication.
7. Redis does not provides the concept of Referential Integrity. Hence, no Foreign Keys. MariaDB provides the concept of Referential Integrity and have Foreign keys.
8. Redis supports secondary indexes only with RediSearch module. MariaDB supports secondary indexes without any restrictions.
9. Server operating systems for Redis are BDS, Linux, OS X, Windows. Server operating systems for MariaDB are FreeBSD, Linux, Solaris, Windows.
10. Famous companies like Twinkl Educational Publishing, Merrill Corporation, ASOS.com Limited, Owler, Inc., etc uses Redis. Famous companies like CUNY, Accenture, Docplanner, Grooveshark, Northrop Grumman, uses MariaDB.