We have many ver 8.5 reports that have SQL inserted into the report. They are not linked to stored procedures, they are just raw sql inserted into the SQL that Crystal creates. The developer who created these is no longer here, and I dont understand why they were created in this fashion.
We are using ODBC connections to an AS400 DB2 database. The problem is that the reports are so slow that they time out, or take hours to run. Unfortunately, the users have become so used to the reports taking literally 4 hours, that if it finishes in 'only 3 hours' they are happy. I have recreated some reports using Crystal features, and the performance time went down to just a couple of minutes.
I am trying to figure out exactly why the inserted sql just doesnt perform in an acceptable manner. There is so much of it, it would not be feasible to post here, but does anyone have a good understanding of the the layer structure in Crystal and where sql typically fails?
I'm looking for a more general opinion of development methods and efficiency.
Thanks so much.
We are using ODBC connections to an AS400 DB2 database. The problem is that the reports are so slow that they time out, or take hours to run. Unfortunately, the users have become so used to the reports taking literally 4 hours, that if it finishes in 'only 3 hours' they are happy. I have recreated some reports using Crystal features, and the performance time went down to just a couple of minutes.
I am trying to figure out exactly why the inserted sql just doesnt perform in an acceptable manner. There is so much of it, it would not be feasible to post here, but does anyone have a good understanding of the the layer structure in Crystal and where sql typically fails?
I'm looking for a more general opinion of development methods and efficiency.
Thanks so much.