contentengineer Posted May 8, 2007 Share Posted May 8, 2007 Any advice on the following: (a) Create temporary table of transactional data at beginning of report (in master query?)(b) Create four separate cross tabs based on queries of temporary table Will the data persist across the subdatasets - i.e. is a new connection made to the database each time? Using Japserserver1.2.0+patch, iReport 1.3.0, SQL Server 2005, jtds/jdbc driver based connection THanks Link to comment Share on other sites More sharing options...
contentengineer Posted May 8, 2007 Author Share Posted May 8, 2007 Solved this one. Link to comment Share on other sites More sharing options...
chill_work Posted May 9, 2007 Share Posted May 9, 2007 Excellent! We recently solved this too. The same connection does persist for all subreports or subdatasets. I have not tried with multiple crosstabs but with multiple subreports; it works. The only thing that we are concern with is doing this for all our reports. If there are 1000+ users using a website, I know that each would get there own connection but couldn't this be detriment to the database? At some point when it can't fit anymore temp tables in memory, it will start caching to disk. This will definitely defeat the performance gain when using temp tables. For now, we are only using them where we know we get a huge performance increase. Any thoughts on this? Calvin Link to comment Share on other sites More sharing options...
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