Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

13.10 Tuning and troubleshooting

This section explains how to tune and troubleshoot ODBC UAPs.

Organization of this section
(1) Poor performance in a UAP that retrieves multiple rows
(2) If a UAP executes connect and disconnect processing frequently
(3) Checking SQL statements requested of HiRDB
(4) Other

(1) Poor performance in a UAP that retrieves multiple rows

Use the block transfer facility. To use this facility, specify the PDBLKF operand in the client environment definition. A specification value between 40 and 50 is recommended. Specifying a larger value has little effect in reducing the number of communications and instead may delay processing because of the increased processing overhead. For details about the block transfer facility, see 4.7 Block transfer facility.

(2) If a UAP executes connect and disconnect processing frequently

Use the high-speed connection facility. To use this facility, specify the PDFESHOST, PDSERVICEPORT, and PDSERVICEGRP operands in the client environment definition. The high-speed connection facility shortens the time for connection to HiRDB. For details about the PDFESHOST, PDSERVICEPORT, and PDSERVICEGRP operands of the client environment definition, see 6.6.4 Environment definition information.

(3) Checking SQL statements requested of HiRDB

If a UAP accesses the HiRDB system via ODBC, the SQL statements specified in the UAP may differ from the SQL statements requested of the HiRDB system, depending on the environment in which the UAP was created. To check what kind of SQL statements are issued to the HiRDB system, use the SQL trace facility. To use this facility, specify the PDSQLTRACE operand in the client environment definition. It is recommended to also specify the trace output destination directory in the PDCLTPATH operand at this time. For details about the SQL trace facility, see 10.1.1 SQL tracing.

(4) Other