Network traffic reduction
The key to improving performance in a network computing environment is to minimize network traffic. As “Using an application program as a stored procedure” on page 202 explains, stored procedures are an excellent method for sending many SQL statements in a single network message and, as a result, running many SQL statements at the DB2 server. This section introduces you to other ways to improve performance when accessing remote servers.
Coding efficient queries
A query that is sent to a remote server almost always takes longer to execute than the same query that accesses tables of the same size on a local server. To increase efficiency when accessing remote servers, try to write queries that send few messages over the ...
Get Official Introduction to DB2® for z/OS®, The, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.