CONNX Data Integration Suite 14.8.0 | Installation Guide | Installation Steps | DB2 Host Configuration | CONNX and Db2 | Establishing CONNX and DB2 CDD Configuration Options
 
Establishing CONNX and DB2 CDD Configuration Options
The following procedures may help you when troubleshooting connection and configuration options in CONNX.
1. Start the CONNX Data Dictionary Manager and click on any previously imported DB2 database.
The name of the selected database appears in the Physical Database Name text box on the Database Tab in the lower pane. The TCP/IP address or SNA location appears in the Default Server text box.
2. Select an isolation level in the Isolation Level text box.
Selecting the correct isolation level is very important for optimal performance. Note that as you move down the list, concurrency decreases and exclusivity increases. For instance, if the CDD will be used by a read-only report writer, the isolation level Change (for mainframe or DB2 UDB targets) or No Commit (for the AS/400) is the appropriate choice, since it maximizes the concurrent usage of DB2 objects. Also note that, in most cases, an online transaction processor requires an All or Repeatable Read isolation level, which locks out updates from other clients until the unit of work is complete.
3. Under Optimization and Debugging, enter the Statement Cache Size.
The Statement Cache Size specifies the maximum number of kilobytes CONNX can use to store cached information related to the most-frequently executed dynamic SQL statements.
CONNX keeps track of the most frequently executed dynamic SQL statements in a virtual memory cache. This cache allows CONNX to optimize the length of messages sent to and received from the target host. Depending on the cursor behavior specified in the CONNX CDD, the cache is refreshed either after each COMMIT/ROLLBACK or whenever the cache exceeds its limit. A value of 0 instructs CONNX to allocate a default cache size of 64 KB. For long-running applications such as Web servers, this value can be revised upward to improve performance. To minimize the cache memory footprint, set the value to 32 (not 0).
4. Optionally, you can select the Tracing check box and type a file name in the Trace File text box to direct the binary trace to a specified file.
This is useful to diagnose potential communication problems. If the box is checked, and no Trace File name is specified, CONNX writes a binary trace of all sent/received messages via either TCP/IP or APPC/SNA LU 6.2 to the cnxdb2.trc file in the CONNX32 directory. Simultaneously, CONNX writes a text file (cnxdb2.sql) of all executed SQL statements.
Turn the feature off after successfully tracing problem scenarios and submitting the binary trace file and/or ODBC API trace to CONNX Technical Support.