# Emil Bialobrzeski > Senior Staff Database Engineer at Diligent, based in London, UK, focused on database reliability. Keeps large multi-engine estates fast, observable and boring — across relational and distributed engines, on-prem and across AWS, Google Cloud and Azure. ## At a glance - **Current role:** Senior Staff Database Engineer · Database Reliability, Diligent (2022 — present) - **Location:** London, UK. Originally from Poland. - **Technologies:** SQL Server, PostgreSQL, MariaDB / MySQL, Cassandra / ScyllaDB, Couchbase, AWS RDS & Aurora, AWS CDK, PowerShell, Python, T-SQL - **Scale:** 15+ years in data; 6 database engines; 400+ hosts / instances; 150+ clusters; 25,000+ customers - **Certifications:** PostgreSQL Administrator, MariaDB Database Administration, AI_devs 4 Builders - **Languages:** Polish — native, English — full professional ## What the role covers - **Platform direction:** Reliability patterns, HA/DR, observability strategy and shared operating models across large multi-engine estates. - **Technical escalation:** The problems that stop making sense at the database boundary — engine internals, query behaviour, replication, Linux memory and distributed systems. - **Engineering leverage:** Automation, self-service tooling, standards and runbooks that turn recurring specialist work into repeatable platform capability. ## Experience ### Senior Staff Database Engineer · Database Reliability — Diligent 2022 — present. Own reliability, performance and operational stability of critical data platforms across relational and distributed engines, on-prem and across public cloud. ### Senior Database Engineer — Diligent 2018 — 2022. Performance and availability work across a growing multi-engine platform. London. ### Database Administrator — Cashflows 2017 — 2018. Payments infrastructure. Cambridge. ### Database Administrator — Ratesetter 2015 — 2017. Tuned server architecture from wait statistics, wrote the internal T-SQL standards, implemented Always On Availability Groups as the DR backbone. ### Development DBA — Cerulean Instrumentation 2014 — 2015. Databases for stand-alone QA instruments, integrated with customer LIMS and MES systems under 21 CFR Part 11. ### SQL Developer / DBA — Regenersis 2011 — 2014. ERP and reporting work, plus EDI integrations across manufacturers and couriers. Where the performance obsession started. ## Selected work Case studies on the homepage, each with its evidence. - [Database Operations Portal — from daily checks to a command center](https://www.emildb.com/#portal-modal). Notes on it: [The Model Proposes, the Human Disposes, the Platform Verifies](https://www.emildb.com/notes/ai-fix-loop-next-look-agrees); [A Finding Needs an Identity Before It Can Have a History](https://www.emildb.com/notes/findings-need-an-identity); [Inspect and Change Are Different Verbs](https://www.emildb.com/notes/inspect-and-change-are-different-verbs); [The Backup's GTID Was Not the Master's Position](https://www.emildb.com/notes/mariadb-dr-rebuild-gtid-1236); [From Daily Checks to a Database Engineering Command Center](https://www.emildb.com/notes/database-engineering-command-center). - [Tracing 20 GB of unexplained MySQL memory](https://www.emildb.com/#mysql-modal). Notes on it: [The 20 GB MySQL Had Already Freed](https://www.emildb.com/notes/mysql-memory-beyond-the-engine). - [Turning plan regressions into a self-healing control loop](https://www.emildb.com/#query-store-modal). Notes on it: [The Plan Got Worse. Query Store Had the Previous One.](https://www.emildb.com/notes/query-store-last-good-plan). - [Making SQL Server memory follow the failover](https://www.emildb.com/#fci-memory-modal). Notes on it: [Making SQL Server Memory Follow the Failover](https://www.emildb.com/notes/sql-server-fci-memory). ## Engineering notes Long-form production investigations, architecture decisions and engineering lessons. - [The Model Proposes, the Human Disposes, the Platform Verifies](https://www.emildb.com/notes/ai-fix-loop-next-look-agrees): An LLM suggests fixes from a database capture; the portal checks, a human runs and a fresh capture verifies each one. (Automation, SQL Server, MariaDB, PostgreSQL, ScyllaDB; 2026-11-27) - [A Finding Needs an Identity Before It Can Have a History](https://www.emildb.com/notes/findings-need-an-identity): How a findings tracker stopped rediscovering the same breaches: a key per finding, and resolution only on evidence. (Observability, SQL Server, PostgreSQL; 2026-11-27) - [Inspect and Change Are Different Verbs](https://www.emildb.com/notes/inspect-and-change-are-different-verbs): How a database operations portal changes production: one executor, lock keys, heartbeats, stops and no retries. (Architecture, PostgreSQL; 2026-11-27) - [The Backup's GTID Was Not the Master's Position](https://www.emildb.com/notes/mariadb-dr-rebuild-gtid-1236): A MariaDB DR rebuild that restored cleanly, then failed with error 1236: the GTID a backup records is not where to start. (Production Forensics, MariaDB; 2026-11-27) - [Row-Level Security as the Second Lock, and the Grants I Kept Out of It](https://www.emildb.com/notes/postgresql-row-level-security-second-lock): PostgreSQL RLS in two multi-tenant apps: forced policies, transaction-local context, and sharing kept out of policies. (Architecture, PostgreSQL; 2026-11-27) - [The Database Moved Hosts. Its Service Master Key Couldn't Follow.](https://www.emildb.com/notes/rds-custom-service-master-key-host-replacement): On RDS Custom for SQL Server, a host replacement can leave the Service Master Key undecryptable, and backups fail next. (Production Forensics, SQL Server; 2026-11-27) - [A CTE Is Not a Temp Table](https://www.emildb.com/notes/sql-server-cte-is-not-a-temp-table): A SQL Server search procedure ran its full-text search four times per call, because every CTE reference is re-evaluated. (Performance, SQL Server; 2026-11-27) - [CPU Fell 67%. Reads Went Up 44%. Both Were True.](https://www.emildb.com/notes/sql-server-scalar-udf-reads-went-up): Replacing per-row scalar UDFs with inline TVFs in SQL Server, and the per-row spools that quietly added the reads back. (Performance, SQL Server; 2026-11-27) - [Tuning Babelfish When the Client Speaks T-SQL but the Planner Is PostgreSQL](https://www.emildb.com/notes/babelfish-performance-toolbox): A practical workflow for getting execution plans, runtime evidence and session-level tuning data from Babelfish. (Performance, Babelfish, PostgreSQL; 2026-09-06) - [Archiving a Hot Audit Table Without Making the Archive the Outage](https://www.emildb.com/notes/batched-audit-archiving): Batched SQL Server archiving with bounded transactions, referential safety, restartability and throttling. (Automation, SQL Server; 2026-09-06) - [From Daily Checks to a Database Engineering Command Center](https://www.emildb.com/notes/database-engineering-command-center): How daily DBA checks became a distributed multi-engine operations platform — and then an audited control plane for the estate. (Architecture, SQL Server, PostgreSQL, MariaDB, ScyllaDB, WSFC; 2026-09-06) - [A 99.99% Cache Hit Ratio Didn't Answer the PostgreSQL Memory Question](https://www.emildb.com/notes/postgresql-cache-hit-memory-pressure): Why a 99.99% PostgreSQL cache hit ratio did not explain connection-driven memory pressure. (Production Forensics, PostgreSQL; 2026-09-06) - [The Label Changed. The Prometheus Series Didn't Disappear.](https://www.emildb.com/notes/prometheus-label-changed-series-did-not): A mutable label created a stale in-process metric series that made a database-health aggregate look healthy. (Observability, MariaDB; 2026-09-06) - [The Plan Got Worse. Query Store Had the Previous One.](https://www.emildb.com/notes/query-store-last-good-plan): Using Query Store and FORCE_LAST_GOOD_PLAN to turn SQL Server plan regressions into a bounded self-healing loop. (Automation, SQL Server; 2026-09-06) - [Making SQL Server Memory Follow the Failover](https://www.emildb.com/notes/sql-server-fci-memory): Recalculating SQL Server max memory from the FCI instances actually running on each cluster node. (Automation, SQL Server; 2026-09-06) - [The SQL Server Was Up. Kerberos Was Pointing at the Wrong Account.](https://www.emildb.com/notes/sql-server-kerberos-wrong-spn-owner): Diagnosing Cannot generate SSPI context when SQL Server worked by IP but failed by hostname. (Production Forensics, SQL Server; 2026-09-06) - [The 20 GB MySQL Had Already Freed](https://www.emildb.com/notes/mysql-memory-beyond-the-engine): Tracing unexplained MySQL RSS through Performance Schema, Linux process memory and the allocator. (Production Forensics, MySQL; 2026-09-05) - [The Database Failed Over. Its CDC Jobs Didn't.](https://www.emildb.com/notes/sql-server-cdc-after-failover): Availability Groups move databases, not Agent jobs — so CDC capture stops at every failover. A watchdog that notices. (Automation, SQL Server; 2018-12-15) - [The Lookups I Stopped Skipping](https://www.emildb.com/notes/ssms-query-shortcuts): Eight SSMS query shortcuts behind one stored procedure, and the parser constraint that shaped the whole interface. (Automation, SQL Server; 2017-10-25) ## Side projects Built in the evenings; several are live products. - **KroniTag** — A life record for the things you own. Every item gets a QR sticker. Behind it sit its documents, its service history and reminders by date or by meter reading. Receipts and manuals are read by a local AI model, and a person approves what it extracted before anything is saved. Documents are encrypted and virus-scanned on the way in. (https://app.kronitag.com, https://pet.kronitag.com) - **Staffium** — Working-time records for temporary workers. For plants that run on agency staff. A weekly shift grid that checks daily and weekly rest, overnight shifts and the clock change; a one-click daily crew confirmation with exceptions; and an automatic split into regular, night and overtime hours. - **insta-roller** — 360° flight footage in, finished reels out. Takes the raw files from a 360° camera and the glider’s IGC log, finds the phases of the flight, frames the shots, levels the horizon and renders reels with speed, altitude and vario on screen. A holiday profile does the same from the camera’s own sensors and sound, and recognises people from a self-hosted photo library. (https://github.com/ebialobrzeski/insta-roller) - **GlidePlan** — A gliding task planner that reads the sky first. Suggests task routes from the weather, the airspace and the terrain, checks every leg against airspace, and keeps waypoint libraries that can be shared. Tasks export to the formats cockpit software reads — CUP, TSK, XCTSK and LKT — or as a QR code. (https://www.glideplan.org) - **FlightSlate** — Kneeboard cards for European VFR flying. Ten cards generated as print-exact PDFs — flight planner, in-flight navlog, airport and ATIS, weather, fuel, diversion, radio, conversions, wind maths and notes — in A5 and A4 two-up, plus a tablet edition. Every build is validated against its own manifest. (https://www.glideplan.org) - **claude-worker** — An AI agent on the night shift. Claude Code as a persistent agent in a container: drop a task in a queue, or send it from Telegram, and the result lands on a branch by the morning. (https://github.com/ebialobrzeski/claude-worker) - **pocket-sync** — Voice notes, kept at home. Syncs an AI voice recorder’s recordings, transcripts and summaries into a local archive, with a small web UI to browse them. Every file is verified by size and hash, so a restart never leaves a broken one. (https://github.com/ebialobrzeski/pocket_sync) - **Garage energy** — The garage’s electricity, accounted for. Type in the meter reading; it works out the usage, the cost at the rate that applied on the day, a forecast and the running balance to settle up. One container, no cloud. ## Outside work Glider pilot. Builds [GlidePlan](https://www.glideplan.org), a gliding task planner. ## Contact - Email: contact@emildb.com - LinkedIn: https://www.linkedin.com/in/emilbialobrzeski - GitHub: https://github.com/ebialobrzeski/ - CV (PDF): https://www.emildb.com/media/Emil-Bialobrzeski-CV.pdf - Website: https://www.emildb.com/