What are the different option to configure the “Maximum number of rows to retrieve” for the specific Report definition?
The default was set to 500 in Design Studio → Reporting Setting & Data access tab of the Report Definition.
RULE-ADMIN-SYSTEM-SETTINGS PEGA-RULESENGINE PYMAXRECORDS (Default is 500) - This configuration will impact all the Report definition in the application
Do we have any DSS or System setting for Dynamic Configuration of “Maximum number of rows to retrieve” for the specific report definition?
What will default count if the RULE-ADMIN-SYSTEM-SETTINGS PEGA-RULESENGINE PYMAXRECORDS is set to null? What can have the largest impact on the performance in this context?
@SVAQuest I think there is no DSS to set the .pyMaxRecords for a single Report Definition.
If you want to change the .pyMaxRecords value, you can change it in the pagination option. If you set it, for example, to 10, it will change the .pyMaxRecords (see the xml attachment).
Change to 25 and you will see that the .pyMaxRecords will change (see the attachments).
Although this will force you to use pagination.
You can always try the “Display N rows overall …” option
btw, I don’t know what will happen if it’s set to null, and I don’t want to. You can try modifying the rule directly using the obj- method.
The OOTB logic to figure out the max row to return is as following -
If (pyReportParamPageName.pyMaxRecords != "")
Max Record = pyReportParamPageName.pyMaxRecords
ElseIf (Max No. Record specified in Report Def)
Max Record = Max No. Record specified in Report Def
Otherwise
Max Record = @getRuleSystemSetting("Pega-RulesEngine","pyMaxRecords")
Look at Step 12 and 30 of OOTB activity pxRetrieveReportData.
Structure of pyReportParamPageName page can be found here: