[ https://issues.apache.org/jira/browse/PHOENIX-7677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viraj Jasani updated PHOENIX-7677: ---------------------------------- Description: Inserting TTL_DELETE CDC event from CompactionScanner for single expired row at a time can cause slight degradation to the write workload to the CDC index table. To improve the performance of inserting TTL_DELETE events, CompactionScanner can accumulate 50 mutations by default and perform the batchMutate(). Any mutations that are not inserted into the CDC index should be inserted with batchMutate() while closing the CompactionScanner. was:To improve the performance of inserting TTL_DELETE cdc events, CompactionScanner can accumulate 50 mutations by default and perform the batchMutate(). Any mutations that are not inserted into the CDC index should be inserted with batchMutate() while closing the CompactionScanner. > TTL_DELETE CDC event to use batch mutation > ------------------------------------------ > > Key: PHOENIX-7677 > URL: https://issues.apache.org/jira/browse/PHOENIX-7677 > Project: Phoenix > Issue Type: Improvement > Reporter: Viraj Jasani > Assignee: Viraj Jasani > Priority: Major > Fix For: 5.3.0 > > > Inserting TTL_DELETE CDC event from CompactionScanner for single expired row > at a time can cause slight degradation to the write workload to the CDC index > table. > To improve the performance of inserting TTL_DELETE events, CompactionScanner > can accumulate 50 mutations by default and perform the batchMutate(). Any > mutations that are not inserted into the CDC index should be inserted with > batchMutate() while closing the CompactionScanner. -- This message was sent by Atlassian Jira (v8.20.10#820010)