Forum Discussion
Babu_Santhaiah
2 years agoRegular Visitor
Redis to power bi
Hi, we have developed report using mysql source direct query and speed is very slow, so we planned to use redis in memory db for fast response and we have done the setup and connected using cdata...
Anonymous
2 years agoNot applicable
Hi Babu_Santhaiah ,
You can refer the following links to connect to Redis in Power BI:
How to use Redis as a Data Source for Power BI with Redis SQL ODBC - Microsoft Community Hub
How to Integrate Redis Into Power BI - Zebra BI
As for the speed issue, there could be several reasons why Redis might be slower than MySQL in your case:
- Redis is a single-threaded server. It is not designed to benefit from multiple CPU cores.
- Not enough memory, generating swapping at the OS level.
- Too many O(n) operations (like KEYS) executed in the single-threaded engine.
- Software-based virtualization.
Remember, while Redis is generally faster than MySQL due to its in-memory nature, it depends on the specific use case and configuration. It’s also worth noting that Redis only works on key-value pairs, which is much simpler but far from covering the normal use cases of a relational database like MySQL.
Best Regards