Which is more efficient in jaspersoft. tables or subreports

0

 

I have a report in Jaspersoft Studio. I need add fiveteen 15 subdatasets. What will be more efficient (use tables or use subreports)

 

juanfernet007's picture
Joined: Dec 6 2011 - 12:39pm
Last seen: 6 months 2 days ago

3 Answers:

1

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.

hozawa's picture
64248
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 1 month ago
1

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.

reportdev's picture
1272
Joined: Oct 12 2015 - 12:05pm
Last seen: 1 week 1 day ago
0

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!

 

juanfernet007's picture
Joined: Dec 6 2011 - 12:39pm
Last seen: 6 months 2 days ago
Feedback