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 😞

Tim.
________________________________
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?

Tim,

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: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibm.co%2F2jCA3qs&data=02%7C01%7C%7Ca905698e7c1946daf5ac08d5b43f0163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636613105047986048&sdata=pdo2YCbsyQ%2FRSFu1AM7spcGvrWNR7SnJnRq9Yyo1hak%3D&reserved=0

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,
visit: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Ca905698e7c1946daf5ac08d5b43f0163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636613105047986048&sdata=y4Rq9tn%2BQbx6l2M1WZ56Ahm7acFG6%2F%2BxbC8xXZvvadM%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Ca905698e7c1946daf5ac08d5b43f0163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636613105047986048&sdata=qlcA%2FcdR1AeuXrTuk1jkgfOfXY%2Fu6bV8KdxS92lpbKQ%3D&reserved=0.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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