Scrivio Interview library
LeadershipAdvanced6 min read · updated 12 November 2026

Database capacity incidents happen every quarter across your company because each team plans on its own. How would you set up capacity management as a practice?

I would make capacity a shared practice instead of each team's private guess: collect standard metrics for every database (CPU, storage, IOPS, connections, growth rate) in one place with automatic forecasts, hold a quarterly capacity review for each critical database with named owners and actions, and alert on forecasted exhaustion against agreed headroom targets, not only on current usage. New features include expected load in their launch review, and the platform offers scaling options with known lead times, so teams start in time.

Why this question is asked

When capacity incidents happen every quarter, the cause is rarely that teams are careless. Each team plans with different metrics, different spreadsheets and different ideas of how much headroom is enough, and nobody sees the whole picture until a database runs out of disk or CPU at peak. Interviewers ask senior leaders this question to see whether they can turn scattered effort into a repeatable practice that teams actually follow. In this answer, we will look at why per-team planning fails, then build the practice from shared metrics and forecasts, reviews with owners, headroom targets and alerts, launch reviews and platform options with lead times, and finally how we know it works.

1Why Planning Team by Team Fails

Per-team planning fails in predictable ways. Each team measures different things, so one tracks disk while another only looks at CPU, and neither tracks connection counts until the pool limit is hit. Forecasts, when they exist, are made once and forgotten. Teams launch features that double load on a shared database owned by another team, who learns about it from the incident. And when a team does see trouble coming, it discovers that the fix, such as a bigger instance class or a new replica, needs procurement or a platform change that takes weeks.

Capacity management as a practice means a common way of measuring, forecasting, reviewing and acting, run the same way for every critical database, with a small central function that owns the method and the tooling, and teams that own their own databases' numbers.

2Standard Metrics and Forecasts in One Place

The foundation is a single place where every database reports the same core metrics: CPU at peak, storage used and growth rate, IOPS and throughput against the volume's limits, connections against the configured maximum, memory and cache hit rate, and replication lag. The platform team collects them automatically from monitoring, so teams do not fill in spreadsheets.

On top of the metrics, the tooling computes forecasts: a trend line per metric that answers the useful question, when will this database cross its limit at the current growth rate. That is the number people act on. Saying disk is 62 percent full means little; saying disk will be full in 47 days at current growth demands a decision.

Step throughThe capacity management cycle
  1. Collect standard metricsCPU, storage, IOPS, connections, growth
  2. Forecast each limitdays until exhaustion at current growth
  3. Below headroom target soon?
    YesAlert owner, open capacity actionNoWait for the next review
  4. Quarterly review per critical DBowner, forecast, planned actions
  5. Launch reviews add expected loadnew features update the forecast
  6. Choose a platform optionknown lead time decides the start date

6 steps in order. Play them, or step through them one at a time.

Forecasts and lead times together decide when to act.

3Quarterly Reviews With Owners and Actions

Every critical database gets a named owner and a short quarterly capacity review: 30 minutes with the owning team, the platform team and, for shared databases, the main consuming teams. The review looks at the forecasts, the known upcoming launches and events such as seasonal peaks, and agrees on actions with owners and dates, such as tune the three top queries before the November peak or add a replica by March. Actions are tracked like any other work, and the next review starts by checking them.

The reason for a fixed rhythm is that capacity problems grow slowly and then fail suddenly. Without a calendar, nobody looks until it hurts.

4Headroom Targets and Forecast Alerts

Headroom is the spare capacity we keep for spikes, failover and growth. We set targets per resource for critical databases, for example peak CPU under 60 percent, storage under 70 percent, connections under 70 percent of the maximum, so a failover onto a replica or a traffic spike does not push us over. Then alerts fire on forecasts, not only on current values: an alert when the forecast predicts crossing a headroom target within the lead time of the likely fix plus a margin, for example 60 days for a storage resize that takes two weeks. A database that only alerts at 90 percent disk gives the team hours; a forecast alert gives them weeks.

5Capacity in Launch Reviews

Many of the incidents come from step changes rather than steady growth: a new feature, a marketing campaign, a migration that backfills millions of rows. So the launch review for any significant feature includes a capacity section: expected requests per second, the new or changed queries, expected data growth, and which databases they hit. The owning team of each affected database signs off, using the forecasts to say whether there is room or which action must land first. It is a short form, not a bureaucracy, and the most useful question on it is which database will this feature add load to and by how much.

6Platform Options With Known Lead Times

Teams act late partly because they do not know how long fixes take. The platform team publishes a menu of standard scaling options, each with its typical lead time and cost, so the forecast and the lead time together tell a team when to start.

Standard scaling options published by the platform
OptionTypical lead timeNotes
Storage resizehours to 2 weeksonline on most managed services, check limits
Bigger instance class1 to 2 weeksplanned failover, reserved capacity may be needed
Add read replica1 to 3 weeksapplication must route reads
PgBouncer in front1 to 2 weekstransaction mode, test session features
Table partitioning1 to 3 monthsmigration of existing data
Split or shard a database3 to 9 monthsapplication and data migration
Illustrative lead times; the platform team keeps the real ones current.

7Knowing Whether the Practice Works

We measure the practice by its outcomes. The main one is the number of capacity incidents per quarter, which should fall from several towards zero; each remaining one gets a review that asks why the forecast or the review did not catch it. Supporting measures are the share of critical databases with an owner and a review in the last quarter, the share of capacity actions completed by their date, and how many days of warning the forecast gave before each near-miss. A leader reports these in the regular engineering reviews, and the central function adjusts the method when incidents show a gap, for example adding a new metric after an incident caused by transaction ID wraparound or replication slot growth.

8Follow-up questions

Who should own capacity, the platform team or the product teams?

Both, with clear roles. The platform team owns the metrics, forecasts, alerts, review format and scaling options. Each product team owns the capacity of its databases: attending the review, doing the actions and declaring expected load at launch. Shared databases need a single owning team that the consumers must inform.

How do you get teams to take quarterly reviews seriously?

Keep them short and prepared, with the data already on the screen, and make the outcomes visible: completed actions, incidents avoided. Once a review catches a problem weeks before it would have been an incident, teams see the value quickly.

What do you do about seasonal peaks such as Black Friday?

Treat them as known events in the forecast. Before the peak, run a dedicated review with load tests against the expected traffic, pre-scale where lead times require it, and freeze risky changes to the critical databases during the peak window.

9Conclusion

In this answer, we replaced team-by-team capacity planning with a practice. Standard metrics for every database feed one place with automatic forecasts of days until exhaustion, critical databases get owners and quarterly reviews with tracked actions, and alerts fire on forecasts against headroom targets rather than on current usage. Launch reviews declare expected load, the platform publishes scaling options with known lead times so teams start in time, and we judge the practice by falling capacity incidents and completed actions.

What to say in the interviewAbout 80 seconds aloud

Open with

Incidents every quarter tell me the problem is the lack of a common practice, not careless teams. So first, I would have the platform team collect the same metrics for every database automatically, CPU at peak, storage and growth rate, IOPS, connections, memory and replication lag, in one place, with forecasts that say how many days until each limit is crossed at the current growth rate, because that is what people act on.

Then, if they want more

Second, every critical database gets a named owner and a short quarterly capacity review with the platform team and main consumers, looking at forecasts and upcoming launches and agreeing actions with dates that are tracked.

Third, headroom targets such as peak CPU under 60 percent and storage under 70 percent, and alerts on forecasted exhaustion within the fix's lead time, not just at 90 percent full. Fourth, launch reviews for significant features must state expected load and which databases it hits, with sign-off from the database owner.

Fifth, the platform publishes standard scaling options, resize, bigger instance, replica, PgBouncer, partitioning, sharding, with their real lead times, so teams know when to start. I would measure success by capacity incidents per quarter going towards zero, plus review coverage and action completion, and review every remaining incident to improve the method.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Database capacity incidents happen every quarter across your company because each team...": https://scrivio-interview-library.netlify.app/databases/database-operations/b132baa442/