Query send and return time point to network bottleneck possibility.
This is almost never the case when a report is performing poorly. If this was the case, ALL reports would perform poorly.
Query execution points to the database or the generated sql.
Report generation may indicate a local machine bottleneck.
I consider these the two most common problems with poor report performance, but they tend to be interrelated.
1. Are you processing as much SQL as possible on the database?
How to find out:
Open your report in Impromptu Admin (Must be Impromptu ADMIN)
Go to Report...Query... and click on the Profile tab.
Click the SQL radial button
The SQL shown is the SQL being passed to the database
Hold CTRL+SHIFT+ALT and click the EDIT button
You should have a window open that is headlined "Magic Query". This is the SQL Impromptu actually has to perform.
Compare the difference between the SQL statements.
Look for anything in the Magic SQL that could be replaced with a database specific function that would force it to run on the database. In three years of troubleshooting Cognos, this was the most common performance issue by far.
2. Local machine bottleneck is caused by one of two problems. The first would be our previous point regarding processing as little SQL as possible on the desktop. The second is whether you have enough horsepower for the report you're trying to run.
Check into the following:
What type of processor do you have? (486
shudder, Pentium 1-4, Athlon, etc.)
How much RAM does the PC have?
Lastly, if you have a database analyst available, check into what fields are indexed in the database. Can you have an index added if necessary?
This is just a start. If you need help troubleshooting your SQL, paste the SQL and Magic SQL in this message and I'll try to help you find efficiencies.
I am what I am based on the decisions I have made.
DoubleD
![[bigcheeks] [bigcheeks] [bigcheeks]](/data/assets/smilies/bigcheeks.gif)