yugabyte/yugabyte-db
在 GitHub 查看[DocDB] DROP DATABASE ChangeMetaDataOperation performance optimization
Open
#14,786 创建于 2022年11月1日
area/docdbgood first issuekind/enhancementpriority/medium
仓库指标
- Star
- (8,229 star)
- PR 合并指标
- (平均合并 17天 21小时) (30 天内合并 92 个 PR)
描述
Jira Link: DB-4104
Description
CatalogManager::DeleteYsqlDBTables currently calls sys_catalog_->DeleteYsqlSystemTable() for each table to be deleted. This results in a SyncReplicateChangeMetadataOperation() for each table.
We could follow what we did for CREATE DATABASE in CatalogManager::CopyPgsqlSysTables to batch all those operations into one.