Troubleshooting
Problem
Cause
Resolving The Problem
Use the MinimumPolytopeSize setting to configure the minimum size of queries that are sent to TM1 when you refresh a Custom Report. The default minimum size is 2.
Increasing the MinimumPolytopeSize can improve performance as it decreases the number of queries sent to TM1 for the workload. However, in some cases, increasing the value too high can degrade performance as the queries can become too large and take longer to execute on the server.
To test this configuration parameter with a Planning Analytics for Excel Custom Report, start by increasing MinimumPolytopeSize to 10 and measure the difference in performance. If there is an improvement, try increasing it in intervals of 10 through 100. When performance improvements plateau or begin decreasing for your workload, decrease it by 10 to find the ideal setting for your workload.
- Close Microsoft Excel.
- Open the CognosOfficeXLLSettings.xml file, located in Users\[user name]\AppData\Local\Cognos\Office Connection.
- Locate the following lines:
<userSettings>
<setting name="MinimumPolytopeSize">2</setting>
</userSettings> - Set MinimumPolytopeSize to 10.
- Save the CognosOfficeXLLSettings.xml file.
MaximumPolytopeAmount
You can use the MaximumPolytopeAmount setting to configure the maximum number of queries that a Custom Report executes against TM1 for a refresh. The default value of MaximumPolytopeAmount in Planning Analytics for Excel is 60.
When the MaximumPolytopeAmount exceeds the default value, Planning Analytics for Excel falls back to use a single tuple bucket request. In some cases, this behaviour ensures improved performance when the workloads have a wider variety of complexity. In other cases, however, it can degrade performance as the single tuple bucket query can be slow to execute for some workloads.
To test this configuration parameter with a Planning Analytics for Excel Custom Report workload, start by increasing it to 70, and measure the difference in performance. If there is an improvement, try increasing it in intervals of 10 through 100. When performance improvements plateau or start decreasing for your workload, decrease it by 10 to find the ideal setting for your workload.
- Close Microsoft Excel.
- Open the CognosOfficeXLLSettings.xml file, located in Users\[user name]\AppData\Local\Cognos\Office Connection.
- Locate the following lines:
<userSettings>
<setting name=" MaximumPolytopeAmount ">60</setting>
</userSettings> - Set MaximumPolytopeAmount to 70.
- Save the CognosOfficeXLLSettings.xml file.
MaximumQueryTuples
Use the MaximumQueryTuples setting to configure the maximum number of queries sent to TM1 when refreshing a Custom Report. The default value in the product is 65536 and corresponds to the maximum count of tuple intersections in the query that is being sent.
This configuration should only be adjusted after making changes to the MinimumPolytopeSize and MaximumPolytopeAmount configuration settings and testing them thoroughly.
- Close Microsoft Excel.
- Open the CognosOfficeXLLSettings.xml file, located in Users\[user name]\AppData\Local\Cognos\Office Connection.
- Locate the following lines:
<userSettings>
<setting name=" MaximumQueryTuples ">65536 </setting>
</userSettings> - Set MaximumQueryTuples to 70000.
- Save the CognosOfficeXLLSettings.xml file.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
03 August 2023
UID
ibm16241608