The following ways are provided for you to make reports efficient, reliable, and fast at runtime.
To do this, select the panel, go to the Report Inspector, and then change the property Suppress to true.
This is more efficient than hiding the panel.
To do this:
By default, the size of data buffer is 2MB. When data exceeds the default size, data will be written to disk, which will slow down the report processing. JReport Designer enables you to set data buffer size by specifying two properties of a dataset or subreport in the Report Inspector: Records per Page and Max Page Number. For details, see Data Buffer.
The result buffer is used to store the report result in pages. Its default size is 4 which indicates 4 pages of the report result are allocated to the result buffer, other pages will be stored on disk. If you have enough memory, to get better performance, you can increase the result buffer size to store more pages of report result.
To adjust the result buffer size, in the Report Inspector, highlight the node which represents the report tab, and then change the value of Result Buffer Size to the number of pages you want to hold in memory.
To use this method:
For example, set the properties Column Index=0 and Row Index=2 for a DBField, JReport Designer will put this DBField into the first column and the third row in the generated Text file.
<server_install_root>\bin
. This enables the property Fast Pass to take effect when running the report to the Delimited Format.The Cache Section property is used to cache the objects in the detail panel of a banded object instead of creating them repeatedly. You can set Cache Section in the Report Inspector to true to improve the performance.
Note: Cache Section doesn't work if there is crosstab, text object, chart, etc. in the detail panel of the banded object, because these objects contain child-DBFields.
The Cache Value property is used to cache the layout attributes (font size, font face, width and so on) of DBFields when exporting the report to any format. To get better performance, set it to true in the Report Inspector.
The Push Down Group Query property controls whether to push down group level summary computations in reports to the DBMS at runtime. By pushing down the computations, the DBMS' computation capability can be made use of, and thus the reports' running efficiency will be improved.
The property can be specified at three levels for page report: JDBC connection, query within the connection, and page report. The setting on page report has the highest priority. While, for web report and library component, the property can be specified only at the JDBC connection or the query within the connection. The setting on the query has higher priority.