In this section: |
The Adapter for Netezza provides several parameters for customizing the environment and optimizing performance.
How to: |
TIMEOUT specifies the number of seconds the adapter will wait for a response after you issue an SQL request to Netezza.
ENGINE SQLNEZ SET TIMEOUT {nn|0}
where:
Indicates the adapter. You can omit this value if you previously issued the SET SQLENGINE command.
Is the number of seconds before a time-out occurs. 30 is the default value.
Represents an infinite period to wait for a response.
How to: |
You can cancel long running requests from the Web Console. Depending on the capabilities of the native JDBC driver, this action will either cancel the request entirely or break out of the fetch cycle.
How to: |
PASSRECS returns the number of rows affected by a successfully executed SQL Passthru INSERT, UPDATE, or DELETE command.
Tip: You can change this setting manually or from the Web Console by clicking Data Adapters on the menu bar, clicking a configured adapter, and choosing Change Settings from the menu. The Change Settings pane opens.
ENGINE SQLNEZ SET PASSRECS {ON|OFF}
where:
Indicates the adapter. You can omit this value if you previously issued the SET SQLENGINE command.
Provides the number of rows affected in the application program SCB count member after the successful execution of an SQL Passthru INSERT, UPDATE, or DELETE command. ON is the default value.
Provides no information after the successful execution of an SQL Passthru INSERT, UPDATE, or DELETE command.
How to: |
An extension of the HOLD AS dbms_name FORMAT SQLNEZ syntax enables you to exercise more precise control over the creation of HOLD DBMS tables.
HOLD [AS dbms_name] FORMAT SQLNEZ [CONNECTION conn_name]
where:
Is the DBMS table to create. It may be a one, two, or three part name, using the separator appropriate to the DBMS, typically a dot (.).
Is the DBMS connection name. When multiple DBMS connections have been configured and are in use, conn_name specifies which connection to use.
Note: If a table exists with the same name and connection, it will be dropped.
The following command creates a Netezza table named DBCS_NEZ using connection CON1:
ON TABLE HOLD AS DBCS_NEZ FORMAT SQLNEZ CONNECTION CON1
WebFOCUS |