History | Log In     View a printable version of the current page.  
Hyperic HQ 3.2.5-EE Maintenance Release is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-1795
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Ryan Morgan
Reporter: Ryan Morgan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

Missing index on EAM_METRIC_AUX_LOGS.metric_id

Created: 10/Mar/08 04:31 PM   Updated: 17/Mar/08 03:26 PM
Component/s: Measurement
Affects Version/s: 3.2.1
Fix Version/s: 4.0.0, 3.2.2

Issue Links:
Depends
 

Verify By: Kashyap Parikh
Last comment: 29 weeks, 4 days ago
Resolution Date: 10/Mar/08 05:03 PM


 Description  « Hide

This was originally discovered via bug HHQ-1788.

There is a missing index on EAM_METRIC_AUX_LOGS.metric_id which has a foreign key constraint into EAM_MEASUREMENT. This means on deletes from EAM_MEASUREMENT the database needs to do a full table scan on EAM_METRIC_AUX_LOGS to check constraints. This results in slow deletes of Measurement objects.


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Ryan Morgan - 10/Mar/08 05:03 PM

Fixed in 4.0.0 build #652 and 3.2.2 build #636

Kashyap Parikh - 17/Mar/08 03:26 PM
Verified new index exists with 3.2.2 #640 on postgres and mysql DBs