Load testing for database-backed systems
Concurrency is what finds the query.

The query that looks fine in isolation is often the one that takes the system down, because contention only appears when many sessions want the same rows at once. LoadFocus creates that condition on purpose.


Query plans lie under concurrency

An execution plan is measured on a quiet system. It says nothing about lock waits, connection pool exhaustion, or a plan that flips once statistics shift under load. Those are properties of the system under concurrency, not of the query, and only concurrency reveals them.


Finding contention

Drive load through the real path

Generate traffic through the application rather than against the database directly, so the connection pool and ORM behaviour are part of what is being tested.

Raise concurrency until it bends

Response time rising non-linearly with virtual users is the signature of contention. The concurrency where the curve turns is the number worth writing down.

Monitor the port afterwards

TCP monitors confirm the database port is reachable and how long a connection takes, from several regions, on a schedule.


Where to go next


Database performance: FAQ

Why not just benchmark the query directly?

Because a direct benchmark removes the concurrency, the pool and the application, which is where the problems usually are. A fast query can still produce a slow system.

What does contention look like in the results?

Response time climbing faster than the load that caused it. Linear growth is capacity; a sudden knee is contention.

Can I monitor a database port?

Yes. TCP monitors check that a port accepts connections and report the connection time, for databases and other non-HTTP services.

Should I test against production?

Against an environment with production-shaped data, if you can. Contention depends on data volume and distribution, so an empty staging database will not reproduce it.

Learn more. Read on our blog.

Outgrown your testing tools?

Load test websites and APIs from 25+ cloud regions, monitor page speed and uptime, and get AI analysis that explains your results in plain English.Start for free
AI analysis of a load test result: performance summary, throughput analysis, and recommended improvements in plain English

We'll help you get started

Browse use cases, getting started videos, tutorials, and our showcase to find what you need to succeed with LoadFocus, and as a business.

Learn

Browse our documentation covering everything from use cases to getting started guided and videos.

Explore

Tools to make your testing development and overall experience much better.



A newsletter that sparks joy

Get notified about our upcoming features and articles.



×