Case study · Official Progress Service Delivery Partner

From 60 minutes to under 10 seconds: fixing slow Telerik reports

Industry
HR technology, payroll and HCM software (USA)
Engagement
Performance assessment, about 30 hours over four weeks
Stack
Telerik Reporting, .NET, Oracle Database (SQL Server for testing)
Services
Report review, SQL tracing, proof of concept, recommendations
Delivery
One senior consultant, fully remote

Key results

  • 50–60 minutes → under 10 seconds for two critical payroll reports
  • About 300× faster rendering in the proof of concept
  • Root cause found without access to the production database
  • 5 reports assessed in depth, 3 rated critical
  • About 30 hours of consulting, well within the budget
  • A repeatable fix pattern for a library of nearly 400 reports

Client details are withheld for confidentiality.

The client

A US software provider of payroll and human capital management (HCM) solutions. Its customers rely on the platform for payroll processing, tax filings and HR reporting.

The platform includes a library of nearly 400 reports built with Telerik Reporting, many of them customer-specific variants of the same core report. The client was also planning to modernise its reporting stack and move to a newer web report viewer.

The challenge

Some of the most important reports had become too slow to use.

Our approach

The goal was to find the real cause quickly, prove a fix, and leave the team with a pattern it could apply on its own.

1. Pick a representative sample. We chose five reports: the slowest ones and some healthy ones. Comparing the two groups made the problem pattern easier to see.

2. Review every report layer. Data sources, nested tables and lists, grouping, aggregates, expressions, styling and layout, with each finding rated by severity.

3. Trace the SQL on real-shaped data. Because the Oracle database was not available, we loaded part of the data into SQL Server, ran the reports and traced every SQL statement they executed. That showed exactly where the render time went.

4. Prove the fix. We refactored two critical reports with the proposed fix and measured them before and after on the same data.

5. Hand it over. A written assessment with prioritised recommendations, a walkthrough of the findings and the refactored reports, and follow-up questions answered as they came up.

The root cause: death by a thousand queries

The slowness did not come from any single query. It came from how the reports were put together.

The critical reports defined 19 to 29 data sources, many of them attached to tables nested inside other tables. Each nested table ran its own query for every row of its parent.

The numbers add up fast. A report with 20 nested data sources and 100 rows makes 1 + 100 × 20 = 2,001 database calls for a single render. At real payroll volumes, that quickly reaches thousands of round trips.

On top of that, separate queries fetched and summed data the report had already loaded, just to show subtotals and totals.

What we delivered

A proven refactoring pattern. In the proof of concept, we consolidated the data sources and fed the nested tables through Telerik Reporting bindings, using data that was already loaded. Totals and subtotals were calculated inside the report instead of by extra queries. In one report, three data sources became one.

A severity-rated assessment. Findings in seven areas, with each reviewed report rated from OK to Critical, and six prioritised recommendations, from “highly recommended” to “for consideration”.

A modernisation roadmap. The steps for upgrading to the current Telerik Reporting release, moving to the Standalone Report Designer, and sharing style sheets across reports to make them easier to maintain.

The results

Area Before After
Render time 50–60 minutes Under 10 seconds
Database calls Thousands per report A few consolidated queries
Root cause Unknown Found and proven
Fix approach Report by report A repeatable pattern

The proof of concept showed that the hour-long reports could be interactive again, without changing the database. The client’s team now has a tested pattern to apply across its report library, and expert help when it needs it.

Lessons for any slow Telerik report

  1. Count the database calls, not just the query time. Fast queries still make a slow report if they run thousands of times.
  2. Watch out for nested data sources. A table inside a table with its own data source runs one query per parent row.
  3. Load once, bind many. Fetch the data in as few queries as possible and pass it to nested items with bindings.
  4. Calculate totals in the report. If the data is already loaded, use report aggregates instead of extra totals queries.
  5. Trace before you tune. SQL tracing shows where the time really goes, before anyone rewrites queries or adds indexes.
  6. Keep the stack current. Newer Telerik Reporting releases bring fixes, features and a better-supported designer.

Are your Telerik reports taking minutes, or hours, to render? The cause is often in the report design, not the database. Our Telerik Reporting Health Check finds the real bottleneck and proves a fix before you roll it out across your report library.

Planning a reporting migration?

Tell us about your reports. We reply within one business day and suggest how to prove the approach on a small pilot first.

Reply within 1 business day · NDA on request · Teams in the EU and US · Your data stays with Intway

What happens nextKrasimir Baylov · Free Readiness Check · 30 min
  1. We reply within one business dayand suggest a few times for a call.
  2. 30-minute video callabout your reports, your stack and your timeline. If you like, email us 2–3 sample reports beforehand.
  3. You get a complexity snapshotand a rough per-report estimate.

Prefer email? Write to consulting@intwayreporting.com.

Registration request · no online payment

Telerik Reporting Basics

  1. Requestthis form
  2. Invoicewithin 1 business day
  3. Bank transferwithin 10 days
  4. Confirmedwhen payment arrives
Invoice total (excl. VAT)€990
Contact
Invoicing
EU companies: needed for a reverse-charge invoice.
If your company needs it on the invoice.

Your seat is held for 10 calendar days while the transfer arrives. Prefer email? Write to info@intway.com.

Free download · PDF

Download

Tell us where to send it. We'll email you the link.