yugabyte/yugabyte-db
Vedi su GitHub[DocDB] DROP DATABASE ChangeMetaDataOperation performance optimization
Open
#14.786 aperta il 1 nov 2022
area/docdbgood first issuekind/enhancementpriority/medium
Metriche repository
- Star
- (8229 star)
- Metriche merge PR
- (Merge medio 17g 21h) (92 PR mergiate in 30 g)
Descrizione
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.