Since I'm really the only one on the test box, I performed an IPL this morning. Reran the program and it ran in a timely fashion. Weird!!!!
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Birgitta Hauser
Sent: Tuesday, October 20, 2020 11:54 PM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] RE: program running slowly after tr8
Without nowing more it is difficult to say something.
... but I could imagine a temporary index is going to be built or you are missing indexes (may be also temporary indexes MTIs which were created on your current system) You should analyze your Query with Visual Explain or have a look into the IBM i Performance Center in ACS.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok) "What is worse than training your staff and losing them? Not training them and keeping them!"
"Train people well enough so they can leave, treat them well enough so they don't want to." (Richard Branson)
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Smith, Mike
Sent: Dienstag, 20. Oktober 2020 22:48
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: program running slowly after tr8
I applied PTF's and TR8 to my test box last week.
Now I have an embedded sqlrpgle program that now runs hours on my test box and 5-10 minutes on my production box.
I'm not sure if the PTF's have anything to do with it, but it's the same code on both boxes.
Even just running the initial sql of the pgm in STRSQL, there is a noticeable difference in how fast the results are displayed.
Anybody know of any issues that I may need to look into?
Mike
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.midrange.com%2fmailman%2flistinfo%2frpg400-l&c=E,1,WrWlQZCY3eGYNiDdahtjvx_8fW8rD1nA4WAl9KISi5bWUSDQdvD_HVmqB-gm5xbpth-8Q7NOjN5A0sEPv6aoNWDLlX9WkkkV_et0nGkaw8_ob1fyNuVE&typo=1
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2farchive.midrange.com%2frpg400-l.&c=E,1,zmkvFykQn7TL6J7rTKPcC-Oj1L_BgTMuCqxVtGqiQjkA-lU-DpFE8JkdDpweefPCijA8rppg8Ob_2B8k_DY24PExHRVtT66hPLOlpLBwMdaUF-NIzmE,&typo=1
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fmidrange.com&c=E,1,VkbmmsLVEWXeaQ-uuFiiU-IvY4_IxA36P6SAwGmiGidU7kF6DPJUPgRBpOVFr3OpdCrFcyf2_-jF6JWXIskQNkmmap436PmEMW0Cxi0JaQ,,&typo=1 by shopping at amazon.com with our affiliate link:
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2famazon.midrange.com&c=E,1,Xn_K1818F2RKubRQjMCcdykl0nCdJFPHxRdIzrDat11207c9-hAu1j5MIbJ8FXzY8n9rMOmuIHaW5xSdTdk75-7Rvw-mfRECp65g9pPfTqI7WPNczHsNsg,,&typo=1
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.midrange.com%2fmailman%2flistinfo%2frpg400-l&c=E,1,YWWKWjLfrDACml0t14_kiJgDg9xS0Pbn84MTngJZPkL1mGxo0c7ZcDcBFPzaCGmJs0CCTp0FPaSuG-VTJDX32KwT-ohOdbnCI8Gn7QFcTrWvXQ,,&typo=1
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2farchive.midrange.com%2frpg400-l.&c=E,1,qnVa7-UbPxqNBfXPe_3Gm8Tw8N7eBQumNnFXRnZ_WBJTc4WCMRdGIFs75jrpwXN2auqkLOratocdSbX4N2RXBQ68BTrPEdCxL8eBGB5McecOhd0KTWlkdw,,&typo=1
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fmidrange.com&c=E,1,tIzHkZvvt1H0iH5sUmRcErPfgUiol2IY1zVLuX5rEGvdnBjJptTGtcLVzUZ7EMkaQc5wGR3fdUVBaIEkBcLcSHkpvmJy--xInmzMRWRpJw,,&typo=1 by shopping at amazon.com with our affiliate link:
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2famazon.midrange.com&c=E,1,8Ajw1AYLRWD2MxQ_4Zga39dwXbivq4eYvE8rilM3csKIlX5gL1rDTZzuBLBlSWxmCzp9bGViyobExYXTGdynPbk-zk6XU8aqCKFekq2Fa1UzDbtJ5A,,&typo=1
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
As an Amazon Associate we earn from qualifying purchases.