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 ...