It is hard to say what happened (without knowing more details), but did you
check if access path (indexes / logical files) are available?
May be before there where a lot of MTI (Maintained Temporary Indexes) that
now have to be rebuilt.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
Modernization ? Education ? Consulting on IBM i
IBM Champion since 2020
"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)
"Learning is experience ? everything else is only information!" (Albert
Einstein)
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rich
Marion
Sent: Tuesday, 3 October 2023 04:45
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: V7R5 SQL Engine Performance Issue
I recently upgraded from V7R3 to V7R5 and noticed many of my SQLRPGLE
program are now taking a super long time to complete. The program stack
points to the SQL EXEC or the FETCH statements.
Today, one program was doing a simply "Insert Into" with the "select" having
a "Group By" over a single table (no joins or subqueries). It was supposed
to insert about 1.2 million records into a table that had over 700 million.
I let it run for 3 hours before I canceled it. It was adding about 25
records/second.
I manually executed the same "Select-Group by" and created a table with the
1.2 million records. Then I wrote an Old fashion read/write program via
RLA. This entire process took less than a half an hour.
Has anyone noticed performance issues with the V7R5 SQL Engine?
TIA
Rich
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.