Hyperic HQ 4.4.0 EE is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-1609
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
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

Oracle needs to avoid spinning on duplicate data points

Created: 04/Feb/08 12:51 PM   Updated: 06/Mar/09 02:14 PM
Component/s: Server
Affects Version/s: 3.2.0
Fix Version/s: 3.2.5

Verify By: Ilaya Perumal
3.0 Category: Metric Data
Last comment: 1 year, 39 weeks, 4 days ago
Resolution Date: 05/Dec/08 04:26 PM
Ranking:
Issue is not rankable.     


 Description  « Hide
Right now when there are duplicate measurement data points oracle database does a batch insert (in one transaction), if that fails it will switch between a batch insert with commits and updates until all the data is inserted.

Oracle has the ability to use a MERGE statement to avoid all of this spinning.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Scott Feldstein added a comment - 13/Aug/08 11:26 PM
added support for oracle MERGE statement in 3.2.5. Test using backfiller by cutting network connection. Also a performance test on oracle would be a good thing here as well.

Scott Feldstein added a comment - 05/Dec/08 04:26 PM
Instead of MERGE we are now using PL/SQL update on duplicate to avoid the spinning.