Very slow DBRW performance when a cube is used as data source
Posted: Mon Jul 08, 2024 10:25 am
Hello everyone!
I'm not a TM1 professional, however have some experience that includes several areas of IT. I tried to search for any tips regarding the issue we are facing right now from this forum but was not successful. So, I decided to post it here, hoping to get any suggestions from pros.
We are switching from our on-premises IBM TM1 9.5.2 to the on-cloud IBM P&A 2.0. We have encountered an issue related to DBRW formulas that use one of the cubes with 16 dimensions in order to retrieve values from it. The original Excel template has a data worksheet where formulas are copied from the top row and pasted into the column (e.g. A2:A40000) then they are refreshed, copied and pasted as values to the same range. There are about 150 columns and 35-40 thousand rows overall. All this runs with a simple VBA macro and once one column is done it moves to the next one and so on. Our current TM1 9.5.2 and TM1 Perspectives takes about 10 minutes to run this process, and with IBM P&A and PAX - almost infinity. When we apply this formula to one column (with around 40K rows) it takes about 30-40 seconds to refresh. If we let the entire process run, then after 10-15 minutes (until this problem formula starts) it becomes really slow and the Excel file size starts consuming up to 5 GB memory and 25-40% CPU. We tried with about 2000 rows of data, and it took about 40 minutes to finish the task. Using DBR and tweaking Excel's Auto calculation did not help. Can you please share your knowledge or advise where to look at?
Thank you!
I'm not a TM1 professional, however have some experience that includes several areas of IT. I tried to search for any tips regarding the issue we are facing right now from this forum but was not successful. So, I decided to post it here, hoping to get any suggestions from pros.
We are switching from our on-premises IBM TM1 9.5.2 to the on-cloud IBM P&A 2.0. We have encountered an issue related to DBRW formulas that use one of the cubes with 16 dimensions in order to retrieve values from it. The original Excel template has a data worksheet where formulas are copied from the top row and pasted into the column (e.g. A2:A40000) then they are refreshed, copied and pasted as values to the same range. There are about 150 columns and 35-40 thousand rows overall. All this runs with a simple VBA macro and once one column is done it moves to the next one and so on. Our current TM1 9.5.2 and TM1 Perspectives takes about 10 minutes to run this process, and with IBM P&A and PAX - almost infinity. When we apply this formula to one column (with around 40K rows) it takes about 30-40 seconds to refresh. If we let the entire process run, then after 10-15 minutes (until this problem formula starts) it becomes really slow and the Excel file size starts consuming up to 5 GB memory and 25-40% CPU. We tried with about 2000 rows of data, and it took about 40 minutes to finish the task. Using DBR and tweaking Excel's Auto calculation did not help. Can you please share your knowledge or advise where to look at?
Thank you!