OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: wdssnyder on April 12, 2013, 01:21:56 PM

Title: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: wdssnyder on April 12, 2013, 01:21:56 PM
arsload table reorg takes much longer in 8.5.0.6 than it did in 8.4.0.3, Anyone know why?
                                                                 
After upgrading to 8.5.0.6 we were getting a 911 lock time out error 
when running arsdb -mv.                                                 
We were able to solve this issue in test by raising the LOCKTIMEOUT     
database paramater to 150 from 30.   In production we also had it set   
to 30 and we had raise it to 1200, which is 20 minutes to get through   
the reorg of the ARSLOAD table.   We'd like to know what caused this   
seemingly drastic difference?  Everything seems to be working OK, but   
we are wondering if having it set so high could cause us other issues. 
When we set it to 20 minutes we timed it and just barely finished the   
reorg before the 20 minutes was up. So we've set it even higher to make
sure we don't get a timeout when regular production runs. Can you give 
us any insight as to what changed between 8.4 and 8.5 to make such a   
difference or is it a problem.                           
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Justin Derrick on April 17, 2013, 01:34:03 PM
You shouldn't be getting a lock on the table unless some other process or task is trying to modify it.  Have you stopped your arsload/arsmaint processes before doing a table re-org?

-JD.
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: wdssnyder on April 19, 2013, 01:19:23 PM
Yes our ARSLOAD processes is stopped, prior to arsmaint -r and arsdb -ms. Our DB2 is v9.5.3, could there be 'locklist escalation' problem?
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Paul on April 19, 2013, 04:36:34 PM
Has arssockd been stopped?
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: wdssnyder on April 19, 2013, 08:04:24 PM
arssockd and arsjesd are processing, when arsmaint -r and arsdb -ms are running
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Mike on May 24, 2013, 02:46:15 PM
I ran into the same upgrade when I upgraded about a month ago, my solution was to just skip that step and have the DBA manually reorg and do runstats on all of the tables that the process went through.

It went much quicker that way and I've personally had no side effects from doing it that way.
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: wdssnyder on August 19, 2013, 06:32:08 PM
Would setting 'self_tuning_mem' to ON and 'database_memory' to automatic, help with -911 locktimeout? DB2 is 9.5.3

Self tuning memory                    (SELF_TUNING_MEM) = OFF
Size of database shared memory (4KB)  (DATABASE_MEMORY) = COMPUTED
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Justin Derrick on August 20, 2013, 01:24:21 PM
Self tuning memory has nothing to do with lock lists.

Take Mike's advice -- have your DBA do the re-orgs manually on the "ars*" tables, and see if the DBA reports back any issues.

Don't forget to report back to us with your results!

-JD.
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Paul on January 06, 2014, 09:50:42 PM
Justin,
Would you recommend always having the dba reorg and stat the database?  I am having some issues having upgraded from 8.5.0.7 to 9.0.0.2 and then back out to 8.5.0.7.
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Justin Derrick on January 07, 2014, 12:56:38 PM
I'd have the DBA do these steps manually and see if they encounter any issues (and correct any issues found).  Then try to go back to running arsmaint.

I've seen this happen in a variety of upgrades, where arsmaint runs long (or fails) after major upgrades, but resumes working properly after a manual runstats/reorg.  Of course, this can take a prohibitively long time on larger systems.

-JD.
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Paul on January 07, 2014, 04:06:43 PM
Thank you, Justin.

I've had a DBA ask me what exactly is the script doing when we run the arsmaint command to run stats and reorg the database.  Is there somewhere where I can share with the DBA what the command is doing?
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Justin Derrick on January 08, 2014, 12:33:43 PM
arsmaint simply issues runstats and reorgs.  There's no magic there.  The snag is that when arsmaint encounters issues, you generally don't get the 'full picture' of what the error was (or if there were any warnings), etc.

By running these commands interactively, you get to see if there are warnings or errors during processing, which gives you the opportunity to correct the issues.

-JD.
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: wdssnyder on March 28, 2014, 07:56:36 PM
I believe my original post, in regards to 'arsdb -ms' running long in v8.5.0.6 has been resolved.

PM93010 - fixed in v8.5.0.8
arsdb -m creates many DB2 logs and therefore consumes an
unacceptable amount of discspace and time

My company applied v8.5.0.8 March/2014 and 'arsdb -ms' went from 50+ minutes to 2
Title: Re: CMOD upgrade from 8.4.0.3 to 8.5.0.6 question
Post by: Justin Derrick on March 29, 2014, 12:29:38 PM
Excellent.  Thanks for the update.

-JD.