Tracking issue for speed up PiTR by pre-compacting logs #56522
Labels
affects-8.1
This bug affects the 8.1.x(LTS) versions.
component/br
This issue is related to BR of TiDB.
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
For now PiTR is slow. Because we need:
This routine includes many overheads:
We may "pre-compact" the backup data to SSTs, and use the
download
/ingest
API to put them into the cluster.Progress Tracking
Generate SSTs from Logs Offline
tracking issue for implementing
compact-log-backup
intikv-ctl
tikv/tikv#17283compact-log-backup
. tikv/tikv#17284tikv-ctl
. tikv/tikv#17844This Issue tracks the subcommand
compact-log-backup
oftikv-ctl
.Manage the Metadata of Compactions
Migration
s. #55661br log truncate
to delete outdated compactions #56758We will introduce the migration system for log backup storages. Generally, we now modify the "stabilized" logs by putting an atomic "migration".
Point in Time Restore with SSTs
The whole changes is in #54813
Implement a More Friendly User Interface.
Testing
General Workload
This is an internal workload, with:
(Short Duration Compaction) Restore Performance:
(Long Duration Compaction) Restore Performance:
The text was updated successfully, but these errors were encountered: