Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Speed Up Crystal Report

Posted on 2016-09-01
5
Medium Priority
?
84 Views
Last Modified: 2016-09-01
Hello,

I have a Product Value Report as at date which I run on my SQL Database (via my accounting software) which gives me the location value of stock as at a date.  

One issue I have with the report is that the more transactions and warehouses you have in the database the longer the time taken to produce the report.

I’m wondering if anyone would know how to speed up the report for me if possible?

Attached is an example with saved data.

Thank you.
QuantityValuebyLocationAsAt.rpt
0
Comment
Question by:jspc
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:HuaMinChen
ID: 41779448
You have to ensure the query is running fast against the database, by ensuring that you're matching the tables with proper indices.
0
 

Author Comment

by:jspc
ID: 41779468
I don't understand what you mean
0
 
LVL 23

Expert Comment

by:Ido Millet
ID: 41779587
What is gProductAsAtDate -- a snapshot table or a VIEW that has to do a lot of heavy lifting before it can return the data? If it's a VIEW, you could automate the process of periodically materializing it to a snapshot table in order to speed up the report.
0
 

Author Comment

by:jspc
ID: 41779603
Yes it is a view.
0
 
LVL 23

Accepted Solution

by:
Ido Millet earned 2000 total points
ID: 41779608
Then pursue that issue.  You can start by asking the DBA to find out how long it takes that VIEW to run. If that is indeed the issue, you could consider materializing it.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question