Good day, folks!
I have a question regarding dynamic crosstab query reports. I've successfully put together one of these to report some lab data we regularly generate. I used the example in the Solutions application to do this, and it outputs exactly what I want it to.
My question is, should the speed of these reports be a good deal slower than a regular crosstab query report (fixed column headings)? This thing takes about 30 seconds to run. The underlying query has been set to pull only the top 39 records, and the query runs in a couple of seconds.
The query throws raw screen test data into the dynamic report, and the report performs calculations to show a total of the raw data in each record. This raw data is a series of masses retained on multiple sieves. The report totals up all retained masses in each record, calculates the mass out to a test weight (LBS), and then shows the % mass retained on each sieve. It's pretty simple, but the report is VERY slow. I pulled out all the calculations and ran the report with just what the query was giving it, but gained only a few seconds in output time.
Are these type reports this slow normally? I just changed this report , and the underlying query and tables, to a more normailized structure recently. Before, I had a table with all the test information, plus 8 fields for data from a possible 8 sieves. These 8 fields are repeating and the setup is not normalized. I changed this to a 2 table setup, with a test table and a related results table, in one-to-many fashion. Thus the need for a crosstab query report. I can't set fixed columns, because we use over 50 sieves for all our testing, and have way over 100 possible sieve combinations. The dynamic report fills the bill for this, but I can't believe the report should take 30 seconds to run, given the speed of the underlying query. The old report was set to return all records from the parameters given, not just the top 39, and would churn out a report as long as 70 pages in just a few seconds.
Anyone of you folks have a take on this?
Thank you in advance.
I have a question regarding dynamic crosstab query reports. I've successfully put together one of these to report some lab data we regularly generate. I used the example in the Solutions application to do this, and it outputs exactly what I want it to.
My question is, should the speed of these reports be a good deal slower than a regular crosstab query report (fixed column headings)? This thing takes about 30 seconds to run. The underlying query has been set to pull only the top 39 records, and the query runs in a couple of seconds.
The query throws raw screen test data into the dynamic report, and the report performs calculations to show a total of the raw data in each record. This raw data is a series of masses retained on multiple sieves. The report totals up all retained masses in each record, calculates the mass out to a test weight (LBS), and then shows the % mass retained on each sieve. It's pretty simple, but the report is VERY slow. I pulled out all the calculations and ran the report with just what the query was giving it, but gained only a few seconds in output time.
Are these type reports this slow normally? I just changed this report , and the underlying query and tables, to a more normailized structure recently. Before, I had a table with all the test information, plus 8 fields for data from a possible 8 sieves. These 8 fields are repeating and the setup is not normalized. I changed this to a 2 table setup, with a test table and a related results table, in one-to-many fashion. Thus the need for a crosstab query report. I can't set fixed columns, because we use over 50 sieves for all our testing, and have way over 100 possible sieve combinations. The dynamic report fills the bill for this, but I can't believe the report should take 30 seconds to run, given the speed of the underlying query. The old report was set to return all records from the parameters given, not just the top 39, and would churn out a report as long as 70 pages in just a few seconds.
Anyone of you folks have a take on this?
Thank you in advance.