Skip to content
European companyFounded in 2014Built and operated in EuropePayments secured by Card payments run through Stripe. Your card details never reach our servers.
GRADAX

Database design and optimisation

A database structure that keeps data correct and queries fast, designed new or repaired in place.

Sold by GRADAXAutomation & DataOrder outrightFounded 2014, built and operated in Europe

Key features

  • Schema design or review report
  • Entity relationship diagram
  • Migration scripts for changes
  • Index and query optimisation with timings
  • Data dictionary
See the full specification

About this service

We design new database schemas and fix existing ones that have grown slow or messy. That means tables that model your business properly, constraints that stop bad data getting in, and indexes based on the queries you actually run. For an existing database, we find the slow queries, explain why they are slow and fix them without downtime.

Most slow databases are missing the obvious index

When an application slows down as it grows, the cause is usually not the server or the database engine. It is a handful of queries scanning entire tables because no index matches how they search. A query that took 20 milliseconds with 1,000 rows can take seconds with a million, and nobody notices until customers do.

We start from evidence: the database's own statistics on which queries run most often and take longest. That usually points to a short list of fixes, such as an index on the columns a common filter uses, a query rewritten to avoid loading whole tables, or a missing link between tables that forces repeated lookups. We measure each query before and after, so the improvement is visible rather than claimed.

Constraints stop bad data at the door

Many databases rely on the application to keep data clean. The app checks that an email is unique, that an order belongs to a real customer, that a quantity is not negative. Then a second app, an import script or a hurried manual fix skips those checks, and duplicates and orphaned records creep in. Reports start disagreeing, and nobody is sure which number is right.

A well-designed schema enforces the important rules itself: unique constraints, foreign keys, check constraints and sensible defaults. Whatever writes to the database has to follow them. For an existing system, we find where data has already gone wrong, plan the clean-up and then add the constraints so it does not happen again.

  • Unique constraints on things that must not repeat, such as emails or invoice numbers
  • Foreign keys so records cannot point at something that does not exist
  • Check constraints for values that must stay in range
  • Indexes chosen from real query patterns, not added everywhere

Specifications

Category
Automation & Data
Price
€290 to €1,050
Sizes
Small (Review), Medium (Review and fixes), Large (New design or redesign)
Turnaround
3 days to 4 weeks
Billed
One-time
What you get
5 items, all in the price
What we need from you
Read access to the database, or a recent copy, for existing systems, A description of the data and how it is used, for new designs, The slow screens or reports that prompted the work
Most often bought by
SaaS, E-commerce, Logistics, Healthcare
Sold and delivered by
GRADAX, one contract and one team
Where your data is processed
European Union

What you get

Everything below is in the price. Nothing here is an upgrade.

  • Schema design or review report
  • Entity relationship diagram
  • Migration scripts for changes
  • Index and query optimisation with timings
  • Data dictionary

What changes

  • Tables and relationships that match how the business actually works
  • Constraints that stop duplicate, orphaned or invalid records at the source
  • Slow queries identified from real usage and made faster, with before-and-after timings
  • A schema diagram and data dictionary your developers can rely on

Compare the sizes

The standard price for each size. Extras are priced beside it, not hidden behind a call.

Database design and optimisation: what each size includes
IncludedReview€2903 to 5 working daysReview and fixes€5001 to 2 weeksNew design or redesign€1,0502 to 4 weeks
Schema reviewIncludedIncludedIncluded
Top ten slowest queries analysedIncludedIncludedIncluded
Written recommendationsIncludedIncludedIncluded
Entity relationship diagramIncludedIncludedIncluded
Indexes added or removedNot includedIncludedIncluded
Queries rewrittenNot includedIncludedIncluded
Migration scripts tested on a copyNot includedIncludedIncluded
Before-and-after timingsNot includedIncludedIncluded
Full schema design for up to 25 tablesNot includedNot includedIncluded
Data migration plan from the old structureNot includedNot includedIncluded
Data dictionaryNot includedNot includedIncluded
Backup and maintenance routineNot includedNot includedIncluded
Add to quote

Add what you need

Choose the size

Add what you need

Your total€500

The standard price, plus whatever you add. Confirmed in writing before anything starts; nothing is charged until you accept it.

How it runs

  1. Understand

    Data, users and the questions the business asks of it.

  2. Measure

    Slow queries and data problems found from real usage, not guesses.

  3. Design

    Schema, constraints and indexes planned and reviewed with you.

  4. Apply

    Changes shipped as tested migration scripts, timed for low traffic.

Questions

Which databases do you work with?

PostgreSQL, MySQL, MariaDB, SQL Server and SQLite, plus MongoDB for document data. Most of our design work is on PostgreSQL.

Will the changes cause downtime?

We plan changes to avoid it, using techniques such as building indexes without locking tables. Where a short pause is unavoidable, we schedule it with you.

Do you need access to live data?

Read access or a recent copy is enough for the review. Personal data can be masked in the copy if you prefer.

Related searches

Does not fit a size?

Some work is its own shape. We scope it first and quote it in writing, and the scoping call costs nothing.

Your quote list

Your quote list is empty

Add the services you are interested in, in the size that fits. We send one written quote for all of them.

Browse the catalogue

Start with a category

  • No payment, no commitmentThis is a request. You decide after the written quote.
  • Sold and delivered by GRADAXOne contract and one team, whoever does the work.
  • Your data stays in the EUNothing is moved outside the union to be processed.

Cookie preferences

Choose which cookies you allow. Necessary cookies cannot be turned off: the site needs them to work.