br: mysql privilege tables restore acceleration #58757
Labels
component/br
This issue is related to BR of TiDB.
severity/major
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
Currently, br
full restore
by default restores mysql tables includingmysql.bind_info
,mysql.user
,mysql.global_priv
,mysql.global_grants
,mysql.default_roles
, andmysql.role_edges
. And the restoration is via sql statement ofreplace into
.If the tidb cluster has tens of thousands or even millions of users, restoring those system tables can cost hours. BR needs to optimize the system table restoration. One possible optimization is to rework the process when those system tables' schemas are not changed.
The text was updated successfully, but these errors were encountered: