[ https://issues.apache.org/jira/browse/PHOENIX-7677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viraj Jasani updated PHOENIX-7677: ---------------------------------- Description: 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. (was: To improve the performance of inserting TTL_DELETE cdc events, CompactionScanner can accumulate 25-50 mutations and perform the batchMutate() at once. Any mutations that remain un-ingested should be inserted while returning false from CompactionScanner#next(), as returning false means CompactionScanner is done scanning all the rows from the given store.) > 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 > > > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)