Thanks for that, I only had 7.1 when I last tried it, now on a 7.3 machine there is no difference in the performance as far as I can tell. Unfortunately my main client is still on 7.1 😞

From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Timothy P Clark <timclark@xxxxxxxxxx>
Sent: 07 May 2018 19:21
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] mysql does not have table functions?


I'm not sure when you tried limit/offset on Db2, but IBM did deliver some
performance improvements late last year in 7.2 TR7 and 7.3 TR3. Basically,
the function was pushed down into the query engine (SQE) itself. Prior to
this, the function was implemented "above" the query engine, so that the
optimizer wasn't really involved. If you have a chance to try the newer
implementation, I think you'll find the performance to be much more in
line with your expectations.

Announcement here:

Tim Clark
Db2 for IBM i

date: Mon, 7 May 2018 08:49:15 +0000
from: Tim Fathers <X700-IX2J@xxxxxxxxxxx>
subject: Re: [WEB400] mysql does not have table functions?

...I agree, but in my experience the difference was significant,
instead of getting pages in milliseconds we were getting them in
seconds or even tens of seconds, which gave a completely
unacceptable user experience. It looked like no index was used to do
the limit/offset, I hope they have/will optimise it, as you say,
it's a far more readable construct.

This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.