If you need SSL stay away from FC10 (worse release in years) and FC11 without the W1 On 2/17/2025 1:49 PM, Art Kagel via IBM TechXchange Community wrote:
0100019515758bb8-48208e9c-451f-4e94-bbad-21c538fa113d-000000@email.amazonses.com"> For some reason that I will never fathom, this IBM Forum site will let me send private responses and receive them, but, while you and others seem... -posted to the "Informix" group
Original Message:
Sent: 2/17/2025 2:50:00 PM
From: Art Kagel
Subject: RE: Informix 12.10 vs Informix 14.10 Performance Differences
For some reason that I will never fathom, this IBM Forum site will let me send private responses and receive them, but, while you and others seem to be able to reply to such messages, I cannot. So:
You are correct, there is not v14.10.FC11w2. I think that I was thinking of 14.10.FC12 which is due out in March sometime. For now, however, the w1 patch is definitely better than the original FC11 release.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
------------------------------
Original Message:
Sent: Mon February 17, 2025 11:30 AM
From: Steve Nixon
Subject: Informix 12.10 vs Informix 14.10 Performance Differences
Thanks for the insight, Art.
You were exactly right. When I ran the UPDATE STATISTICS, I had tried LOW on all tables and then HIGH on the affected table (ortorh_rec). That had not made a difference. But as soon as we used the DROP DISTRIBUTIONS, the query started behaving the way we expected.
We are not DBAs where I work, and our platform is mostly on PostgreSQL at the moment, so I was not aware of the fact that distributions are only rebuilt if stale. I'm going to have to keep that little tidbit for any future Informix upgrades.
Appreciate the support and insight that I often see in the IBM community pages and the IIUG. I will also make note of the suggested update from FC11w1 to FC11w2.
Thanks again,
Steve Nixon
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.
Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.'.
Original Message:
Sent: 2/17/2025 10:32:00 AM
From: Art Kagel
Subject: RE: Informix 12.10 vs Informix 14.10 Performance Differences
Steve:
First, an aside, I would go to v14.10.FC11w2 (or later) as there are some bugs in FC11 fixed in FC11w1 & FC11w2.
Now: question: Did you drop all of your distributions and recreate them from scratch after the upgrade? There are often subtle differences between how the distributions are collected from one release to the next, especially between major versions like going from v12 to v14! So, it is strongly recommended to run "UPDATE STATISTICS LOW DROP DISTRIBUTIONS;" on the whole database after any upgrade, then run whatever suite of update statistics commands you normally run, or better, get and run my dostats utility!
Next, when you say that you "I have run UPDATE STATISTICS to make sure that the database/tables are up to date." do not forget that if you did not drop your v12 distributions and you have AUTO_STAT_MODE set to '1' then distributions are ONLY rebuilt if they are stale. That won't fix the issue of version differences.
If you are not currently using dostats, I personally recommend doing that. Dostats is included in my utils2_ak package which you can download from my web site (free) at www.askdbmgt.com/my-utilities
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
Original Message:
Sent: Fri February 14, 2025 01:30 PM
From: Steve Nixon
Subject: Informix 12.10 vs Informix 14.10 Performance Differences
Our company has (finally) begun an upgrade from Informix 12 to Informix 14, the version that we are trying to certify for our ERP software. We managed to migrate the 12.10FC14 instance to 14.10FC11 on an AIX 7.3 O/S platform.
All went well and we have the instance up and running. But one thing we discovered was that on Informix 14, some of our queries are much slower than they were on the previous server. For example, we have an order entry program that does a lookup on the orders table, and just initiating the query takes 2 seconds on the old system, and 12 seconds or more on the new server.
I have run UPDATE STATISTICS to make sure that the database/tables are up to date. I ran an oncheck -ci to confirm we have no corruption reported in the affected tables. Nothing I do seems to improve the performance.
The one difference that I noted was when I activated the SET EXPLAIN ON to try and determine where the slowness lies. On the new server, it indicates that a sequential scan was done instead of using the system generated primary key (1675-44183). See below.
NEW SERVER (Model 9105-41B, Memory: 56832MB)
QUERY: (OPTIMIZATION TIMESTAMP: 02-14-2025 11:53:04)
------
select /*+INDEX(ortorh_rec orh_key) */ * from ortorh_rec where ORH_REF_BRH =
'HOU' and ORH_ORD_NO >= 0 ORDER BY ORH_REF_BRH, ORH_ORD_NO
DIRECTIVES FOLLOWED:
DIRECTIVES NOT FOLLOWED:
INDEX ( ortorh_rec orh_key ) Invalid Index Name Specified.
Estimated Cost: 573368
Estimated # of Rows Returned: 145519
Temporary Files Required For: Order By
1) informix.ortorh_rec: SEQUENTIAL SCAN
Filters: (informix.ortorh_rec.orh_ref_brh = 'HOU' AND informix.ortorh_rec.orh_ord_no >= 0 )
Query statistics:
-----------------
Table map :
----------------------------
Internal name Table name
----------------------------
t1 ortorh_rec
type table rows_prod est_rows rows_scan time est_cost
-------------------------------------------------------------------
scan t1 145519 145519 791848 00:01.24 290590
type rows_sort est_rows rows_cons time est_cost
------------------------------------------------------------
sort 4 145519 145519 00:04.14 282778
OLD SERVER (Model 9009-22G, Memory: 61440MB)
QUERY: (OPTIMIZATION TIMESTAMP: 02-14-2025 12:21:26)
------
select /*+INDEX(ortorh_rec orh_key) */ * from ortorh_rec
where ORH_REF_BRH = 'HOU' AND ORH_ORD_NO >= 0
ORDER BY ORH_REF_BRH, ORH_ORD_NO
DIRECTIVES FOLLOWED:
DIRECTIVES NOT FOLLOWED:
INDEX ( ortorh_rec orh_key ) Invalid Index Name Specified.
Estimated Cost: 974511
Estimated # of Rows Returned: 147179
1) informix.ortorh_rec: INDEX PATH
(1) Index Name: informix. 1675_44183
Index Keys: orh_ref_brh orh_ord_no (Serial, fragments: ALL)
Lower Index Filter: (informix.ortorh_rec.orh_ref_brh = 'HOU' AND informix.ortorh_rec.orh_ord_no >= 0 )
Query statistics:
-----------------
Table map :
----------------------------
Internal name Table name
----------------------------
t1 ortorh_rec
type table rows_prod est_rows rows_scan time est_cost
-------------------------------------------------------------------
scan t1 4 147179 4 00:00.00 974511
I guess what I am trying to understand is why it uses the primary key on IDS 12.10 but ignores it on 14.10 ? The same key exists on both servers.
I suspect I will need to drop the primary key, and then recreate it using the expected name (orh_key). Just not sure why it would react differently when this instance was an exact copy (created using ontape redirected restore to build the instance on a new server).
------------------------------
Steve Nixon
------------------------------