Scrum, Kanban, and SAFe
The three Agile frameworks DBAs meet most, with Scrum's roles and ceremonies, Kanban boards and WIP limits, and SAFe's release trains and PI planning.
Three common frameworks
Agile is a set of values; frameworks turn them into a way of working. The three a DBA is most likely to meet are Scrum, for teams that work in fixed-length sprints; Kanban, for a steady flow of incoming work; and SAFe, for coordinating many teams across a large organization.
| Scrum | Kanban | SAFe | |
|---|---|---|---|
| Best for | A team building a product or project in planned increments | Ongoing, unpredictable work, such as support and operations | Large organizations with many teams working on related systems |
| Rhythm | Fixed sprints, usually two weeks | Continuous flow, no sprints | Planning intervals of 8 to 12 weeks, with sprints inside |
| Roles | Product Owner, Scrum Master, Developers | None required | Team roles plus train-level roles, such as Release Train Engineer |
| Key measure | Velocity: work completed per sprint | Cycle time: how long one item takes | Value delivered across the train each planning interval |
| DBA example | A team migrating databases to the cloud | A DBA team handling requests, incidents, and maintenance | A bank's data platform team serving many application teams |
Scrum
Scrum is the most widely used Agile framework. Work happens in sprints: fixed periods of one to four weeks, most often two, each producing a usable increment, a finished, working piece of the product.
- Product Owner
- Decides what the team works on and in what order, by managing and prioritizing the product backlog: the single, ordered list of everything the product might need.
- Scrum Master
- Helps the team use Scrum well: runs the events when needed, removes obstacles, and protects the team from interruptions. A coach, not a manager.
- Developers
- Everyone who builds the increment. In Scrum, "developers" includes testers, analysts, and DBAs on the team, not only programmers. The team decides how to do the work.
A DBA might be a full member of a Scrum team, or shared across several teams, attending the events where database work is planned and reviewed.
Scrum's ceremonies (events)
Scrum's meetings are often called ceremonies; the official Scrum Guide calls them events. Each has a clear purpose and a time limit, called a timebox. For a two-week sprint:
| Event | When and how long | Purpose | The DBA's part |
|---|---|---|---|
| Sprint planning | Start of the sprint; up to about 4 hours | Agree a sprint goal and choose backlog items to deliver | Flag database work hidden in stories, such as migrations, indexes, or new access, and estimate it |
| Daily Scrum (stand-up) | Every day; 15 minutes | Check progress toward the sprint goal and raise blockers | Share progress on database tasks, and spot anyone blocked on a database request |
| Sprint review | End of the sprint; up to about 2 hours | Show the finished increment to stakeholders and gather feedback | Demo database improvements, such as faster reports or automated refreshes |
| Sprint retrospective | After the review; up to about 1.5 hours | Decide how the team can work better next sprint | Raise process issues, such as late schema reviews or missing test data |
| Backlog refinement | Ongoing, often a weekly session | Clarify, split, and estimate upcoming stories | Ask the database questions early: data volumes, performance needs, and security |
Kanban
Kanban comes from Toyota's factories, where cards (kanban means "signboard" in Japanese) signaled when to make more parts. In IT, it's a board that shows work moving through stages, with limits on how much can be in progress at once.
- Visualize the work
- Every piece of work is a card on the board, so everyone sees what's waiting, in progress, and done.
- Limit work in progress (WIP)
- Each column has a maximum number of cards. Starting less and finishing more cuts multitasking, and a full column shows a bottleneck immediately.
- Pull, don't push
- People pull the next card when they have room, rather than having work pushed onto them.
- Measure flow
- Lead time (from request to done) and cycle time (from starting to done) show how quickly work gets through, and where it waits.
Kanban has no required roles or sprints, which suits DBA teams whose work arrives unpredictably: access requests, incidents, refreshes, and maintenance. Many teams still hold a few regular meetings, such as a daily look at the board and a periodic replenishment meeting to choose what comes next. Some combine the two frameworks as Scrumban: sprints for planned project work, with a Kanban flow for requests.
SAFe (Scaled Agile Framework)
Scrum and Kanban were designed for single teams. Large organizations, with dozens of teams working on connected systems, need a way to plan and deliver together. SAFe is the most widely used framework for this.
- Agile Release Train (ART)
- A long-lived team of agile teams, usually 50 to 125 people, that plans, builds, and delivers together on a shared schedule. A Release Train Engineer coordinates it, like a Scrum Master for the whole train.
- Planning interval (PI)
- A fixed period, usually 8 to 12 weeks, made of several iterations (SAFe's word for sprints) plus an innovation and planning (IP) iteration for learning, improvement, and getting ready for the next PI. Older SAFe versions called it a program increment.
- PI planning
- A one- or two-day event where every team on the train plans the next PI together, agrees objectives, and maps dependencies between teams on a shared board.
- System demo and inspect and adapt
- Regular demos of the integrated work of all teams, and a review at the end of each PI to improve the train's way of working, like a retrospective at scale.
For DBAs, PI planning is the most important event. Database work, such as a new cluster, an upgrade, or a schema change other teams depend on, has to be on the shared plan, or it becomes the dependency that blocks everyone. In many SAFe organizations, DBAs sit in a platform or shared services team on the train, serving the application teams.
Key takeaways
- Scrum runs work in fixed sprints with three roles: Product Owner, Scrum Master, and Developers, which includes DBAs on the team.
- Scrum's ceremonies, or events, are sprint planning, the Daily Scrum, sprint review, and retrospective, with ongoing backlog refinement.
- Kanban visualizes work on a board, limits work in progress, and measures flow. It suits unpredictable DBA work such as requests and incidents.
- SAFe coordinates many teams in Agile Release Trains, which plan together every 8 to 12 weeks in PI planning.
- Whatever the framework, DBAs add the most value by getting database work onto the plan early.