📜  Redis和MariaDB之间的区别

📅  最后修改于: 2021-08-27 04:01:06             🧑  作者: Mango

1. Redis:
Redis代表Remote Dictionary Server,它是一个内存中数据结构项目,实现了具有可选持久性的分布式内存中键值数据库。 Redis由Redis实验室开发,最初于2009年5月10日发布。它是用ANSI和C语言编写的。 Redis提供了内存效率,快速的操作速度,高可用性,并提供了一些功能,例如可调性,复制,集群等。

2. MariaDB:
MariaDB是一个开源关系数据库管理系统(RDBMS),它是广泛使用的MySQL数据库技术的兼容即插即用替代品。它由MariaDB基金会开发,最初于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.