dr.dexter Posted November 13, 2015 Posted November 13, 2015 Hi,I'm new to JasperSoft reports, trying to speed up my report.At the moment I have a report with a subreportMain Report Requests by monthMonat / Jahr Product Count [Abrufe] SUM [Pixel]11 / 2014 ProductA 1 140.53711 / 2014 ProductB 27 24.729.30611 / 2014 ProductC 39 42.414.04711 / 2014 ProductD 3 3.274.02010 / 2014 ProductA 281 319.353.78710 / 2014 ProducB 62 72.929.606...Sub Report Requests by year (Variable User, startdate enddate passed)Jahr Product Count [Abrufe] SUM [Pixel]2014 ProductA 7.891 10.183.925.9052014 ProductB 515 578.575.2642014 ProductC 781 661.364.9952014 ProductD 275 412.680.267So it's working, but due to the large DB this takes 15 minutes for the first request, and 15 minutes for the subrequest.Is it possible to speed things up, and make an aggregation of the first result? Or is my concept of adding a subreport wrong? Could I aggregate by product for the year in the footer of the first report?Thx for your helpdex
Solution plambert_1 Posted November 13, 2015 Solution Posted November 13, 2015 Can you provide further information ? - How long dures the query execution process for both ?- Why do you need a subreport ? Cant you have both Month and year in one query and then use groups of jasperreports?- In which banc did you put your subreport?
dr.dexter Posted November 13, 2015 Author Posted November 13, 2015 Hi,thanks for your help. The report ist from a former colleague and I have no experience in using Report software.He din't use the groups of jasperrerports, did the grouping only wiht SQL.I deleted the subreport, changed order by (-> product) and use grouping by product. So i get the sum for every product, that's better than by year.Thx!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now