[ https://issues.apache.org/jira/browse/HIVE-24432?focusedWorklogId=522135&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-522135 ]
ASF GitHub Bot logged work on HIVE-24432: ----------------------------------------- Author: ASF GitHub Bot Created on: 09/Dec/20 09:10 Start Date: 09/Dec/20 09:10 Worklog Time Spent: 10m Work Description: aasha commented on a change in pull request #1710: URL: https://github.com/apache/hive/pull/1710#discussion_r539130987 ########## File path: standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java ########## @@ -10800,53 +10801,89 @@ public void addNotificationEvent(NotificationEvent entry) throws MetaException { @Override public void cleanNotificationEvents(int olderThan) { Review comment: The same improvement done in cleanNotificationEvents can be applied to cleanWriteNotificationEvents also. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 522135) Time Spent: 2.5h (was: 2h 20m) > Delete Notification Events in Batches > ------------------------------------- > > Key: HIVE-24432 > URL: https://issues.apache.org/jira/browse/HIVE-24432 > Project: Hive > Issue Type: Improvement > Affects Versions: 3.2.0 > Reporter: David Mollitor > Assignee: David Mollitor > Priority: Major > Labels: pull-request-available > Time Spent: 2.5h > Remaining Estimate: 0h > > Notification events are loaded in batches (reduces memory pressure on the > HMS), but all of the deletes happen under a single transactions and, when > deleting many records, can put a lot of pressure on the backend database. > Instead, delete events in batches (in different transactions) as well. -- This message was sent by Atlassian Jira (v8.3.4#803005)