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

Key: HHQ-2237
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Scott Feldstein
Reporter: Scott Feldstein
Votes: 0
Watchers: 0
Operations

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

Slow query needs to be enhanced on mysql, possibly other dbs as well

Created: 16/Jul/08 02:33 PM   Updated: Wednesday 11:02 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.7

Verify By: Kashyap Parikh
Last comment: 18 weeks, 2 days ago


 Description  « Hide
See support ticket for more details, but the slow query in question is ->

  SELECT DISTINCT res.instance_id, res.sort_name FROM EAM_RESOURCE res, EAM_SUBJECT_ROLE_MAP srm, EAM_ROLE_OPERATION_MAP rom, EAM_ROLE_RESOURCE_GROUP_MAP rgm, EAM_RES_GRP_RES_MAP rgrm, EAM_OPERATION op WHERE res.fsystem = N AND srm.role_id = rom.role_id AND rom.role_id = rgm.role_id AND rgm.resource_group_id = rgrm.resource_group_id AND rgrm.resource_id = res.id AND ( srm.subject_id = N OR res.subject_id = N) AND res.resource_type_id = N AND rom.operation_id = op.id AND op.resource_type_id = res.resource_type_id AND (op.name = 'S' OR op.name = 'S' OR op.name = 'S' OR op.name = 'S' OR op.name = 'S') AND (res.sort_name like upper('S') OR res.instance_id in (SELECT appdef_id FROM EAM_CPROP, EAM_CPROP_KEY WHERE keyid = EAM_CPROP_KEY.id AND appdef_type = N AND lower(propvalue) like lower('S'))) ORDER BY res.sort_name DESC


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Scott Feldstein - 16/Jul/08 02:37 PM
linking to support ticket