SlideShare a Scribd company logo
1 of 14
© 2011 IBM CorporationDecember 16, 2015
Improve the Speed and Performance
John F. Miller III, IBM
Scott Lashley, IBM
Information Management – IDS 11
© 2011 IBM Corporation2
Network Messaging
Information Management – IDS 11
© 2011 IBM Corporation3
Optimizing Database Network Messaging
• Data Buffer Management
• Optimize Open-Fetch-Close (OPTOFC)
• Deferred Prepare
• Auto Free
Information Management – IDS 11
© 2011 IBM Corporation4
Examining SQL Network Messages
– Network messages sent between the application and the database
engine to accomplish SQL operations
PREPARE stmt FROM
“select * from t where a > ?”;
DECLARE cursor_1 from :stmnt;
OPEN cursor_1 USING var_1;
FETCH cursor_1 into results_1;
CLOSE cursor_1;
FREE cursor_1;
FREE stmt;
PREPARE stmt FROM
“select * from t where a > ?”;
DECLARE cursor_1 from :stmnt;
OPEN cursor_1 USING var_1;
FETCH cursor_1 into results_1;
CLOSE cursor_1;
FREE cursor_1;
FREE stmt;
Information Management – IDS 11
© 2011 IBM Corporation5
PREP/DEC Small Sent - Medium Returned
OPEN Small Sent - Medium Returned
FETCH Small Sent - Medium Returned
CLOSE Small Sent - Small Returned
FREE Small Sent - Small Returned
PREP/DEC Small Sent - Medium Returned
OPEN Small Sent - Medium Returned
FETCH Small Sent - Medium Returned
CLOSE Small Sent - Small Returned
FREE Small Sent - Small Returned
Normal Message Traffic
– 128 KB of data returned by the select
– No blob data and rows smaller than 4KB
Total number of messages sent = 72
32x
Information Management – IDS 11
© 2011 IBM Corporation6
Improving SQL Network Messages
– FET_BUF_SIZE
 Set the buffer size for the fetch/insert buffers
 Size is specified in bytes up to 32KB
 Requires no application changes
 Yields similar performance as fetch array
– OPTOFC – Optimize Open Fetch Close
 Requires only error checking changes
 Delays sending the open until the first fetch is requested
by the application
 The engine will close the cursor when the last row is
processed
– Deferred Prepare
 Control whether a client process postpones sending a
PREPARE statement to the database server until the
OPEN or EXECUTE statement is sent
– Auto Free
 Frees the cursor when the cursor is closed
Information Management – IDS 11
© 2011 IBM Corporation7
PREP/DEC Small Sent - Medium Returned
OPEN/FETCH Medium Sent - 32KB Returned
FETCH Small Sent - 32KB Returned
FETCH/CLOSE Medium Sent - 32KB Returned
FREE Small Sent - Small Returned
PREP/DEC Small Sent - Medium Returned
OPEN/FETCH Medium Sent - 32KB Returned
FETCH Small Sent - 32KB Returned
FETCH/CLOSE Medium Sent - 32KB Returned
FREE Small Sent - Small Returned
2x
Total number of messages sent = 12
OPTOFC Message Traffic
OPTOFC enabled
Fetch buffer set at 32KB
Information Management – IDS 11
© 2011 IBM Corporation8
PREP/DEC Small Sent - Medium Returned
OPEN Small Sent - Medium Returned
FETCH Small Sent - Medium Returned
CLOSE Small Sent - Small Returned
PREP/DEC Small Sent - Medium Returned
OPEN Small Sent - Medium Returned
FETCH Small Sent - Medium Returned
CLOSE Small Sent - Small Returned
Total number of messages sent = 8
Small Select Statements Traffic Improvement
PREP/DEC/OPEN/FETCH/CLOSE Medium Sent - 32KB ReturnedPREP/DEC/OPEN/FETCH/CLOSE Medium Sent - 32KB Returned
Total number of messages sent = 2
OPTOFC enabled
Fetch buffer set at 32KB
Defer Prepare enabled
Information Management – IDS 11
© 2011 IBM Corporation9
Are My Application Using OPTOFC?
session effective #RSAM total used dynamic
id user user tty pid hostname threads memory memory explain
145 informix - 20 30096 talo 1 274432 270896 off
tid name rstcb flags curstk status
232 sqlexec 44d28d78 Y--P--- 12272 cond wait cmd_cond -
Memory pools count 2
name class addr totalsize freesize #allocfrag #freefrag
145 V 46853040 270336 2728 259 6
name free used name free used
overhead 0 6576 resident 0 72
scb 0 144 opentable 0 8656
filetable 0 1344 ru 0 600
misc 0 1088 log 0 16536
sqscb info
scb sqscb optofc pdqpriority sqlstats optcompind directives
45ce0028 4620c028 0 0 0 2 1
Sess SQL Current Iso Lock SQL ISAM F.E.
Id Stmt type Database Lvl Mode ERR ERR Vers Explain
145 EXEC PROCEDURE sysadmin CR Not Wait 0 0 9.24 Off
Information Management – IDS 11
© 2011 IBM Corporation10
Network Performance Improvements
 Caching network services
 Multiple listener threads for a
single server name
 Multiple file descriptor servers
 Previous network improvements
– Dynamic start and stop of listener
threads
– Pre-allocate users session
Information Management – IDS 11
© 2011 IBM Corporation11
Network Performance - Caching Network Services
 Database caching of Host, Services, Users and
Groups
 Avoids going to the operating system for each
network call
 Administrator defined timeout value set for
network caches
 ONCONFIG example
NS_CACHE host=900,service=900,user=900,group=900
 Each cache is dynamically configurable
Information Management – IDS 11
© 2011 IBM Corporation12
Network Performance – Multiple Listeners
 Able to define multiple listener threads for a single
DBSERVERNAME and/or DBSERVERALIAS
 Add the number of listeners to the end of the alias
 EXAMPLE
– To start three listener threads for the idsserver
– Modify the ONCONFIG as follows
DBSERVERNAME idsserver-3
12 Page 12
Information Management – IDS 11
© 2011 IBM Corporation13
Network Performance Results
 My simple network performance
tests
– 200 users connecting and
disconnecting
 Connection throughput on an AIX
server improved by 480%
 Connection throughput on a
Linux server improved by 720%
Computer Type Without
Improvements
Utilizing
Improvements
AIX 64 2m 5s 27s
Linux 64 10m 11s 1m 20s
Information Management – IDS 11
© 2011 IBM Corporation14

More Related Content

What's hot

Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0Dhruv Sharma
 
Season 3 [free OpManager training]_Part1- Discovery and classification
Season 3 [free OpManager training]_Part1- Discovery and classificationSeason 3 [free OpManager training]_Part1- Discovery and classification
Season 3 [free OpManager training]_Part1- Discovery and classificationManageEngine, Zoho Corporation
 
Eduroam workshop nic mitev probes - networkshop44
Eduroam workshop  nic mitev probes - networkshop44Eduroam workshop  nic mitev probes - networkshop44
Eduroam workshop nic mitev probes - networkshop44Jisc
 
Lab 10 instruction 2017
Lab 10 instruction   2017Lab 10 instruction   2017
Lab 10 instruction 2017trayyoo
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedPort80 Software
 
Firewall - Failover & Transparent Firewall
Firewall - Failover & Transparent FirewallFirewall - Failover & Transparent Firewall
Firewall - Failover & Transparent Firewall NetProtocol Xpert
 
Webserver Administration: Apache as a case study
Webserver Administration: Apache as a case studyWebserver Administration: Apache as a case study
Webserver Administration: Apache as a case studyTata Consultancy Services
 
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...Louis Göhl
 
Meeting 13. web server i
Meeting 13. web server iMeeting 13. web server i
Meeting 13. web server iSyaiful Ahdan
 
[Season - 3 Free OpManager Training] Monitoring Server Performance
[Season - 3 Free OpManager Training] Monitoring Server Performance[Season - 3 Free OpManager Training] Monitoring Server Performance
[Season - 3 Free OpManager Training] Monitoring Server PerformanceManageEngine, Zoho Corporation
 
It nv51 instructor_ppt_ch9
It nv51 instructor_ppt_ch9It nv51 instructor_ppt_ch9
It nv51 instructor_ppt_ch9newbie2019
 
OCS Inventory
OCS InventoryOCS Inventory
OCS InventoryVenki
 
Updated UNIX RESUME 7+Yrs- Kalesha
Updated UNIX RESUME 7+Yrs- KaleshaUpdated UNIX RESUME 7+Yrs- Kalesha
Updated UNIX RESUME 7+Yrs- KaleshaKalesha Ananthu
 
Oracle database 12c client quick installation guide 3
Oracle database 12c client quick installation guide 3Oracle database 12c client quick installation guide 3
Oracle database 12c client quick installation guide 3bupbechanhgmail
 

What's hot (20)

3- NIC Teaming
3- NIC Teaming3- NIC Teaming
3- NIC Teaming
 
US07FFT-mod_ftp.ppt
US07FFT-mod_ftp.pptUS07FFT-mod_ftp.ppt
US07FFT-mod_ftp.ppt
 
Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0
 
Season 3 [free OpManager training]_Part1- Discovery and classification
Season 3 [free OpManager training]_Part1- Discovery and classificationSeason 3 [free OpManager training]_Part1- Discovery and classification
Season 3 [free OpManager training]_Part1- Discovery and classification
 
Eduroam workshop nic mitev probes - networkshop44
Eduroam workshop  nic mitev probes - networkshop44Eduroam workshop  nic mitev probes - networkshop44
Eduroam workshop nic mitev probes - networkshop44
 
Lab 10 instruction 2017
Lab 10 instruction   2017Lab 10 instruction   2017
Lab 10 instruction 2017
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting Started
 
Firewall - Failover & Transparent Firewall
Firewall - Failover & Transparent FirewallFirewall - Failover & Transparent Firewall
Firewall - Failover & Transparent Firewall
 
Webserver Administration: Apache as a case study
Webserver Administration: Apache as a case studyWebserver Administration: Apache as a case study
Webserver Administration: Apache as a case study
 
Presentation of Performance Vision Version 3.3
Presentation of Performance Vision Version 3.3Presentation of Performance Vision Version 3.3
Presentation of Performance Vision Version 3.3
 
What are ACLs?
What are ACLs?What are ACLs?
What are ACLs?
 
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...
 
Meeting 13. web server i
Meeting 13. web server iMeeting 13. web server i
Meeting 13. web server i
 
[Season - 3 Free OpManager Training] Monitoring Server Performance
[Season - 3 Free OpManager Training] Monitoring Server Performance[Season - 3 Free OpManager Training] Monitoring Server Performance
[Season - 3 Free OpManager Training] Monitoring Server Performance
 
Performance vision Version 3.0 - What's New
Performance vision Version 3.0 - What's NewPerformance vision Version 3.0 - What's New
Performance vision Version 3.0 - What's New
 
It nv51 instructor_ppt_ch9
It nv51 instructor_ppt_ch9It nv51 instructor_ppt_ch9
It nv51 instructor_ppt_ch9
 
OCS Inventory
OCS InventoryOCS Inventory
OCS Inventory
 
Updated UNIX RESUME 7+Yrs- Kalesha
Updated UNIX RESUME 7+Yrs- KaleshaUpdated UNIX RESUME 7+Yrs- Kalesha
Updated UNIX RESUME 7+Yrs- Kalesha
 
Oracle database 12c client quick installation guide 3
Oracle database 12c client quick installation guide 3Oracle database 12c client quick installation guide 3
Oracle database 12c client quick installation guide 3
 

Similar to Understanding Informix Network Performance Features

Oracle Solaris 11.1 New Features
Oracle Solaris 11.1 New FeaturesOracle Solaris 11.1 New Features
Oracle Solaris 11.1 New FeaturesOrgad Kimchi
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodLudovico Caldara
 
Improve speed and performance of informix 11.xx part 2
Improve speed and performance of informix 11.xx   part 2Improve speed and performance of informix 11.xx   part 2
Improve speed and performance of informix 11.xx part 2am_prasanna
 
Open Networking through Programmability
Open Networking through ProgrammabilityOpen Networking through Programmability
Open Networking through ProgrammabilityTal Lavian Ph.D.
 
11g Identity Management - InSync10
11g Identity Management - InSync1011g Identity Management - InSync10
11g Identity Management - InSync10Peter McLarty
 
BigData Clusters Redefined
BigData Clusters RedefinedBigData Clusters Redefined
BigData Clusters RedefinedDataWorks Summit
 
DB2 pureScale Overview Sept 2010
DB2 pureScale Overview Sept 2010DB2 pureScale Overview Sept 2010
DB2 pureScale Overview Sept 2010Laura Hood
 
Under the Hood 11g Identity Management
Under the Hood  11g Identity ManagementUnder the Hood  11g Identity Management
Under the Hood 11g Identity ManagementInSync Conference
 
LF_DPDK_Mellanox bifurcated driver model
LF_DPDK_Mellanox bifurcated driver modelLF_DPDK_Mellanox bifurcated driver model
LF_DPDK_Mellanox bifurcated driver modelLF_DPDK
 
MySQL HA with PaceMaker
MySQL HA with  PaceMakerMySQL HA with  PaceMaker
MySQL HA with PaceMakerKris Buytaert
 
Modul 1 integration island
Modul 1   integration islandModul 1   integration island
Modul 1 integration islandCyberSpace
 
How to get started with Oracle Cloud Infrastructure
How to get started with Oracle Cloud InfrastructureHow to get started with Oracle Cloud Infrastructure
How to get started with Oracle Cloud InfrastructureSimo Vilmunen
 
Linux Based Advanced Routing with Firewall and Traffic Control
Linux Based Advanced Routing with Firewall and Traffic ControlLinux Based Advanced Routing with Firewall and Traffic Control
Linux Based Advanced Routing with Firewall and Traffic Controlsandy_vasan
 
OpenFlow: What is it Good For?
OpenFlow: What is it Good For? OpenFlow: What is it Good For?
OpenFlow: What is it Good For? APNIC
 

Similar to Understanding Informix Network Performance Features (20)

Oracle Solaris 11.1 New Features
Oracle Solaris 11.1 New FeaturesOracle Solaris 11.1 New Features
Oracle Solaris 11.1 New Features
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Improve speed and performance of informix 11.xx part 2
Improve speed and performance of informix 11.xx   part 2Improve speed and performance of informix 11.xx   part 2
Improve speed and performance of informix 11.xx part 2
 
Open Networking through Programmability
Open Networking through ProgrammabilityOpen Networking through Programmability
Open Networking through Programmability
 
11g Identity Management - InSync10
11g Identity Management - InSync1011g Identity Management - InSync10
11g Identity Management - InSync10
 
BigData Clusters Redefined
BigData Clusters RedefinedBigData Clusters Redefined
BigData Clusters Redefined
 
DB2 pureScale Overview Sept 2010
DB2 pureScale Overview Sept 2010DB2 pureScale Overview Sept 2010
DB2 pureScale Overview Sept 2010
 
Under the Hood 11g Identity Management
Under the Hood  11g Identity ManagementUnder the Hood  11g Identity Management
Under the Hood 11g Identity Management
 
RESUME SSTOMAR1
RESUME SSTOMAR1RESUME SSTOMAR1
RESUME SSTOMAR1
 
RESUME SSTOMAR1
RESUME SSTOMAR1RESUME SSTOMAR1
RESUME SSTOMAR1
 
RESUME SSTOMAR1
RESUME SSTOMAR1RESUME SSTOMAR1
RESUME SSTOMAR1
 
RESUME SSTOMAR1
RESUME SSTOMAR1RESUME SSTOMAR1
RESUME SSTOMAR1
 
LF_DPDK_Mellanox bifurcated driver model
LF_DPDK_Mellanox bifurcated driver modelLF_DPDK_Mellanox bifurcated driver model
LF_DPDK_Mellanox bifurcated driver model
 
MySQL HA with PaceMaker
MySQL HA with  PaceMakerMySQL HA with  PaceMaker
MySQL HA with PaceMaker
 
Modul 1 integration island
Modul 1   integration islandModul 1   integration island
Modul 1 integration island
 
How to get started with Oracle Cloud Infrastructure
How to get started with Oracle Cloud InfrastructureHow to get started with Oracle Cloud Infrastructure
How to get started with Oracle Cloud Infrastructure
 
RESUME SSTOMAR1
RESUME SSTOMAR1RESUME SSTOMAR1
RESUME SSTOMAR1
 
Linux Based Advanced Routing with Firewall and Traffic Control
Linux Based Advanced Routing with Firewall and Traffic ControlLinux Based Advanced Routing with Firewall and Traffic Control
Linux Based Advanced Routing with Firewall and Traffic Control
 
RESUME SSTOMAR1
RESUME SSTOMAR1RESUME SSTOMAR1
RESUME SSTOMAR1
 
OpenFlow: What is it Good For?
OpenFlow: What is it Good For? OpenFlow: What is it Good For?
OpenFlow: What is it Good For?
 

Recently uploaded

Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 

Recently uploaded (20)

Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 

Understanding Informix Network Performance Features

  • 1. © 2011 IBM CorporationDecember 16, 2015 Improve the Speed and Performance John F. Miller III, IBM Scott Lashley, IBM
  • 2. Information Management – IDS 11 © 2011 IBM Corporation2 Network Messaging
  • 3. Information Management – IDS 11 © 2011 IBM Corporation3 Optimizing Database Network Messaging • Data Buffer Management • Optimize Open-Fetch-Close (OPTOFC) • Deferred Prepare • Auto Free
  • 4. Information Management – IDS 11 © 2011 IBM Corporation4 Examining SQL Network Messages – Network messages sent between the application and the database engine to accomplish SQL operations PREPARE stmt FROM “select * from t where a > ?”; DECLARE cursor_1 from :stmnt; OPEN cursor_1 USING var_1; FETCH cursor_1 into results_1; CLOSE cursor_1; FREE cursor_1; FREE stmt; PREPARE stmt FROM “select * from t where a > ?”; DECLARE cursor_1 from :stmnt; OPEN cursor_1 USING var_1; FETCH cursor_1 into results_1; CLOSE cursor_1; FREE cursor_1; FREE stmt;
  • 5. Information Management – IDS 11 © 2011 IBM Corporation5 PREP/DEC Small Sent - Medium Returned OPEN Small Sent - Medium Returned FETCH Small Sent - Medium Returned CLOSE Small Sent - Small Returned FREE Small Sent - Small Returned PREP/DEC Small Sent - Medium Returned OPEN Small Sent - Medium Returned FETCH Small Sent - Medium Returned CLOSE Small Sent - Small Returned FREE Small Sent - Small Returned Normal Message Traffic – 128 KB of data returned by the select – No blob data and rows smaller than 4KB Total number of messages sent = 72 32x
  • 6. Information Management – IDS 11 © 2011 IBM Corporation6 Improving SQL Network Messages – FET_BUF_SIZE  Set the buffer size for the fetch/insert buffers  Size is specified in bytes up to 32KB  Requires no application changes  Yields similar performance as fetch array – OPTOFC – Optimize Open Fetch Close  Requires only error checking changes  Delays sending the open until the first fetch is requested by the application  The engine will close the cursor when the last row is processed – Deferred Prepare  Control whether a client process postpones sending a PREPARE statement to the database server until the OPEN or EXECUTE statement is sent – Auto Free  Frees the cursor when the cursor is closed
  • 7. Information Management – IDS 11 © 2011 IBM Corporation7 PREP/DEC Small Sent - Medium Returned OPEN/FETCH Medium Sent - 32KB Returned FETCH Small Sent - 32KB Returned FETCH/CLOSE Medium Sent - 32KB Returned FREE Small Sent - Small Returned PREP/DEC Small Sent - Medium Returned OPEN/FETCH Medium Sent - 32KB Returned FETCH Small Sent - 32KB Returned FETCH/CLOSE Medium Sent - 32KB Returned FREE Small Sent - Small Returned 2x Total number of messages sent = 12 OPTOFC Message Traffic OPTOFC enabled Fetch buffer set at 32KB
  • 8. Information Management – IDS 11 © 2011 IBM Corporation8 PREP/DEC Small Sent - Medium Returned OPEN Small Sent - Medium Returned FETCH Small Sent - Medium Returned CLOSE Small Sent - Small Returned PREP/DEC Small Sent - Medium Returned OPEN Small Sent - Medium Returned FETCH Small Sent - Medium Returned CLOSE Small Sent - Small Returned Total number of messages sent = 8 Small Select Statements Traffic Improvement PREP/DEC/OPEN/FETCH/CLOSE Medium Sent - 32KB ReturnedPREP/DEC/OPEN/FETCH/CLOSE Medium Sent - 32KB Returned Total number of messages sent = 2 OPTOFC enabled Fetch buffer set at 32KB Defer Prepare enabled
  • 9. Information Management – IDS 11 © 2011 IBM Corporation9 Are My Application Using OPTOFC? session effective #RSAM total used dynamic id user user tty pid hostname threads memory memory explain 145 informix - 20 30096 talo 1 274432 270896 off tid name rstcb flags curstk status 232 sqlexec 44d28d78 Y--P--- 12272 cond wait cmd_cond - Memory pools count 2 name class addr totalsize freesize #allocfrag #freefrag 145 V 46853040 270336 2728 259 6 name free used name free used overhead 0 6576 resident 0 72 scb 0 144 opentable 0 8656 filetable 0 1344 ru 0 600 misc 0 1088 log 0 16536 sqscb info scb sqscb optofc pdqpriority sqlstats optcompind directives 45ce0028 4620c028 0 0 0 2 1 Sess SQL Current Iso Lock SQL ISAM F.E. Id Stmt type Database Lvl Mode ERR ERR Vers Explain 145 EXEC PROCEDURE sysadmin CR Not Wait 0 0 9.24 Off
  • 10. Information Management – IDS 11 © 2011 IBM Corporation10 Network Performance Improvements  Caching network services  Multiple listener threads for a single server name  Multiple file descriptor servers  Previous network improvements – Dynamic start and stop of listener threads – Pre-allocate users session
  • 11. Information Management – IDS 11 © 2011 IBM Corporation11 Network Performance - Caching Network Services  Database caching of Host, Services, Users and Groups  Avoids going to the operating system for each network call  Administrator defined timeout value set for network caches  ONCONFIG example NS_CACHE host=900,service=900,user=900,group=900  Each cache is dynamically configurable
  • 12. Information Management – IDS 11 © 2011 IBM Corporation12 Network Performance – Multiple Listeners  Able to define multiple listener threads for a single DBSERVERNAME and/or DBSERVERALIAS  Add the number of listeners to the end of the alias  EXAMPLE – To start three listener threads for the idsserver – Modify the ONCONFIG as follows DBSERVERNAME idsserver-3 12 Page 12
  • 13. Information Management – IDS 11 © 2011 IBM Corporation13 Network Performance Results  My simple network performance tests – 200 users connecting and disconnecting  Connection throughput on an AIX server improved by 480%  Connection throughput on a Linux server improved by 720% Computer Type Without Improvements Utilizing Improvements AIX 64 2m 5s 27s Linux 64 10m 11s 1m 20s
  • 14. Information Management – IDS 11 © 2011 IBM Corporation14