Db2 for z/OS as Target
Fivetran HVR supports integrating changes into Db2 for z/OS location. This section describes the configuration requirements for integrating changes (using Integrate and Refresh) into Db2 for z/OS location.
For the list of supported Db2 for z/OS versions, into which HVR can integrate changes, see Integrate changes into location in Capabilities.
Grants for Integrate and Refresh
The following grants are required for integrating changes into Db2 for z/OS:
The HVR database User must be granted the
select
,insert
,update
, anddelete
privileges to read and change the replicated tables:grant select, insert, update, delete on table myschema.mytable to username;
The HVR database User must be granted the
createtab
privilege to create and drop HVR state tables:grant createtab on database mydatabase to username;
The HVR database User must be granted the
select
privilege for the following SYSIBM tables to fetch information about the Db2 for z/OS installation:grant select on table sysibm.sysauxrels to username; grant select on table sysibm.syscolauth to username; grant select on table sysibm.syscolumns to username; grant select on table sysibm.sysdatabase to username; grant select on table sysibm.sysforeignkeys to username; grant select on table sysibm.sysindexes to username; grant select on table sysibm.syskeys to username; grant select on table sysibm.sysparms to username; grant select on table sysibm.sysrels to username; grant select on table sysibm.sysroutines to username; grant select on table sysibm.syssynonyms to username; grant select on table sysibm.systabauth to username; grant select on table sysibm.systablepart to username; grant select on table sysibm.systables to username;
Intermediate Directory
This option in the HVR UI allows you to specify a directory path for storing intermediate (temporary) files generated during Compare. These files are created during both "direct file compare" and "online compare" operations.
Using an intermediate directory can enhance performance by ensuring that temporary files are stored in a location optimized for the system's data processing needs.
This setting is particularly relevant for target file locations, as it determines where the intermediate files are placed during the Compare operation. If this option is not enabled, the intermediate files are stored by default in the integratedir/_hvr_intermediate directory, where integratedir is the replication DIRECTORY (File_Path) defined for the target file location.
This option is equivalent to the location property Intermediate_Directory.
Intermediate Directory is Local
This option in HVR UI specifies that the Intermediate Directory will be created on the local drive of the file location's server.
This setting is crucial for optimizing performance, as it reduces network latency and avoids potential permission issues associated with remote storage. By storing intermediate files locally, HVR can process data more efficiently, taking advantage of the speed and reliability of local storage.
This option is particularly beneficial when the HVR Agent has access to ample local storage, enabling it to handle large data volumes without relying on networked storage solutions.
This option is equivalent to the location property Intermediate_Directory_Is_Local.