cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Base backups are single-threaded and ignore concurrency settings
- Ngôn ngữ chính
- Go
- Star
- 191
- Fork
- 72
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 18
Mô tả
The `plugin-barman-cloud` performs base backups using a single upload stream. Unlike WAL archiving (which supports `maxParallel`), there is no way to parallelize the data backup phase. This results in bottlenecks for large databases.
This option:
```
$ kubectl explain objectstore.spec.configuration.data.jobs
GROUP: barmancloud.cnpg.io
KIND: ObjectStore
VERSION: v1
FIELD: jobs
DESCRIPTION:
The number of parallel jobs to be used to upload the backup, defaults
to 2
```
is not applicable due to limitation (only for rsync):
https://github.com/EnterpriseDB/barman/blob/ff040cd1feee805da3e4662a187c583f8730dfab/docs/user_guide/configuration.rst?plain=1#L336
> parallel_jobs
> Controls the number of parallel workers used to copy files during backup or recovery.
It must be a positive integer. Default is ``1``.
> note::
> Applies only when ``backup_method = rsync``.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách truy vết đường dẫn tải lên base-backup của plugin-barman-cloud và so sánh đường dẫn này với cách xử lý maxParallel của việc lưu trữ WAL. Xác định cách để việc tải dữ liệu lên có thể tuân theo một thiết lập job song song có thể cấu hình; được xem là hoàn tất khi giai đoạn base-backup hỗ trợ tải lên song song mà không thay đổi hành vi mặc định hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- go, postgresql
- Lĩnh vực
- cloud, databases, performance
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 52/100