Investigate a performance problem
A fixed-scope diagnostic of one slow, locking or expensive workload: written findings, prioritised next steps and a handover to your engineers.
Independent MySQL, MariaDB & Aurora MySQL consulting
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.
Why does the order-history page become slow for some tenants, and what should the team test first?
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
A fixed-scope diagnostic of one slow, locking or expensive workload: written findings, prioritised next steps and a handover to your engineers.
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.
Anonymised write-ups of customer engagements, with the evidence each one used.
Who does the work
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.
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).
Career summary →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.
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.
Where a focused investigation helps
I find out what the evidence actually supports before you change anything.
I go through the plan, point out what's assumed but untested, and write down how to test it.
I do the investigation and write it up. You keep the client and the delivery.
The main offer
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.
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.
For agencies and consultancies
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
A successful backup job does not prove you can recover. This lab restores a backup as a replica and records the evidence for each scenario.
I killed the MySQL source under load: two seconds at zero throughput, one error per connection, and two failover-hook bugs found on the way.
The full structure of a diagnostic report: evidence with its provenance, findings separated from hypotheses, missing evidence, and validation steps.
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.