PK
¤6–Aoa«, mimetypeapplication/epub+zipPK ¤6–A iTunesMetadata.plistwˆû
This chapter provides information about the hardware and software requirements and the installation procedure for Oracle Database Gateway for Informix.
To install the gateway, follow these steps:
Ensure that the system meets all of the hardware and software requirements specified in "System Requirements for Oracle Database Gateway for Informix" .
Run the Oracle Universal Installer.
See "Step Through the Oracle Universal Installer" section for more information about running the Oracle Universal Installer.
Oracle Universal Installer is a menu-driven utility that guides you through the installation of the gateway by prompting you with action items. The action items and the sequence in which they appear depend on your platform.
See Table 4-2 for a description of the installation procedure of Oracle Database Gateway for Informix.
This section provides information about the hardware and software requirements for the gateway. It contains the following sections:
Table 4-1 lists the minimum hardware requirements for Oracle Database Gateway for Informix.
Table 4-1 Hardware Requirements for Oracle Database Gateway for Informix
Requirement | For Microsoft Windows (32-bit) | For Microsoft Windows (64-bit) |
---|---|---|
Total disk space |
4 GB |
5 GB |
Physical Memory |
1 GB of real memory is recommended to support the gateway. The total real memory requirement for the concurrent use of the gateway also depends on these factors:
|
Minimum of 1 GB |
Virtual memory |
Double the amount of RAM |
Double the amount of RAM |
Video adapter |
256 colors |
256 colors |
Processor |
550 MHz minimum(On Microsoft Windows Vista, 800 MHz minimum) |
AMD64, or Intel Extended memory (EM64T) |
To ensure that the system meets the minimum requirements, follow these steps:
Determine the physical RAM size. For a computer using Microsoft Windows 2000, for example, open System in the control panel and select the General tab. If the size of the physical RAM installed in the system is less than the required size, then you must install more memory before continuing.
Determine the size of the configured swap space (also known as paging file size). For a computer using Microsoft Windows 2000, for example, open System in the control panel, select the Advanced tab, and click Performance Options.
If necessary, then see your operating system documentation for information about how to configure additional swap space.
Determine the amount of free disk space on the system. For a computer using Microsoft Windows 2000, for example, open My Computer, right-click the drive where the Oracle software is to be installed, and select Properties.
Determine the amount of disk space available in the temp
directory. This is equivalent to the total amount of free disk space, minus what will be needed for the Oracle software to be installed.
If there is less than 125 MB of disk space available in the temp
directory, then first delete all unnecessary files. If the temp disk space is still less than 125 MB, then set the TEMP
or TMP
environment variable to point to a different hard drive. For a computer using Microsoft Windows 2000, for example, open the System control panel, select the Advanced tab, and click Environment Variables.
Oracle Database Gateway for Informix is supported on the following Microsoft Windows (32-Bit) operating systems:
Microsoft Windows 2000 with Service Pack 1 or later. All editions, including Terminal Services and Microsoft Windows 2000 MultiLanguage Edition (MLE), are supported.
Microsoft Windows Server 2003 - all editions
Microsoft Windows Server 2003 R2 - all editions
Microsoft Windows XP Professional
Microsoft Windows Vista - Business, Enterprise, and Ultimate editions
Microsoft Windows 2008
Microsoft Windows Multilingual User Interface Pack is supported on Microsoft Windows XP Professional and Microsoft Windows Server 2003.
Oracle Database Gateway for Informix is supported on the following Microsoft Windows (64-bit) operating systems:
Microsoft Windows Server 2003 - all x64 editions
Microsoft Windows Server 2003 R2 - all x64 editions
Microsoft Windows XP Professional x64 Edition
Microsoft Windows Vista x64 - Business, Enterprise, and Ultimate editions
Microsoft Windows 2008 x64
The gateway supports Informix Dynamic Server. For the latest versions supported refer to the OTN Web site:
http://www.oracle.com/technetwork/database/gateways/certmatrix-168347.pdf
Table 4-2 describes the installation procedure for Oracle Database Gateway for Informix.
Table 4-2 The Oracle Universal Installer: Steps for Installing the Gateway
Screen | Response |
---|---|
Oracle Universal Installer: Welcome |
Click Next. |
Oracle Universal Installer: Specify Home Details |
Specify a name for the installation in the Name field. You can also choose not to edit the default setting of the Name field of the Specify Home Details screen. The Path field in the Specify Home Details screen is where you specify the destination for your installation. You need not edit the path specification in the Path field. The default setting for this field points to |
Oracle Universal Installer: Available Product Components |
a. Select Oracle Database Gateway for Informix 11.2. b. Click Next. |
Oracle Database Gateway for Informix |
Informix Database Server Host Name - Specify the host name of the machine hosting the Informix database server. Informix Database Server Port number - Specify the port number of the Informix database server Informix Server Name - Specify the Informix server name Informix Database Name - Specify the Informix database name Click Next to continue. |
Oracle Universal Installer: Summary |
The Installation Summary screen enables you to review a tree list of options and components for this installation. Click Install to start installation. |
Oracle Net Configuration Assistant: Welcome |
Click Cancel. |
Oracle Net Configuration Assistant: |
Click Yes. |
Oracle Universal Installer: Configuration Tools |
Click Exit. |
Exit |
The final screen of the Oracle Universal Installer is the End of Installation screen. Click Exit to exit the installer. |
The gateway is now installed.
When the Oracle Universal Installer confirms that the installation is complete, verify that the installation procedure was successful. To do this, read the contents of the installation log file, which is located in the C:\Program Files\Oracle\Inventory\logs
directory.
The default file name is InstallActions
YYYY-MM-DD_HH-mm-SS-AM/
PM
.log
, where:
YYYY
is yearMM
is monthDD
is dayHH
is hourmm
is minuteSS
is secondsAM/PM
is daytime or eveningEach of these variables in the log file name represents the date and time the product was installed.
This appendix describes how to install and configure Oracle products using response files. It includes the following topics:
Using Response Files to Install Oracle Components in Noninteractive Mode
Running Oracle Universal Installer and Specifying a Response File
Typically, Oracle Universal Installer runs in interactive mode, which means that it prompts you to provide information in graphical user interface (GUI) screens. Alternatively, you can run Oracle Universal Installer in noninteractive mode. Noninteractive mode is also referred to as silent mode, or silent installation.
You may want to use noninteractive mode to install Oracle Database Gateway on Microsoft Windows (32-bit) in the following scenarios:
You need to deploy Oracle Components to multiple nodes in an unattended manner. You can schedule the noninteractive installation mode from the operating system scheduler or other job subsystem that your site normally uses.
No interaction with the user is intended.
A graphical facility to run Oracle Universal Installer in interactive mode is not available. (Oracle Universal Installer is always available on Microsoft Windows, but not on UNIX systems.)
This section covers the following topics on how you can use response files to run Oracle Universal Installer in noninteractive mode:
To use noninteractive mode, you run Oracle Universal Installer with a response file. A response file is a text file that contains variables and values that Oracle Universal Installer uses during the installation process. Oracle provides a set of sample response files that you can customize, or you can create your own response file by recording your installation selections.
See Also: Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for more information about response file formats |
Oracle provides response file templates for each product and installation type, and for each configuration tool. The response files for Oracle Gateway, tg.rsp
and netca.rsp
, are located in the response directory on the media.
Note: If you copied the software to a hard disk, then the response files are located in theDisk1\response directory. |
To copy and modify a response file:
Copy the necessary response files from the \Response directory on the installation media to your hard drive.
From the Start menu, select Programs, then Oracle - HOME_NAME, then Oracle Installation Products, then Universal Installer Concepts Guide.
Oracle Universal Installer and OPatch User's Guide for Windows and UNIX appears in HTML format.
Modify the response files with any text file editor by following the instructions in both the response files and Oracle Universal Installer and OPatch User's Guide for Windows and UNIX.
Run the response file by following the instructions in the "Running Oracle Universal Installer and Specifying a Response File" section.
When you run Oracle Universal Installer in interactive mode, you can record your installation selections into a response file. You do this by running Oracle Universal Installer in Record mode. Oracle Universal Installer generates the response file immediately after you complete the Summary page, so you do not need to actually install the gateway to create the response file.
If you want to use the Record mode during a noninteractive installation, then Oracle Universal Installer records the variable values that were specified in the original source response file into the new response file.
To create a new response file:
Make sure that the computer on which you are creating the response file has met the requirements described in respective gateway installation chapters.
At the command prompt, use the cd
command to change to the directory that contains the Oracle Universal Installer setup.exe
executable.
On the installation media, setup.exe
is located on Disk 1. If you want to run Oracle Universal Installer from an existing gateway installation, then you can find setup.exe
in ORACLE_BASE
\
ORACLE_HOME
\oui\bin
.
Enter the following command:
setup -record -destinationFile response_file_name
Replace response_file_name
with the complete path for the new response file. For example:
setup -record -destinationFile C:\response_files\install_oracle11g
After Oracle Universal Installer launches, enter the installation settings, which will be recorded into the response file.
When the Summary page appears, do one of the following:
Click Install to continue with the installation.
Click Cancel if you want to only create the response file but not continue with the installation. The installation will stop, but the settings you have entered will be recorded to the response file.
Later, Oracle Universal Installer will save your new response file using the path and file name you specified on the command line.
If necessary, make any environment-specific changes to the response file for the computer on which you will run it.
Run the response file by following the instructions in the "Running Oracle Universal Installer and Specifying a Response File" section.
You run Oracle Universal Installer at the command line, specifying a response file. The Oracle Universal Installer executable, setup.exe
, provides several options. For help information on the full set of these options, run setup.exe
with the -help
option, for example:
C:\ORACLE_BASE\ORACLE_HOME\oui\bin> setup.exe -help
To run Oracle Universal Installer and specify a response file:
Start a command prompt.
Go to the directory where Oracle Universal Installer is installed.
From the command line, run Oracle Universal Installer with the correct response file. For example:
C:\ORACLE_BASE\ORACLE_HOME
\oui\bin>
setup.exe
[-silent]
[-nowelcome]
[-nowait] -responseFile
filename
Where... | Description |
---|---|
filename | Identifies the full path of the response file |
-silent | Runs Oracle Universal Installer in silent mode and suppresses the Welcome screen. If you use -silent , then -nowelcome is not necessary. |
-nowelcome | Suppresses the Welcome screen that appears during installation |
–nowait | Closes the console window when the silent installation completes |
See Also:
|
Part VII, "Installing and Configuring Oracle Database Gateway for DRDA" describes how to install and configure of Oracle Database Gateway for DRDA.
It contains the following chapters:
This chapter provides information about the hardware and software requirements and the installation procedure for Oracle Database Gateway for ODBC.
To install Oracle Database Gateway for ODBC, follow these steps:
Ensure that the system meets all of the hardware and software requirements specified in "System Requirements for Oracle Database Gateway for ODBC".
Run the Oracle Universal Installer.
See "Step Through the Oracle Universal Installer" section for more information about running the Oracle Universal Installer.
Oracle Universal Installer is a menu-driven utility that guides you through the installation of Oracle Database Gateway for ODBC by prompting you with action items. The action items and the sequence in which they appear depend on your platform.
See Table 10-2 for a description of the installation procedure of Oracle Database Gateway for ODBC.
This section provides information about the hardware and software requirements for Oracle Database Gateway for ODBC. It contains the following sections:
Table 10-1 lists the minimum hardware requirements for Oracle Database Gateway for ODBC.
Table 10-1 Hardware Requirements for Oracle Database Gateway for ODBC
Requirement | For Microsoft Windows (32-bit) | For Microsoft Windows (64-bit) |
---|---|---|
Total disk space |
4 GB |
5 GB |
Physical Memory |
1 GB of real memory is recommended to support Oracle Database Gateway for ODBC. The total real memory requirement for the concurrent use of the gateway also depends on these factors:
|
Minimum of 1 GB |
Virtual memory |
Double the amount of RAM |
Double the amount of RAM |
Video adapter |
256 colors |
256 colors |
Processor |
550 MHz minimum(On Microsoft Windows Vista, 800 MHz minimum) |
AMD64, or Intel Extended memory (EM64T) |
To ensure that the system meets the minimum requirements, follow these steps:
Determine the physical RAM size. For a computer using Microsoft Windows 2000, for example, open System in the control panel and select the General tab. If the size of the physical RAM installed in the system is less than the required size, then you must install more memory before continuing.
Determine the size of the configured swap space (also known as paging file size). For a computer using Microsoft Windows 2000, for example, open System in the control panel, select the Advanced tab, and click Performance Options.
If necessary, then see your operating system documentation for information about how to configure additional swap space.
Determine the amount of free disk space on the system. For a computer using Microsoft Windows 2000, for example, open My Computer, right-click the drive where the Oracle software is to be installed, and select Properties.
Determine the amount of disk space available in the temp
directory. This is equivalent to the total amount of free disk space, minus what will be needed for the Oracle software to be installed.
If there is less than 125 MB of disk space available in the temp
directory, then first delete all unnecessary files. If the temp disk space is still less than 125 MB, then set the TEMP
or TMP
environment variable to point to a different hard drive. For a computer using Microsoft Windows 2000, for example, open the System control panel, select the Advanced tab, and click Environment Variables.
Oracle Database Gateway for ODBC is supported on the following Microsoft Windows (32-bit) operating systems:
Microsoft Windows 2000 with Service Pack 1 or later. All editions, including Terminal Services and Microsoft Windows 2000 MultiLanguage Edition (MLE), are supported.
Microsoft Windows Server 2003 - all editions
Microsoft Windows Server 2003 R2 - all editions
Microsoft Windows XP Professional
Microsoft Windows Vista - Business, Enterprise, and Ultimate editions
Microsoft Windows 2008
Microsoft Windows Multilingual User Interface Pack is supported on Microsoft Windows XP Professional and Windows Server 2003.
Oracle Database Gateway for ODBC is supported on the following Microsoft Windows (64-bit) operating systems:
Microsoft Windows Server 2003 - all x64 editions
Microsoft Windows Server 2003 R2 - all x64 editions
Microsoft Windows XP Professional x64 Edition
Microsoft Windows Vista x64 - Business, Enterprise, and Ultimate editions
Microsoft Windows 2008 x64
For the latest certified configuration refer to the OTN Web site:
http://www.oracle.com/technetwork/database/gateways/certmatrix-168347.pdf
Table 10-2 describes the installation procedure for Oracle Database Gateway for ODBC.
Table 10-2 The Oracle Universal Installer: Steps for Installing Oracle Database Gateway for ODBC
Screen | Response |
---|---|
Oracle Universal Installer: Welcome |
Click Next. |
Oracle Universal Installer: Specify Home Details |
Specify a name for the installation in the Name field. You can also choose not to edit the default setting of the Name field of the Specify Home Details screen. The Path field in the Specify Home Details screen is where you specify the destination for your installation. You need not edit the path specification in the Path field. The default setting for this field points to |
Oracle Universal Installer: Available Product Components |
a. Select Oracle Database Gateway for ODBC 11.2. b. Click Next. |
Oracle Universal Installer: Summary |
The Installation Summary screen enables you to review a tree list of options and components for this installation. Click Install to start installation. |
Oracle Net Configuration Assistant: Welcome |
Click Cancel. |
Oracle Net Configuration Assistant: |
Click Yes. |
Oracle Universal Installer: Configuration Tools |
Click Exit. |
Exit |
The final screen of the Oracle Universal Installer is the End of Installation screen. Click Exit to exit the installer. |
The gateway is now installed.
When the Oracle Universal Installer confirms that the installation is complete, verify that the installation procedure was successful. To do this, read the contents of the installation log file, which is located in the C:\Program Files\Oracle\Inventory\logs
directory.
The default file name is InstallActions
YYYY-MM-DD_HH-mm-SS-AM/
PM
.log
, where:
YYYY
is yearMM
is monthDD
is dayHH
is hourmm
is minuteSS
is secondsAM/PM
is daytime or eveningEach of these variables in the log file name represents the date and time the product was installed.
The Oracle database initialization parameters in the init.ora
file are distinct from gateway initialization parameters. Set the gateway parameters in the initialization parameter file using an agent-specific mechanism, or set them in the Oracle data dictionary using the DBMS_HS
package. The gateway initialization parameter file must be available when the gateway is started. Changes made to the initialization parameters only take effect in the next gateway session.
This appendix contains a list of the gateway initialization parameters that can be set for each gateway and their description. It also describes the initialization parameter file syntax. It includes the following sections:
Oracle Database Gateway for Sybase Initialization Parameters
Oracle Database Gateway for Informix Initialization Parameters
Oracle Database Gateway for Teradata Initialization Parameters
Oracle Database Gateway for SQL Server Initialization Parameters
The syntax for the initialization parameter file is as follows:
The file is a sequence of commands.
Each command should start on a separate line.
End of line is considered a command terminator (unless escaped with a backslash).
If there is a syntax error in an initialization parameter file, none of the settings take effect.
Set the parameter values as follows:
[SET][PRIVATE] parameter=value
Where:
parameter
is an initialization parameter name. It is a string of characters starting with a letter and consisting of letters, digits and underscores. Initialization parameter names are case-sensitive.
value
is the initialization parameter value. It is case-sensitive. An initialization parameter value is either:
A string of characters that does not contain any backslashes, white space or double quotation marks (")
A quoted string beginning with a double quotation mark and ending with a double quotation mark. The following can be used inside a quoted string:
backslash (\) is the escape character
\n inserts a new line
\t inserts a tab
\" inserts a double quotation mark
\\ inserts a backslash
A backslash at the end of the line continues the string on the next line. If a backslash precedes any other character then the backslash is ignored.
For example, to enable tracing for an agent, set the HS_FDS_TRACE_LEVEL
initialization parameter as follows:
HS_FDS_TRACE_LEVEL=ON
SET
and PRIVATE
are optional keywords. You cannot use either as an initialization parameter name. Most parameters are needed only as initialization parameters, so you usually do not need to use the SET
or PRIVATE
keywords. If you do not specify either SET
or PRIVATE
, the parameter is used only as an initialization parameter for the agent.
SET
specifies that, in addition to being used as an initialization parameter, the parameter value is set as an environment variable for the agent process. Use SET
for parameter values that the drivers or non-Oracle system need as environment variables.
PRIVATE
specifies that the initialization parameter should be private to the agent and should not be uploaded to the Oracle database. Most initialization parameters should not be private. If, however, you are storing sensitive information like a password in the initialization parameter file, then you may not want it uploaded to the server because the initialization parameters and values are not encrypted when uploaded. Making the initialization parameters private prevents the upload from happening and they do not appear in dynamic performance views. Use PRIVATE
for the initialization parameters only if the parameter value includes sensitive information such as a user name or password.
SET PRIVATE
specifies that the parameter value is set as an environment variable for the agent process and is also private (not transferred to the Oracle database, not appearing in dynamic performance views or graphical user interfaces).
This section lists all the initialization file parameters that can be set for the Oracle Database Gateway for Sybase. They are as follows:
This section lists all the initialization file parameters that can be set for the Oracle Database Gateway for Informix. They are as follows:
This section lists all the initialization file parameters that can be set for the Oracle Database Gateway for Teradata. They are as follows:
This section lists all the initialization file parameters that can be set for the Oracle Database Gateway for SQL Server. They are as follows:
This section lists all the initialization file parameters that can be set for the Oracle Database Gateway for ODBC. They are as follows:
This section lists all the initialization file parameters that can be set for the Oracle Database Gateway for DRDA. They are as follows:
The following sections describe all the initialization file parameters that can be set for gateways.
Property | Description |
---|---|
Default value | None |
Range of values | Not applicable |
Specifies the remote functions that can be referenced in SQL statements. The value is a list of remote functions and their owners, separated by semicolons, in the following format:
owner_name.function_name
For example:
owner1.A1;owner2.A2;owner3.A3
If an owner name is not specified for a remote function, the default owner name becomes the user name used to connect to the remote database (specified when the Heterogeneous Services database link is created or taken from user session if not specified in the DB link).
The entries for the owner names and the function names are case-sensitive.
Property | Description |
---|---|
Default value | WORLD |
Range of values | 1 to 199 characters |
Specifies a unique network sub-address for a non-Oracle system. The HS_DB_DOMAIN
initialization parameter is similar to the DB_DOMAIN
initialization parameter, described in the Oracle Database Reference. The HS_DB_DOMAIN
initialization parameter is required if you use the Oracle Names server. The HS_DB_NAME
and HS_DB_DOMAIN
initialization parameters define the global name of the non-Oracle system.
Note: TheHS_DB_NAME and HS_DB_DOMAIN initialization parameters must combine to form a unique address in a cooperative server environment. |
Property | Description |
---|---|
Default value | 01010101 |
Range of values | 1 to 16 hexadecimal characters |
Specifies a unique hexadecimal number identifying the instance to which the Heterogeneous Services agent is connected. This parameter's value is used as part of a transaction ID when global name services are activated. Specifying a nonunique number can cause problems when two-phase commit recovery actions are necessary for a transaction.
Property | Description |
---|---|
Default value | HO |
Range of values | 1 to 8 characters |
Specifies a unique alphanumeric name for the data store given to the non-Oracle system. This name identifies the non-Oracle system within the cooperative server environment. The HS_DB_NAME
and HS_DB_DOMAIN
initialization parameters define the global name of the non-Oracle system.
Property | Description |
---|---|
Default value | 100 |
Range of values | 1 to 4000 |
Specifies the maximum number of entries in the describe cache used by Heterogeneous Services. This limit is known as the describe cache high water mark. The cache contains descriptions of the mapped tables that Heterogeneous Services reuses so that it does not have to re-access the non-Oracle data store.
If you are accessing many mapped tables, increase the high water mark to improve performance. Increasing the high water mark improves performance at the cost of memory usage.
Property | Description |
---|---|
Default value | System-specific |
Range of values | Any valid language name (up to 255 characters) |
Provides Heterogeneous Services with character set, language, and territory information of the non-Oracle data source. The value must use the following format:
language[_territory.character_set]
Note: The globalization support initialization parameters affect error messages, the data for the SQL Service, and parameters in distributed external procedures. |
Ideally, the character sets of the Oracle database and the non-Oracle data source are the same. In almost all cases, HS_LANGUAGE
should be set exactly the same as Oracle database character set for optimal character set mapping and performance. If they are not the same, Heterogeneous Services attempts to translate the character set of the non-Oracle data source to the Oracle database character set, and back again. The translation can degrade performance. In some cases, Heterogeneous Services cannot translate a character from one character set to another.
Note: The specified character set must be a superset of the operating system character set on the platform where the agent is installed. |
As more Oracle databases and non-Oracle databases use Unicode as database character sets, it is preferable to also run the gateway in Unicode character set. To do so, you must set HS_LANGUAGE=AL32UTF8
. However, when the gateway runs on Windows, the Microsoft ODBC Driver Manager interface can exchange data only in the double-byte character set, UCS2. This results in extra ratio expansion of described buffer and column sizes. Refer to HS_FDS_REMOTE_DB_CHARSET for instruction on how to adjust to correct sizes.
The language component of the HS_LANGUAGE
initialization parameter determines:
Day and month names of dates
AD, BC, PM, and AM symbols for date and time
Default sorting mechanism
Note that Oracle does not determine the language for error messages for the generic Heterogeneous Services messages (ORA-25000
through ORA-28000
). These are controlled by the session setting €ÿs in the Oracle database.
The territory clause specifies the conventions for day and week numbering, default date format, decimal character and group separator, and ISO and local currency symbols. Note that the level of globalization support between the Oracle database and the non-Oracle data source depends on how the gateway is implemented.
Property | Description |
---|---|
Default value | 64 KB |
Range of values | Any value up to 2 GB |
Sets the size of the piece of LONG
data being transferred. A smaller piece size means less memory requirement, but more round-trips to fetch all the data. A larger piece size means fewer round-trips, but more of a memory requirement to store the intermediate pieces internally. Thus, the initialization parameter can be used to tune a system for the best performance, with the best trade-off between round-trips and memory requirements, and network latency or response time.
Property | Description |
---|---|
Default value | 50 |
Range of values | 1 to the value of OPEN_CURSORS initialization parameter of Oracle database |
Defines the maximum number of cursors that can be open on one connection to a non-Oracle system instance.
The value never exceeds the number of open cursors in the Oracle database. Therefore, setting the same value as the OPEN_CURSORS
initialization parameter in the Oracle database is recommended.
Property | Description |
---|---|
Default value | ON |
Range of values | OFF or ON |
Controls whether Heterogeneous Services attempts to optimize performance of data transfer between the Oracle database and the Heterogeneous Services agent connected to the non-Oracle data store.
The following values are possible:
OFF
disables reblocking of fetched data so that data is immediately sent from agent to server.
ON
enables reblocking, which means that data fetched from the non-Oracle system is buffered in the agent and is not sent to the Oracle database until the amount of fetched data is equal to or higher than the value of HS_RPC_FETCH_SIZE
initialization parameter. However, any buffered data is returned immediately when a fetch indicates that no more data exists or when the non-Oracle system reports an error.
Property | Description |
---|---|
Default value | 50000 |
Range of values | 1 to 10000000 |
Tunes internal data buffering to optimize the data transfer rate between the server and the agent process.
Increasing the value can reduce the number of network round-trips needed to transfer a given amount of data, but also tends to increase data bandwidth and to reduce latency as measured between issuing a query and completion of all fetches for the query. Nevertheless, increasing the fetch size can increase latency for the initial fetch results of a query, because the first fetch results are not transmitted until additional data is available.
Property | Description |
---|---|
Default value for '[+|-]hh:mm' | Derived from the NLS_TERRITORY initialization parameter |
Range of values for '[+|-]hh:mm' | Any valid datetime format mask |
Specifies the default local time zone displacement for the current SQL session. The format mask, [+|-]hh:mm, is specified to indicate the hours and minutes before or after UTC (Coordinated Universal Time—formerly Greenwich Mean Time). For example:
HS_TIME_ZONE = [+ | -] hh:mm
Property | Description |
---|---|
Default Value | COMMIT_CONFIRM |
Range of Values | COMMIT_CONFIRM , READ_ONLY, READ_ONLY_AUTOCOMMIT , SINGLE_SITE , SINGLE_SITE_AUTOCOMMIT |
Specifies the type of transaction model that is used when the non-Oracle database is updated by a transaction.
The following values are possible:
COMMIT_CONFIRM
provides read and write access to the non-Oracle database and allows the gateway to be part of a distributed update. To use the commit-confirm model, the following items must be created in the non-Oracle database:
Transaction log table. The default table name is HS_TRANSACTION_LOG
. A different name can be set using the HS_FDS_TRANSACTION_LOG
parameter. The transaction log table must be granted SELECT
, DELETE
, and INSERT
privileges set to public.
Recovery account. The account name is assigned with the HS_FDS_RECOVERY_ACCOUNT
parameter.
Recovery account password. The password is assigned with the HS_FDS_RECOVERY_PWD
parameter.
COMMIT_CONFIRM
does not apply to Oracle Database Gateway for ODBC. The default value for Oracle Database Gateway for ODBC is SINGLE_SITE
.
READ_ONLY
provides read access to the non-Oracle database.
READ_ONLY_AUTOCOMMIT
provides read access to the non-Oracle database that do not have logging.
SINGLE_SITE
provides read and write access to the non-Oracle database. However, the gateway cannot participate in distributed updates.
SINGLE_SITE_AUTOCOMMIT
provides read and write access to the non-Oracle database which do not have logging. Any update is committed immediately, and the gateway cannot participate in distributed updates.
Property | Description |
---|---|
Default value | None |
Range of values | Valid parameter file names |
Use the IFILE
initialization parameter to embed another initialization file within the current initialization file. The value should be an absolute path and should not contain environment variables. The three levels of nesting limit do not apply.
Property | Description |
---|---|
Default Value | None |
Range of Values | Not applicable |
HS_FDS_CONNECT_INFO
that describes the connection to the non-Oracle system.
The default initialization parameter file already has an entry for this parameter. This release of gateway can support IPv6. If IPv6 address format is to be specified, you would need to wrap square brackets around the IPv6 specification to indicate the separation from the port number. The syntax for HS_FDS_CONNECT_INFO
for the gateways are as follows:
For Oracle Database Gateway for Sybase:
HS_FDS_CONNECT_INFO=host_name:port_number/database_name
where, host_name
is the host name or IP address of the machine hosting the Sybase database, port_number
is the port number of the Sybase database server, and database_name
is the Sybase database name.
For Oracle Database Gateway for Informix:
HS_FDS_CONNECT_INFO=host_name:port_number/server_name/database_name
where, host_name
is the host name or IP address of the machine hosting the Informix database, port_number
is the port number of the Informix database server, server_name
is the name of the server machine for the Informix data, and database_name
is the Informix database name.
For Oracle Database Gateway for Teradata:
HS_FDS_CONNECT_INFO=host_alias:port_number[/database_name]
where, host_alias
is the host alias name or IP address of the machine hosting the Teradata database, port_number
is the port number of the Teradata database server, and database_name
is the Teradata database name. The database_name
variable is optional.
For Oracle Database Gateway for SQL Server:
HS_FDS_CONNECT_INFO= host_name/[instance_name][/database_name]
where, host_name
is the host name or IP address of the machine hosting the SQL Server database, instance_name
is the instance of SQL Server running on the machine, and database_name
is the SQL Server database name. Both instance_name
and database_name
are optional. If instance_name
is omitted and database_name
is provided, the slash (/
) is required. This can be shown as follows:
HS_FDS_CONNECT_INFO= host_name//database_name
For Oracle Database Gateway for ODBC:
HS_FDS_CONNECT_INFO=dsn_value
where dsn_value is the name of the system DSN defined in the Microsoft Windows ODBC Data Source Administrator.
For Oracle Database Gateway for DRDA:
HS_FDS_CONNECT_INFO=IP_address:Port_number/Database_name,Type
Where IP_address
is the hostname or ip address of the DB2 DRDA server
Port_number
is the port number of the DB2 DRDA server.
Database_name
is the database name of teh DB2 server
Type
(case insensitive) is oneof the following:
ZOS (DB2 UDB for z/OS),
IOS (DB2 UDB for iSeries), or
LUW (DB2 UDB for Linux, UNIX, or Windows)
For example,
HS_FDS_CONNECT_INFO=[2001:0db8:20C:F1FF:FEC6:38AF]:1300/DB2M,ZOS
Property | Description |
---|---|
Default Value | None |
Range of Values | Not applicable |
The name of the table owner that is used for the non-Oracle database tables if an owner is not specified in the SQL statements.
Note: If this parameter is not specified and the owner is not explicitly specified in the SQL statement, then the user name of the Oracle user or the user name specified when creating the database link is used. |
Property | Description |
---|---|
Default Value | FALSE |
Range of Values | TRUE , FALSE |
Enables return values from functions. By default, all stored procedures and functions do not return a return value to the user.
Note: If you set this initialization parameter, you must change the syntax of the procedure execute statement for all existing stored procedures to handle return values. |
Property | Description |
---|---|
Default Value | RECOVER . |
Range of values | Any valid user ID |
Specifies the name of the recovery account used for the commit-confirm transaction model. An account with user name and password must be set up at the non-Oracle system. For more information about the commit-confirm model, see the HS_TRANSACTION_MODEL
parameter.
For DRDA, HS_FDS_RECOVERY_ACCOUNT
specifies the user ID that is used by the gateway if a distributed transaction becomes in doubt. This user ID must have execute privileges on the package and must be defined to the IBM database.
If a distributed transaction becomes in doubt, then the Oracle database determines the status of the transaction by connecting to the IBM database, using the HS_FDS_RECOVERY_ACCOUNT
. If this parameter is missing, then the gateway attempts to connect to a user ID of RECOVER
.
The name of the recovery account is case-sensitive.
Property | Description |
---|---|
Default Value | none |
Range of values | Any valid password |
Specifies the password of the recovery account used for the commit-confirm transaction model set up at the non-Oracle system. For more information about the commit-confirm model, see the HS_TRANSACTION_MODEL
parameter.
HS_FDS_RECOVERY_PWD
is used with the HS_FDS_RECOVERY_ACCOUNT
. The recovery user connects to the non-Oracle database if a distributed transaction is in doubt.
The name of the password of the recovery account is case-sensitive.
Property | Description |
---|---|
Default Value | FALSE |
Range of Values | TRUE , FALSE |
Enables result sets to be returned from stored procedures. By default, all stored procedures do not return a result set to the user.
Note: If you set this initialization parameter, you must do the following:
|
Property | Description |
---|---|
Default Value | OFF |
Range of values | OFF , ON , DEBUG |
Specifies whether error tracing is turned on or off for gateway connectivity.
The following values are valid:
OFF
disables the tracing of error messages.
ON
enables the tracing of error messages that occur when you encounter problems. The results are written by default to a gateway log file in LOG directory where the gateway is installed.
DEBUG
enables the tracing of detailed error messages that can be used for debugging.