Forum Discussion
DB2 IDAA
- 3 years ago
Our solution is to change the syntax in Power Query using Advanced Editor
= DB2.Database("server", "database", [HierarchicalNavigation=true, Implementation="Microsoft", Query="SET CURRENT QUERY ACCELERATION=ENABLE; SELECT * FROM database.table FOR READ ONLY;"])
I don't have experience in IBM DB2 but I think it should have its own performance monitor tools like SQL Server Profiler for SQL Server Databases. You can create two queries in Power BI Desktop, one has the statement "SET CURRENT QUERY ACCELERATION=ELIGIBLE" while the other doesn't. Open the performance monitor tool and start monitor traces. Then click "Refresh" in Power BI Desktop to reimport data into Power BI. Every table will send a query to the database. After refresh finishes, you can stop the tracing and compare the query time of two queries.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
- JohannesSpronk3 years agoFrequent Visitor
Thank you for taking the time and replying with an advise!