Hi All
I am trying to generate the PDF file with 10Laks record and its taking huge amount of time.
Can you please help in how can we improve the performance?
Are there any guidelines in Jasper for performance setting?
2 Answers:
Posted on November 10, 2010 at 9:40am
There are a few things you can do to speed up pdf generation in Jasper:
<property name="net.sf.jasperreports.export.pdf.compressed" value="true"/>
<subreport isUsingCache="true">
<image isUsingCache="true">
Aside from that, you can try optimizing your SQL: re-evaluate your joins, enable indexes, etc. Keep in mind, there are two major performance hits: database queries and pdf generation.
<property name="net.sf.jasperreports.export.pdf.compressed" value="true"/>
<subreport isUsingCache="true">
<image isUsingCache="true">
Aside from that, you can try optimizing your SQL: re-evaluate your joins, enable indexes, etc. Keep in mind, there are two major performance hits: database queries and pdf generation.