Kent, thank you for this valuable article. I think our customers should also consider that an IBM i should be used only for OLTP or OLAP environment. The mix of these two needs hits the response times desired by the users of their applications, especially for example a Core Banking.
------------------------------
Nicolas Rafael Ascanio Pena Customer Success Management - Architect
Consultant Data & AI
IBM
Caracas
+58 424 1406472
------------------------------
Original Message:
Sent: Tue October 10, 2023 12:01 PM
From: Kent Milligan
Subject: Making better use of the free-of-charge DB2 SMP
I also published an entry on my Db2 for i blog highlighting Db2 SMP Best Practices.
------------------------------
Kent Milligan
Original Message:
Sent: Mon October 09, 2023 10:35 PM
From: Satid Singkorapoom
Subject: Making better use of the free-of-charge DB2 SMP
Dear all
Now that DB2 SMP has been available free of charge for all IBM i 7.x customers with active SWMA, making a good use of it would bring performance benefit to long-running SQL/Query as well as index build and table reorganization jobs. There is enhancement to this in IBM i 7.5 and it is clearly explained in this informative article just published by IBM i SW engineer a few days ago : TechTip: Fine-Tuning Db2 Symmetric Multiprocessing (SMP) to Improve Performance for Long-Running Queries at https://www.mcpressonline.com/analytics-cognitive/db2/techtip-fine-tuning-db2-symmetric-multiprocessing-smp-to-improve-performance-for-long-running-queries
Let me also add that it is advisable to also use Plan Cache's Show Statements + Visual Explain + Index Advisor (all from IBM i ACS GUI) to identify and create as many useful indexes for your prevailing long-running SQL/Query workload first and the use of DB2 SMP will not unnecessarily consume your HW resources (CPU + memory mainly). This is because, without useful indexes in place, SMP will do unnecessary parallel table scans that unnecessarily burn your CPU and memory. The existence of useful indexes help reduce this waste, unless you have so many CPUs and so much memory to burn :-)
Useful indexes + DB2 SMP will take your SQL/Query and DB admin workload performance a long way in IBM i.
------------------------------
Chance favors only the prepared mind.
-- Louis Pasteur
------------------------------
Satid S.
------------------------------