Successfully reported this slideshow.

Improving Reporting Performance

1,920 views

Published on

A Common Problem:
- My Reports run slow
- Reports take 3 hours to run
- We don’t have enough time to run our reports
- It takes 5 minutes to view the first page!

As the report processing time increases, so the frustration level.

Published in: Business, Technology
  • wao , so interesting & helpfull
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Improving Reporting Performance

  1. 1. Increasing Reporting Performance
  2. 2. A Common Problem <ul><li>Why do my reports run so slow? </li></ul><ul><li>This report takes 3 hours to run! </li></ul><ul><li>We don’t have enough time to run our reports. </li></ul><ul><li>It takes 5 minutes to view the first page! </li></ul>Report Processing Time Frustration Level
  3. 3. What are the Variables that Affect Performance? <ul><li>CPU speed </li></ul><ul><li>Hyper threading and multi-core </li></ul><ul><li>Operating system </li></ul><ul><li>Network speed </li></ul><ul><li>Database resources </li></ul><ul><li>Number of users </li></ul><ul><li>How active are users </li></ul><ul><li>On demand (live data) versus pre-scheduled (cached) </li></ul><ul><li>SDK </li></ul><ul><li>And the biggest variable of all… the report itself </li></ul>
  4. 4. Report Design for Performance Question: What factors affect report performance? Answer: Time Large Report 22MB Small Report 224KB Process Time <ul><li>Images </li></ul><ul><li>Charts </li></ul><ul><li>Data </li></ul>Less More
  5. 5. Question: What factors affect report performance? Answer: Time Report Design for Performance Complex Report Simple Report Process Time <ul><li>Formulas </li></ul><ul><li>Grouping </li></ul><ul><li>Sub Reports </li></ul><ul><li>Data Providers </li></ul>Less More
  6. 6. Google also has limitations
  7. 7. Hardware Solution
  8. 8. Software Solution
  9. 9. Optimizing Report Design Please note: Any semblance between the speaker and model represented is purely coincidental 3.8 MB .5 MB Right-Sizing A typical Report
  10. 10. <ul><li>The most common type of report </li></ul><ul><ul><li>Relational data </li></ul></ul><ul><ul><li>Based on database tables </li></ul></ul><ul><ul><li>SQL generated by Query Expert </li></ul></ul><ul><li>Checklist </li></ul><ul><ul><li>Is the generated SQL the most efficient query that can be used to return the required data set? </li></ul></ul><ul><ul><li>Is the data set returned in a reasonable time frame? </li></ul></ul><ul><ul><li>Are the database structures optimized for efficient data retrieval? (i.e. indices, keys, etc.) </li></ul></ul><ul><ul><li>Is the database server itself optimized? </li></ul></ul>Improving Report Performance Data source: Scenario 1
  11. 11. <ul><li>SQL command report </li></ul><ul><ul><li>Relational data </li></ul></ul><ul><ul><li>Based on SQL command </li></ul></ul><ul><ul><li>SQL created by report designer </li></ul></ul><ul><ul><li>May or may not include parameters </li></ul></ul><ul><li>Stored procedure report </li></ul><ul><ul><li>Relational data </li></ul></ul><ul><ul><li>Based on a stored procedure </li></ul></ul><ul><ul><li>Stored procedure created by report designer/DBA </li></ul></ul><ul><li>Checklist </li></ul><ul><ul><li>Is the SQL in the command or stored procedure the most efficient query that can be used to return the required data set? </li></ul></ul><ul><ul><li>Are parameters used to push record selection back to database server? </li></ul></ul><ul><ul><li>Is the data set returned in a reasonable time frame? </li></ul></ul><ul><ul><li>Are the database structures and/or stored procedure optimized for efficient data retrieval? (i.e. indices, keys, etc.) </li></ul></ul><ul><ul><li>Is the database server itself optimized? </li></ul></ul>Improving Report Performance Data source: Scenario 2
  12. 12. <ul><li>OLAP report </li></ul><ul><ul><li>1KEY OLAP data source </li></ul></ul><ul><ul><li>SQL Server Analysis Services </li></ul></ul><ul><li>Checklist </li></ul><ul><ul><li>Is the OLAP cube the most efficient structure that can be used to return the required data set? </li></ul></ul><ul><ul><li>Is the data set returned in a reasonable time frame? </li></ul></ul><ul><ul><li>Is the OLAP server itself optimized? </li></ul></ul>Improving Report Performance Data source: Scenario 3
  13. 13. <ul><li>Continuous monitoring and improvement is key </li></ul><ul><li>Know when to scale your hardware architecture </li></ul><ul><li>Know when to break reports apart </li></ul><ul><li>Make the most of schedule reporting & OLAP </li></ul><ul><li>Encourage appropriate use of features and functionality </li></ul>Arriving Good Performance
  14. 14. Thank You <ul><li>Sanjay Mehta </li></ul><ul><li>CEO </li></ul><ul><li>MAIA Intelligence </li></ul><ul><li>[email_address] </li></ul>

×