Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release-22.1: backupccl: elide expensive ShowCreate call in SHOW BACKUP
Backport 1/1 commits from #88293. /cc @cockroachdb/release In #88376 we see the call to ShowCreate taking ~all the time on a cluster with 2.5K empty tables. In all cases except SHOW BACKUP SCHEMAS we do not need to construct the SQL representation of the table's schema. This results in a marked improvement in the performance of SHOW BACKUP as can be seen in #88376 (comment). Fixes: #88376 Release note (performance improvement): SHOW BACKUP on a backup containing several table descriptors is now more performant Release justification: low risk performance improvement required for the use of schedules in CockroachCloud
- Loading branch information