Domains · Platform
Leading databases teams
Most engineering mistakes can be rolled back. Lost or corrupted data cannot. You lead a few scarce specialists who carry irreversible risk for data that other teams' code writes every second.
See the 23 roadmap steps this changes ↓What is different here
- 01
Mistakes here do not roll back
A bad deploy can be reverted in minutes. A dropped column, an update without its filter or a corrupted table cannot. Data outlives every release, and that asymmetry justifies more ceremony here than anywhere else in engineering. Say so openly, or people will bring the habits that serve them well in stateless code.
Sort operations by whether they can be undone. For the ones that cannot: a second person, a verified backup taken first, a rehearsal on a copy and a delay before anything is physically deleted. Remove standing write access to production data and grant it for a task, with a record. Make asking for a second pair of eyes normal for your most senior people too.
- 02
A backup is real only when it has been restored
A green backup job tells you a file was written. It does not tell you the file can be read, that it contains what you need or how long a restore takes. Teams discover the difference during the incident.
Restore on a schedule, to a clean environment, by someone who did not build the backup. Time it and compare with the recovery target agreed with the business. Cover the cases replication cannot help with: a bad delete is copied to every replica within seconds, so you also need recovery to a point in time. Ask every team three questions: when did you last restore this, how long did it take, who did it. Report the answers upward as measured facts.
- bookData Integrity: What You Read Is What You Wrote (Site Reliability Engineering) (opens in a new tab)Raymond Blum and Rhandeev Singh
- guidePostgreSQL Documentation: Backup and Restore (opens in a new tab)PostgreSQL Global Development Group
- guideContingency Planning Guide for Federal Information Systems (NIST SP 800-34 Rev. 1) (opens in a new tab)National Institute of Standards and Technology
- 03
Who owns the schema, and how it changes
Product teams own their data model and write the queries. Your team owns the engine underneath. A schema change sits between the two: it is a deploy that can lock a table and stop the product, and old and new code must both work while it runs.
If your specialists review every migration, they become the gate. If nobody does, one migration takes the site down. Put the knowledge into tooling: checks that flag locking or destructive operations, a standard pattern of expanding first and contracting later, and migrations that run through the pipeline. Specialists review only what is flagged. Watch for databases shared by several teams. Nobody owns that schema, and every change is a negotiation.
- 04
A few specialists and a long apprenticeship
Deep database skill is built over years of incidents and is rare in the hiring market. Most organisations have one or two such people. They get pulled into every slow query and every design review, which leaves no time for the work only they can do and makes them a single point of failure.
Use them to teach and to build guardrails. Product teams own their queries and the first line of diagnosis; give them the training and the tools to read a query plan. Pair a second engineer with the specialist during incidents and upgrades until that person can run one alone. Offer a senior path that does not require managing people, or you will lose them to an employer that does.
- 05
Engine choices run on a slow clock
Choosing a datastore is among the least reversible decisions a company makes. Moving between engines later is the most expensive migration you will run. Each additional engine also needs its own backups, monitoring, upgrade procedure and on-call knowledge, so the true cost of a new one is paid by your team for years.
Keep the supported list short and say in writing who runs anything outside it. Plan major version upgrades around the project's published support dates, because those dates do not move for you. Test claims about consistency and failover yourself before you depend on them. A product page is not evidence.
- 06
What a managed database does not manage
Executives often hear managed service and conclude that the database no longer needs people. The provider takes on hardware, patching and replacing a failed node. It does not take on your schema, your slow queries, your growth in data, the delete someone ran by mistake or the proof that a restore works.
Be specific about the split when you argue for staffing. You need fewer people than if you ran the engine yourself, and different ones: less hardware tuning, more data modelling, query review and recovery practice. Read the provider's limits and recovery guarantees closely. They describe the service's promises, and your duties begin where those stop.
On the roadmaps
These steps change when the team works in databases. Set it as your field and every roadmap highlights them.
Reliability and SRE Leader
open with this as your field →- Disaster recovery and testing it
Restore each critical database from backup on a schedule and record the time taken. Include the case replication cannot save you from: a bad write copied to every replica.
- Change management and safe deploys
A schema change cannot be canaried or rolled back like code. Require expand-then-contract steps so each one is reversible, and check migrations for operations that lock tables.
- Capacity and load planning
Data only grows. Track storage, connection counts and the largest tables against the limits of one node, and start the archiving or sharding decision long before you reach them.
- Production readiness reviews
Ask for the restore time measured in a drill, the named owner of the schema and what happens to writes during a failover.
- Service ownership
A database shared by several teams has no real owner for its schema or its load. Name one owning team per database, or split it.
- Severity levels
Give data loss and corruption a top severity of their own, however few users have noticed. The damage grows every minute that writes continue.
Platform and Developer Experience Leader
open with this as your field →- Platform team, not ticket queue
Self-service has to cover creating a database, running a migration and getting a restored copy. Keep a specialist in the loop only for flagged, destructive or very large changes.
- Paved roads versus mandates
Support only the engines you can back up, monitor and staff on call. A team that picks another one runs it alone, and you say so in writing before they start.
- Migrations you must finish
A data migration needs dual writes, backfill and verification before cutover, then a period in which you can still go back. Plan the verification as carefully as the move.
- Keeping generalists and specialists
One or two database experts is normal and fragile. Have them teach and build guardrails, and move first-line query diagnosis to product teams.
- Security and compliance built in
Remove standing write access to production data. Grant time-limited, logged access through tooling, so the audit trail exists without anyone writing it.
Engineer to Tech Lead
open with this as your field →- Owning releases
Ship schema changes separately from the code that uses them, in an order where old and new code both work. Rolling back code must never require rolling back data.
- Choosing technology conservatively
A new datastore brings its own backups, monitoring, failure modes and on-call knowledge. Exhaust what your current engine can do before adding one.
- Making and revisiting decisions
Schema and datastore choices are the least reversible decisions your team makes. Give them the slowest, most written process you have.
Staff and Principal Engineer
open with this as your field →- Architecture across team boundaries
Two teams reading the same tables share a hidden contract. Put an API or a published view between them before either needs to change the schema.
- Managing technical risk
Ask when each critical database was last restored and how long it took. An untested restore is a common large risk that nobody has funded.
Director to VP of Engineering
open with this as your field →- Reliability and security accountability
Data loss is the outage you cannot wait out. For each critical store, know the recovery point and time agreed with the business and whether a drill has met them.
- Due diligence and integration basics
Ask to see a restore, the migration history and the list of people who can write to production data. They show operational maturity faster than an architecture diagram.
Startup CTO
open with this as your field →- Choosing a boring stack
Pick one well-known relational database on a managed service. It will carry you further than you expect, and you can hire people who know it.
- Security and data protection basics
Turn on automated backups with point-in-time recovery and restore once before launch. Repeat the restore after every major schema change.
Data and ML Leader
open with this as your field →- Data ownership and data contracts
Analytics that read production tables directly turn every schema change into a broken pipeline. Publish a contract or a replica for analytics and keep those reads off the primary.
- Privacy and data protection
A deletion request has to reach replicas and backups too. Know how long a deleted record survives in each, and write that into the retention policy.
Engineering Manager to Director
open with this as your field →- Reliability and incident ownership
Ask each team for the date and duration of its last restore drill. Treat no answer as an open risk in your area.