datatrend®

SQL optimisation · database performance

SQL optimisation: hours become seconds

We rewrite your slow SQL queries according to fixed rules – on average 93% shorter runtime. For PostgreSQL, Oracle, IBM DB2, Microsoft SQL Server and MySQL. From €250 per query (net plus VAT), depending on complexity.

Our approach

How we make SQL queries fast

SQL queries are usually written from a business perspective using standard means. With large volumes of data this leads to high system load and long runtimes. Our own set of rules has evolved over many years in projects at banks, insurers and telecommunications companies – you can see the result in the runtime comparison.

Analyse

We measure how the database actually executes your query and find the steps that cost time and computing power.

Rewrite

We reformulate the query according to our proven set of rules – with the same result and significantly less work for the database.

Suitable indexes

We recommend indexes that fit your queries exactly – so that the database only reads what it really needs.

Move less data

We make sure that as little data as possible is read, joined and transferred.

Measure instead of guess

Every optimisation is measured. You receive the before/after runtime comparison as proof.

For your database

PostgreSQL, Oracle, IBM DB2, Microsoft SQL Server and MySQL – we take the particularities of each system into account.

Process

Three steps to a fast query

  1. Order: choose the number of queries in the shop – from €250 per SQL, net, for businesses only.
  2. Upload: individual SQL files or an entire database (up to 50 GB) via your order page.
  3. Receive: rewritten query, index recommendation and runtime comparison – ready to be built into your application.

Is the entire database slow? Then database optimisation or one of the 13 types of optimisation is worthwhile – from index optimisation to shifting the processing layer.

Results

From our projects

  • Ø 93% shorter runtime thanks to optimised SQL queries
  • Query with more than an hour of full CPU load: a few seconds afterwards
  • Call centre software: response time 80 s → less than 1 s
  • Invoice generation: 480 h → 2 h, CPUs 72 → 2
  • Rating provision at a bank: 172 h → 2.5 h

Anonymised customer projects from banking and telecommunications.

Frequently asked questions

Questions about SQL optimisation

How much does SQL optimisation cost?

From €250 net plus VAT per SQL statement; extensive queries cost more, depending on their complexity. We confirm the binding price after review before we start. Included are analysis, rewritten query, index recommendation and runtime comparison. For entire databases we prepare a quotation based on scope.

How much faster will my queries be?

On average, optimised SQL queries save 93% of runtime. Several hours often become a few seconds – this depends on data volume, data model and indexes.

Which databases do you optimise?

PostgreSQL, Oracle, IBM DB2, Microsoft SQL Server as well as MySQL and MariaDB.

How do I submit my SQL queries?

After ordering in the shop, you upload individual SQL files or an entire database (up to 50 GB) in encrypted form via your order page. The data is deleted after completion.

Does the application have to be changed?

Not necessarily. Covering indexes and structural changes in the database (passive tuning) are often sufficient. Where the query itself has to be rewritten, we deliver the finished version ready to be built in.

Can I check my SQL for free beforehand?

Yes. The free SQL quick check instantly shows where a query breaks our rules – no registration required.

Which query is slowing you down?

Check it for free – or order the optimisation directly.