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, Aurora MySQL and ClickHouse.
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. Before that, 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.
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.
How the diagnostic works →Clarify the assumptions, risks, and validation steps around a defined performance question.
What the review covers →Bring a specialist into the investigation while your team retains delivery ownership.
Working with agencies →The main offer
A focused investigation of your database problem. Written findings, prioritised next steps, and a technical handover to your team.
One environment and one principal question, with the scope, fee, and schedule agreed before work begins. Fixed fee, agreed after a short scope review.
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.
Asynchronous replication or Galera Cluster, compared across one, two and three data centres: failover, split-brain risk and the cost of network latency.
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.