cloudnative-pg / cloudnative-pg/plugin-barman-cloud

Support parallel restore (jobs) for basebackup in barman-cloud plugin

Open
#822 1 comment 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
191
Forks
72
Avg merge
1d 16h
Merged PRs (30d)
18

Description

Currently, the barman-cloud plugin supports parallelism for:

backup (data.jobs)
WAL restore (wal.maxParallel)

However, basebackup restore via barman-cloud-restore appears to run single-threaded.

For large databases, this creates a significant performance bottleneck during recovery.

Contributor guide

Open the contributing guide

Research direction

Start at the barman-cloud-restore entry point and compare how existing data.jobs backup parallelism and wal.maxParallel WAL restore are handled. Determine how basebackup restore currently executes, then verify that it accepts and uses parallel jobs so large database recovery is no longer single-threaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.