Wiki: It’s time for relational databases to focus on developers
For agents: Markdown version · Wiki index · Explore
- Speaker: Shlomi Noach
- Event: Reversim Summit 2022
- Video: https://www.youtube.com/watch?v=4alePSc9DVg
- Transcript: /transcripts/2022/31-4alePSc9DVg.md
- Language: Hebrew and English · Type: talk · Level: intermediate
- Topics: Databases, Architecture, Developer Experience, DevOps
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker argues that relational databases are currently broken for developers because they treat schema changes as operations rather than deployments. This mismatch creates friction, fear, and adversarial relationships between development and operations teams. The audience learns how modern tooling and concepts like declarative schema updates and rollback mechanisms can solve these pain points. Ultimately, the speaker calls for a shift in mindset to make relational databases focus on developers.
Key points
- 1:40 Schema changes and DDLs are the primary source of friction and pain for developers working with relational databases.
- 14:48 Relational databases view developers as operations personnel rather than software developers, treating schema changes as operations.
- 16:01 To fix the developer experience, schema changes must be treated as deployments rather than operational events.
- 25:34 Emulation algorithms copy data to a new table while capturing the change log to perform schema changes safely on large tables.
- 31:37 By supporting undo deployments, databases could provide a safety net similar to blue-green deployments in stateless applications.
- 31:37 Relational databases force developers to write imperative migration scripts instead of supporting declarative schema definitions.
Takeaways
- Treat database schema updates as code deployments to better align development and operational workflows.
- Adopt emulation-based migration strategies to handle large table schema changes safely without downtime.
- Push for declarative schema definitions to avoid maintaining complex, error-prone migration logs.
Questions this talk answers
- How can developers safely perform schema changes on large database tables without causing downtime?
- Why do relational databases treat schema changes as operational tasks instead of software deployments?
- What are the benefits of moving from imperative migration scripts to declarative schema definitions?
Technologies
MySQL, Vitess, Kubernetes, Prometheus, Redis, Liquidbase, Flyway
Tags
architecture, databases, developer experience, devops, schema migration, sql