yugabyte/yugabyte-db

[DocDB] DROP DATABASE ChangeMetaDataOperation performance optimization

Open

#14.786 aberto em 1 de nov. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C (1.003 forks)batch import
area/docdbgood first issuekind/enhancementpriority/medium

Métricas do repositório

Stars
 (8.229 stars)
Métricas de merge de PR
 (Mesclagem média 17d 21h) (92 fundiu PRs em 30d)

Description

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.

Guia do colaborador