Database replication lag catch-up calculator

Transfer and apply stages are treated as a continuously pipelined bottleneck.

Your inputs

Use the units shown.

Bottleneck throughput (bytes/s)
3,000,000
Net drain rate (bytes/s)
2,000,000
Catch-up time (seconds)
500
Scenario status
Converges

Your calculation
How is this calculated?

The smaller of transfer and apply capacity.

Bottleneck throughput minus incoming generation rate.

Backlog divided by positive net drain rate. Zero backlog takes zero time; positive backlog with non-positive net rate cannot converge.

Describe whether the current backlog can drain under the supplied constant rates.

Transfer and apply stages are treated as a continuously pipelined bottleneck. Constant rates ignore network variability, buffering and pauses. A zero starting backlog reports already caught up at this instant even if future rates would create a backlog.

OpenStax: percentages and proportions ↗

Try an example

Worked example

Bottleneck throughput (bytes/s): 3,000,000

Inputs
  • Current backlog (bytes): 1000000000
  • New data generation (bytes/s): 1000000
  • Transfer capacity (bytes/s): 5000000
  • Apply capacity (bytes/s): 3000000

Compare inputs

Bottleneck throughput (bytes/s): 80

Inputs
  • Current backlog (bytes): 1000
  • New data generation (bytes/s): 100
  • Transfer capacity (bytes/s): 80
  • Apply capacity (bytes/s): 90
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.