otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Installation and Upgrades Getting past the first step - installing and upgrading OTM / G-Log.

Tags:

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 7th, 2007, 00:35
Junior Member
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
CDrozdowski is on a distinguished road
V45 Update/Migration Questions Part 2

Hi Again.
Second big bottleneck...any ideas and suggestions are appreciated:

From dbmigrate_45 Log:

_______
START of mig38940 14:39:11
END of mig38940 Elapsed Time: 7 Hr 44 Mi 16 Sec





From create_dbmigrate_45.sql script:

PROCEDURE mig38940 is
CURSOR c_mat IS
SELECT tolerance_rule_gid,
monitor_agent_gid,
is_active
FROM XX45_MONITOR_AGENT_TOLERANCE;
BEGIN
FOR mat_rec in c_mat LOOP
update monitor_agent
set tolerance_rule_gid = mat_rec.tolerance_rule_gid,
is_tolerance_rule_active = mat_rec.is_active
where monitor_agent_gid = mat_rec.monitor_agent_gid;

GLOG_UTIL.COMMIT_IT(C_MAT%ROWCOUNT,100);

END LOOP;
COMMIT;

UPDATE saved_query
SET is_hidden_for_milestones = 'Y'
WHERE saved_query_gid in (SELECT saved_condition_gid from monitor_tolerance_rule);

COMMIT;

UPDATE MONITOR_AGENT
SET MONITOR_AGENT_TYPE_GID = 'PLANNED'
WHERE MONITOR_AGENT_TYPE_GID IN ('UNPLANNED','EXCEPTION');

DELETE FROM MONITOR_AGENT WHERE MONITOR_AGENT_TYPE_GID = 'EXECUTION';
COMMIT;

DELETE FROM MONITOR_AGENT_TYPE WHERE MONITOR_AGENT_TYPE_GID IN ('UNPLANNED','EXCEPTION','EXECUTION');
COMMIT;

DELETE FROM MONITOR_PROFILE MP
WHERE NOT EXISTS
(SELECT 'X' FROM MONITOR_AGENT MA
WHERE MA.MONITOR_PROFILE_GID = MP.MONITOR_PROFILE_GID
AND MONITOR_AGENT_TYPE_GID = 'PLANNED');
COMMIT;

END mig38940;

ISSUE: again we have large MONITOR_AGENT table....how to change the commit count.... I am tempted to just modify the value.... any issues

catharine
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old June 7th, 2007, 20:28
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 821
Blog Entries: 7
Thanks: 53
Thanked 201 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: V45 Update/Migration Questions Part 2

Catharine,

For me, this one is an easy choice - I would definitely increase the commit value from 100 to something considerably higher. As long as (and I know you are) testing the migration process prior to doing it in PROD, there is nothing to lose!

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about BN Number Generator and Shipments ianlo Workflow 3 October 29th, 2007 07:16
BPEL .jar files for OTM - Part/Patch Numbers rkuruba OTM / EBS / JDE E1 Integration 3 September 8th, 2007 04:16
Optimizing GC3 v5.0 Performance - Part 1 chrisplough Performance, Scalability and HA 6 August 30th, 2007 19:57
V4.5 Migration/Upgrade Part 3 CDrozdowski Installation and Upgrades 1 June 7th, 2007 20:40
V4.5 Update and Migration Question Part 1 CDrozdowski Installation and Upgrades 2 June 7th, 2007 20:33



All times are GMT. The time now is 22:20.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37