yugabyte/yugabyte-db

[DocDB] DROP DATABASE ChangeMetaDataOperation performance optimization

Open

#14,786 opened on 2022年11月1日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)C (1,003 forks)batch import
area/docdbgood first issuekind/enhancementpriority/medium

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (平均マージ 17d 21h) (30d で 92 merged PRs)

説明

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.

コントリビューターガイド