Set system max row limit for Interactive Reports
You can prevent too many resources from hitting your database server at once by setting a system-wide maximum row-limit for Pentaho Interactive Reports. Your users can still define their own design-time row limits in Interactive Reports, but they will never be able to go over the maximum number of rows that you have specified while designing their reports.
Shut down the Pentaho Server.
Locate the
/pentaho-server/pentaho-solutions/system/pentaho-interactive-reporting
directory.Open the
settings.xml
file with any text editor.Find the
<query-limit>
tag and change the default number of 100000 within the tags to the maximum number of rows desired.<!-- The maximum number of rows that will be rendered in a report on PIR edit and view mode. A zero value means no limit. --> <query-limit>100000</query-limit>
Save and close the
settings.xml
file.Start the Pentaho Server.
If you are migrating content from a previous version, you will need to add the <query-limit>
tag to your settings.xml
for Interactive Reports.
Roll back system max row limit
These instructions show you how to return the system maximum row limit to the Pentaho 5.3 settings.
Shut down the Pentaho Server.
Locate the
/pentaho-server/pentaho-solutions/system/pentaho-interactive-reporting
directory.Open the
settings.xml
file with any text editor.To change the maximum number of rows that will be rendered in Pentaho Interactive Reports in edit or view mode, find the
<design-query-limit>
tag and change the default number of 500 back to25
.FROM:
<design-query-limit>500</design-query-limit>
TO:
<design-query-limit>25</design-query-limit>
To turn the
design-query-limit
to be OFF by default, find the<design-query-limit-enabled>
tags and change the value tofalse
.<design-query-limit-enabled>false</design-query-limit-enabled>
Save and close the
settings.xml
file.Restart the server.
Last updated
Was this helpful?