Difference between Redis and IBM Db2

1. Redis :
Redis stands for Remote Dictionary Server which is an in-memory data structure project implementing a distributed, in-memory key-value database with optional durability. Redis was developed by Redis labs and initially released on May 10, 2009. It is written in ANSI and C languages. Redis offers memory efficiency, fast operating speed, high availability and provides some features like tenability, replication, clustering, etc.

2. IBM Db2 :
Db2 is a family of data management products, including database servers, developed by IBM. It is a Relational Database Management System (RDBMS) which supports object-oriented features and non relational structure with XML. Db2 is designed to store, analyze and retrieve the data efficiently. It was initially released in 1983 and is written in C, C++, Java and Assembly language.

Difference between Redis and IBM Db2 :

1. It was developed by Redis labs and initially released on May 10, 2009. It was developed by IBM and initially released in 1983.
2. Redis is written in ANSI and C languages. Db2 is written in C, C++, Assembly language, Java languages.
3. The primary database model for Redis is Key-Value Store. The primary database model for Db2 is Relational DBMS.
4. The license for Redis is Open Source. The license for Db2 is Commercial.
5. Redis is Data Schema Free. In Db2 data schema is fixed.
6. Redis does not support XML data format. Db2 supports XML data format.
7. Redis does not support SQL queries. Db2 supports SQL.
8. Redis does not have the concept of Foreign keys. Db2 has the concept of Referential Integrity and Foreign keys.
9. Redis does not have Triggers. Db2 has Triggers.
10. Redis supports secondary indexes with RediSearch module only. Db2 supports secondary indexes without any restrictions.
11. Server operating systems for Redis are BDS, Linux, OS X and Windows. Server operating systems for Db2 are AIX, HP-UX, Linux, Solaris, Windows and z/OS.
12. Some companies like Twinkl Educational Publishing, Merrill Corporation, ASOS.com Limited, Owler, Inc., etc use Redis. Some companies like JPMorgan Chase, Bank of America, Scotiabank, Citi, etc use Db2.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.