I created a report which has 100000 records to fetch. And I have also implemented matrix in my report.
My report is taking more than 1 hour to display.can anyone help me in performance tuning.
Windows, All Outputs
For performance tuning we need the code ;-)
WebFOCUS 7.6, 7.7
Windows, All Output formats
As you state that your report is taking a long time to display, and before you start posting code, let's check some basics.
So your user machine is windows based
All of these things might give some underlying problem on the machine onto which you are trying to display your report.
Only once you have confirmed that your user machine and target application is able to handle that many records should you begin to begin to post code.
Is a report containing 100k records really useful to people? How do you know which of those 100k records you need to look at?
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
We found when dealing with large needed outputs ( 250K + *1) the filling / sorting etc. of HOLD files takes a lot of time.
Using Binairy ( default ) instead of FORMAT FOCUS or XFOCUS made a big difference.
You might want to add 'timers' in your code to find out exact where the most time is used.
*1 Yes, Wep5622, it's an address-list, and we really need all those records to print addresses on a mailing ;-)
WF: 18.104.22.168 > going 22.214.171.124
Dave is spot on. Try to avoid creating focus hold files. When I worked for IBI I had a customer that was creating a HOLD FORMAT FOCUS file and it would run a couple of hours and their window for when the job must finish by kept getting close and closer. They used FOCUS format thinking thats what they had to. When we went with the default format it finished in a few minutes. She was total shocked. She started looking at all of her other programs to see what else she could speed up.This message has been edited. Last edited by: TexasStingray,
|Powered by Social Strata|