Skip to content
PGtech
← Back to writing
Performanse 29. July 2026. · 6 min read

Why your report is slow — and what actually helps

When a report you need every day takes 40 seconds, a "bigger server" rarely fixes it. Here is what actually speeds things up.

Almost every business system eventually grows a report that loads too slowly. First it is mild discomfort, then a habit, then people stop opening it. And decisions get made on whatever is easy to see.

The good news: slowness is almost always fixable, and rarely needs a more expensive server.

Measure first, then fix

There is no optimisation without measurement. First we find out where the time actually goes — into a database query, into application processing, or into rendering. Very often a single query eats 90% of the time.

Three things that help most often

  • Indexes. A database without the right index scans the whole table for every question. The right index turns seconds into milliseconds.
  • Precomputation. If the same total is recomputed on every open, it is often better to compute it once and store it. Reports then just read the ready result.
  • Caching. Data that rarely changes need not be recomputed on every click.
A report that took 40 seconds usually drops below one — with no hardware change.

When a "bigger server" does make sense

There are cases where a system has genuinely outgrown its infrastructure. But that is a conclusion after measuring, not before. In practice, nine times out of ten the problem is how the data is asked for, not how many servers you have.

If you have a report everyone avoids because it is slow — that is a great first candidate. Measuring is cheap, and the result shows immediately.

Next step

Have a system that should work better?