Stonefield Query
 
Stonefield Site Map
Stonefield Support

  Overview
  Submit Support Ticket
  Forums
  Online Help Files
  Services
  Pre-Sales Support
Online Webinars
Video Demonstrations
Feature Requests
  Software Maintenance
  Support Testimonials
  FAQ's
Quick Links
Buy Now!
Download Free Trial
Watch a Video
Contact Us

 
 You are here: Support * Support Forums   Search

 Stonefield Query Support Forum

Welcome to the Stonefield Query Support Forum. Please note that in order to participate in the support forums, registration at our site is required. If you are already a member of our site, please sign-in.

 

Subject: Slow Report Generation

You are not authorized to post a reply.   

Author Messages
turash
Posts:3

05/27/2008 12:09 PM Alert 

Datasource : SQL Server Stored Procedure

SFQ Version : 3.20

Rows returned: 32,839

PDF Report Generation time: 14 Minutes

PDF File Size : 3-4 Mb

the performance details mentioned above seems very slow.

Is this the normal performance of SFQ?

 

 

 

dhennig
Posts:100

05/27/2008 1:57 PM Alert 
That seems unusually slow to me. I just did a test report from a SQL Server database that returned about 19,000 records and it took 2 minutes to generate a 503 page, 870 KB PDF file. Granted, this is a smaller result set, and it used a direct SQL statement rather than a stored procedure, but 14 minutes does seem slow.

Create a file called LOG.TXT in the Data subdirectory of the Stonefield Query program folder, then run the report again. This will create a file called DIAGNOSTIC.TXT in that same directory. Email that file to support AT stonefieldquery DOT com so we can see where the bottleneck is.

Other things to consider: the amount of memory in the workstation, how busy the server is, network traffic, etc. Also, will someone really read a 32,000 record, several thousand page report? Perhaps you should add a filter to the report to make it a more reasonable size.

Doug
tmansuy
Posts:161

05/27/2008 4:54 PM Alert 

We took a look at the diagnostic file you sent in, and the bottleneck for the report is the rendering process. This is mostly dependent on the factors that Doug mentions:

 

Other things to consider: the amount of memory in the workstation, how busy the server is, network traffic, etc. Also, will someone really read a 32,000 record, several thousand page report? Perhaps you should add a filter to the report to make it a more reasonable size.
[/quote]


In addition to investigating these things, you can also doublecheck the complexity of the report layout itself. Reducing the number of objects (for example, if you have graphics in the layout) can speed up this process. Also, if you are calling user defined functions from the layout, you may need to optimize the calculations being made.

 

Trevor

 

You are not authorized to post a reply.
Forums > Stonefield Query SDK > General Support > Slow Report Generation



ActiveForums 3.6

 
 
   Privacy Statement  |  Terms Of Use
© 1996-2008 Stonefield Software Inc. All rights reserved.