Thank you Fred. I will try changing the Key Limit and run the process.
I looked at the report and found that there are several such tables/relations where the time is in the range 40min-2.5hrs. When I turn on the advanced options and look at the 'Key lookup limit' under relationship tab, I see that it shows two rows - Parent and Child each having 1 by default. Do I need to change this value to 100 for both Parent/Child? (Q1)
After reading your inputs here, to understand more on what this 'Key lookup limit' is, I went through the below link and found that certain conditions must be true. One of the conditions - "
The table does not have any child tables" isn't true in my case i.e. I have tables and they child tables. Do you happen to know what happens if I still go ahead and change the key limit? (Q2)
https://www.ibm.com/support/knowledgecenter/en/SSMLNW_11.3.0/com.ibm.nex.designer.doc/topics/optdescom-t-defining_key_lookup_limits.htmlI also noticed that the START table also took 2hrs 15mins to process and the SQL criteria I used is as below
LastActivityDtTm > dateadd (dd, -3*365,getdate ())
I understand that the processing time would be based on the criteria used but is there any other reason that you can think of which would contribute to the longer processing time in case of Start table? (Q3)
Thank you.
SA
------------------------------
Optim Learner
------------------------------
Original Message:
Sent: Mon May 04, 2020 09:39 AM
From: Fred Booker
Subject: Archival Job taking too long to run
Optim Learner,
You should be able to see how Optim processed each table, if you asked for a detailed report, below the list of rows for each table. You can check to see how long it took Optim to process each table.
Typically the things you can change if you see a great amount of time on any particular table would be to up the key lookup limit on that table. We just had a similar situation where a job someone wrote was taking 15 plus hours to run. Examining this detail report we found that many tables on took 1 second to process while others took 38 min - 2 hours. When we changed the key lookup limit to 100 for the correct relationships the job now takes 30 minutes totally. In order to change this limit you need to turn on advanced options and examine the key lookup limit on the relationships tab.
I would rerun this with a much smaller subset by either using selection criteria or a table limit on the start table so you don't have to wait 24 hours for the next set of results and once you have it running reasonably you can eliminate the extra limits for the full test.
Hope this helps.
------------------------------
Cheers,
Fred Booker
AB Martin
609-356-6877
fbooker@abmartin.com
Original Message:
Sent: Fri May 01, 2020 12:20 PM
From: Optim Learner
Subject: Archival Job taking too long to run
I have recently started running jobs in Optim so this Question might sound dumb to some.
I ran a archival job (consisting of 43 tables in AD) through a scheduler and it took more than 24hours to run. Below are few statistics
Time Started 4/22/2020 10:26:41
Time Finished 4/23/2020 10:51:16
Elapsed Time 24:24:35
Archive File Data Byte Count 1039578115 Bytes (0.968 GB)
Process Status no errors, no warnings
I do not think it is normal to have the job run for 24hours just for the above size.
My Question: How and where can I check which tables are taking longer times? and if its a relationship issue, can I check that as well?
Thank you for your inputs.
------------------------------
Optim Learner
------------------------------
#InfoSphereOptim
#Optim