Bug 534467 (RHQ-1260)

Summary: improve speed of operation history deletion
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: OperationsAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: SubTask
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1260
Whiteboard:
Fixed In Version: 1.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 536412    

Description Joseph Marques 2008-12-14 07:42:00 UTC
during testing, i see deletions of resource operation histories with moderately sized results on the order of 11-12 seconds each.  when i selected an entire page of histories to delete (15 of them), the time skyrocketed (consistently) to 240 seconds.  it should be sub-second to delete a single record, and approximately linear to delete multiple ones in the same UI action.

Comment 1 Joseph Marques 2008-12-14 07:46:10 UTC
rev2369 - improve speed of resource operation history removals by batch deleting the associated configuration and property entities;

post-analysis showed an average deletion time (using the same exact operation histories as this issue was opened against) in the 480ms range.  selecting and deleting 15 resource operation histories at a time was in the 6-7 second range.

Comment 2 Red Hat Bugzilla 2009-11-10 20:29:16 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1260
This bug is related to RHQ-1285