Add time estimations to Batched Background Migrations

Uses metrics from BBM sampling to estimate the time that migrations will take to run in production environment

Adds new info to Background Migrations section:


Estimated Time to complete: 6 months, 3 days, 50 minutes, and 21 seconds

Consider changing max_batch_size and interval if this estimate is unacceptable.

Sampling information
  • Interval: 120s
  • Total tuple count: 76290170
  • Max batch size:
  • Estimated seconds to complete: 16040697s
  • Estimated number of batches: 76290
  • Average batch time: 1.7521625344352616s
  • Batch size: 10
  • Optimized batch size: 1000
  • N. of batches sampled: 726

Changelog: added

Closes #53 (closed)

Edited by Leonardo da Rosa

Merge request reports

Loading