×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Performance-wise, SQL isn't always the devil and RLA isn't always the silver bullet.
In a recent example, I had to tweak the performance of a program written by a SQL averse dev. The code had a pair of nested loops. The outer loop read sequentially thru an entire table. The inner loop read sequentially thru the same table (in its entirety) for each row from the outer loop. That's O(n^n), if I remember my Big-O notation properly. A simple SQL join took runtime down from 5 minutes to about 1 second.
-----Original Message-----
From: Roger Harman [mailto:roger.harman@xxxxxxxxxxx]
Sent: Wednesday, February 19, 2020 2:14 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Profiling RPGLE programs
Pretty sure it's all RLA. But, the access paths are definitely on my list of potential issues.
Patrick posted a link to an IBM page that looks promising.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
--
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.