Client and server connection options

Db2 Connect server provides a single point of connectivity to numerous workstations supporting a variety of applications. However, it adds additional processing time to applications accessing Db2® for z/OS® data and increases the elapsed time of those applications.

Starting with Db2 Connect Version 8 and later, Db2 Connect clients use the DRDA protocol natively to connect directly to Db2 for z/OS and Db2 for IBM® i.

Advantages of using Db2 Connect server

Db2 Connect server is advantageous in the following situations:
  • For two-phase commits, if you are using transaction managers that use a dual transport model
  • For Homogeneous Federation

Advantages of using Db2 Connect client

You can replace Db2 Connect server with Db2 Connect client, choosing from among the various IBM data server drivers, the IBM Data Server Runtime Client, or the IBM Data Server Client. Db2 Connect client and drivers offer functionality that is equivalent or superior to that of Db2 Connect server and includes the following other advantages:
  • Enhanced Performance. You can achieve better performance due to less network traffic and code paths. Db2 Connect clients simplify network topology, since a direct connection is established between the application server and Db2 for z/OS. This will also eliminate network hop and Db2 Connect gateway routing. Reduced resource consumption means hardware or software resources are not required for Db2 Connect server machines.
  • Reduced footprint. By replacing Db2 Connect Server with Db2 Connect client, you can reduce complexity and deploy application solutions with smaller footprints and achieve overall benefits.
  • Improved availability. Application access, using IBM data server drivers or clients, to Db2 for z/OS data equals to or is superior to three-tier configuration due to elimination of a point of failure.
  • Improved monitoring. A direct connection makes it easier to monitor application server or web application server traffic and behavior.
  • Improved problem determination. If an application experiences a performance problem, the presence of the Db2 Connect Server complicates the efforts to identify the source of the problem.
  • Latest code levels. You can obtain the latest code levels to exploit new server features and APIs. Data support for some features such as new data types is easier to obtain.
If you replace Db2 Connect Server with Db2 Connect client, Db2 Connect license files are required. In a Db2 Connect Server configuration, Db2 Connect entitlement is stored at the Db2 Connect Server, not at individual clients. If you change to direct client connectivity, you must store the Db2 Connect entitlement at each client.