Independent MySQL, MariaDB & Aurora MySQL consulting

Understand your database bottleneck. Leave with a clear plan.

I investigate slow queries, locks that keep coming back and latency nobody can explain, for software teams and agencies. You work with me directly, and your engineers get findings and a plan they can work through in order.

The scope and the fee are fixed before I start, and you don't need a support contract.

Planning a new setup instead? See architecture design, review and build for MySQL, MariaDB and Aurora MySQL.

DB-Ex · MySQL example Illustrative sample

Sample report: slow order history in a multi-tenant application

Question investigated

Why does the order-history page become slow for some tenants, and what should the team test first?

Findings (excerpt)

  • No index matches the filter and sort together
  • Deep pages use OFFSET

Next step

Estimate the large-tenant plan with EXPLAIN FORMAT=JSON before any EXPLAIN ANALYZE.

Synthetic MySQL scenario; no customer data or measured results.

Read the MySQL sample →

Two ways to start

Investigate a problem, or design the system

MySQL · MariaDB · Aurora MySQL

Design, review or build a database architecture

Topology, failover and growth, planned with your team before the choices are hard to undo. You get a written design, and a separately scoped build if you want one.

From real audits

Anonymised write-ups of customer engagements, with the evidence each one used.

All case studies →

Who does the work

You work with me, not with a team behind me.

I'm Krzysztof Książek, and DB-Ex is my independent consultancy. I scope the work, do the investigation, write the findings and hand them over myself.

Production database experience

Database reliability engineer on a large Amazon Aurora fleet since April 2025, including major version upgrades and schema and query work with development teams. Earlier, MySQL operations and performance reviews as an operational DBA (2012–2015).

Employment, not DB-Ex client work

Career summary →

Technical work you can inspect

These articles show how I work through a problem: what the evidence says, what it doesn't, and what I'd test next.

The lab code and recorded runs are public: database-labs on GitHub.

Support leadership and technical communication

Head of Support at Severalnines (2019–2025) after four years as a senior support engineer: complex customer escalations on MySQL and MariaDB, technical guides and webinars, and a Percona Live Europe talk on MySQL load balancers.

Employment, not DB-Ex client work

Where a focused investigation helps

Three common starting points

The main offer

Performance diagnostic (MySQL, MariaDB, Aurora MySQL)

I take one slow, locking or expensive workload, find out what the evidence supports and write it up for your engineers, most important step first.

What you receive

  • Findings with their supporting evidence
  • Prioritised recommendations
  • A plan for validating changes
  • Technical handover to your team

One environment and one main question. Scope and schedule are agreed before I start. Fixed fee, agreed after a free scope review call.

The scope review is a free call. We pin down the one question you need answered and what you need from it, and I follow up with a written proposal.

The effort limit is the scope of work we agree up front. It doesn't grow unless we both agree to extend it.

How it runs

  1. Scope
  2. Evidence review
  3. Findings and recommendations
  4. Handover

For agencies and consultancies

Specialist database help for your client projects

If a client's MySQL problem needs more digging than your team has time for, bring me in. You don't have to hire anyone.

You retain the client relationship and implementation work. I provide the database investigation, written findings, and handover to your technical team.

Selected proof and technical writing

See how I approach database problems

All articles →

Have a database question worth investigating?

Tell me what you run, what's going wrong and what you need to know. I'll tell you whether I can help with a fixed-scope piece of work, and if I can't, I'll say so.