pingcap / pingcap/tidb

BR restore: memory usage optimization for large number of tables

Open
#38,892 0 comments 0 reactions 1 assignee Claimed by @3pointer View on GitHub
component/br type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
br restore 100k tables, with total 20m rows for 100k tables.

It takes 13G memory to restore 100k tables. There is potential to optimize the memory usage.

![img_v2_a0e285f1-d8bd-412a-943f-15d1e4c96b5g](https://user-images.githubusercontent.com/2316425/199911773-c56b36b4-b72b-495a-b02d-5769a5619b0f.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.