| S.No. |
REDIS |
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. |