Which is more efficient in jaspersoft. tables or subreports
Posted on September 21, 2017 at 9:02am
I have a report in Jaspersoft Studio. I need add fiveteen 15 subdatasets. What will be more efficient (use tables or use subreports)
Joined: Dec 6 2011 - 12:39pm
Last seen: 7 months 5 days ago
Posted on September 21, 2017 at 2:33pm
If you can use tables, it would be better because subreports are other reports that are embedded. That is, each subreport is a different file.
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 8 months ago
Posted on September 22, 2017 at 8:13am
I have seen considerable difference between execution times with Tables and Subreports.
Reports with Tables execute way faster when compared to subreports.
I dont really know the reason... but it could be because of the report connections being passed in to other resources that makes it slow for subreports.
Joined: Oct 12 2015 - 12:05pm
Last seen: 7 months 3 weeks ago
Posted on September 22, 2017 at 8:27am
I thought, various subreports in a master report were more efficient, but NO. I done a test. fifteen subreports in a master compared to one report whit fifteen tables whit diferents datasets. Tables are most efficient really.
Thank you for your answers!
Joined: Dec 6 2011 - 12:39pm
Last seen: 7 months 5 days ago