Use alter connection with the parameter to change the attributes of a single connection or configure replication server to change the attribute of the parameter for all connections to SAP Replication Server.
Parameter (database_param) |
Value (value) |
---|---|
batch |
The default, “on,” allows command batches to a replicate database. Default: “on” for SAP ASE and “off” for non-SAP ASE databases. See Command Batching for Non-SAP ASE Servers in the Administration Guide Volume 2. |
batch_begin |
Indicates whether a begin transaction can be sent in the same batch as other commands (such as insert and delete). Default: on See Command Batching for Non-SAP ASE Servers in the Administration Guide Volume 2. |
command_retry |
The number of times to retry a failed transaction. The value must be greater than or equal to 0. Default: 3 |
db_packet_size |
The maximum size of a network packet. During database communication, the network packet value must be within the range accepted by the database. You may change this value if you have SAP ASE that has been reconfigured. Allowable range: 512 bytes to 2,147,483,647 bytes within the limits for the replicate data server Maximum SAP ASE limit: 16384 bytes Default: 512-byte network packet for all SAP ASE databases |
deferred_name_resolution |
Enable deferred name resolution in SAP Replication Server to support deferred name resolution in SAP ASE. You must ensure that deferred name resolution is supported in the replicate SAP ASE before you enable deferred name resolution support in SAP Replication Server. Default: off |
disk_affinity |
Specifies an allocation hint for assigning the next partition. Enter the logical name of the partition to which the next segment should be allocated when the current partition is full. Values are “partition_name” and “off.” Default: off |
dsi_alt_writetext |
|
dsi_bulk_copy |
Turns the bulk-copy-in feature on or off for a connection. If dynamic_sql and dsi_bulk_copy are both on, SAP Replication Server applies bulk-copy-in when appropriate and uses dynamic SQL if SAP Replication Server cannot use bulk-copy-in. Turn dsi_bulk_copy on to improve performance if you have large batches of inserts. Default: off Note: You must set dsi_bulk_copy to off
before you enable real-time loading (RTL) replication to SAP IQ.
|
dsi_bulk_threshold |
The number of consecutive insert commands in a transaction that, when reached, triggers SAP Replication Server to use bulk copy-in. When Stable Queue Transaction (SQT) encounters a large batch of insert commands, it retains in memory the number of insert commands specified to decide whether to apply bulk copy-in. Because these commands are held in memory, SAP suggests that you do not configure this value much higher than the configuration value for dsi_large_xact_size. SAP Replication Server uses dsi_bulk_threshold for real-time loading (RTL) replication to SAP IQ and high volume adaptive replication (HVAR) to SAP ASE. If the number of commands for an insert, delete, or update operation on one table is less than the number you specify after compilation, RTL and HVAR use language instead of bulk interface. Minimum: 1 Default: 20 Note: You must set dsi_compile_enable to ‘on’ to
use dsi_bulk_threshold.
|
dsi_charset_convert |
The specification for handling
character set conversion. This parameter applies to all data and
identifiers to be applied at the DSI in question. The values are:
|
dsi_check_lock_wait |
The number of milliseconds before the DSI executor thread executes the rs_thread_check_lock function string, which queries the replicate database about lock status. Default: 3000 milliseconds (3 seconds) |
dsi_cmd_batch_size |
The maximum number of bytes that SAP Replication Server places into a command batch. Default: 8192 bytes |
dsi_cmd_prefetch |
Allows DSI to pre-build the next batch of commands while waiting for the response from data server, and therefore improves DSI efficiency. If you also tune your data server to enhance performance, it is likely that you will gain an additional performance increase when you use this feature. Default: off When you set dsi_compile_enable to ‘on’, SAP Replication Server ignores what you set for dsi_cmd_prefetch. |
dsi_cmd_separator |
The character that separates commands in a command batch. For example, if you have specified a different separator character and want to change it back to the default character, enter: alter connection to data_server.database set dsi_cmd_separator to '<Return>' Press the Return key, and no other characters, between the two single-quote characters. Default: newline (\n) Note: Pressing the Return key is effective only in an interactive
update; it is not applicable to executing a script, such as a DDL
generated script. You must update this parameter in an interactive
mode. You cannot reset it from within a script.
|
dsi_command_convert |
Specifies how to convert a replicate command. A combination of these operations specifies the type of conversion: Combinations of operations for dsi_command_convert include i2none, u2none, d2none, i2di, t2none, and u2di. You must type the number “2”. The operation before conversion precedes the “2” and the operations after conversion are after the “2”. For example: Default: None. You can also configure this parameter at the table-level. For setting, use alter connection for database-level, or alter connection with the for replicate table named clause for table-level configuration. |
dsi_commit_check_locks_intrvl |
The number of milliseconds (ms) the DSI executor thread waits between executions of the rs_dsi_check_thread_lock function string. Used with parallel DSI. See Use Parallel DSI Threads in the Administration Guide Volume 2. Default: 1000 ms (1 second) Minimum: 0 Maximum: 86,400,000 ms (24 hours) |
dsi_commit_check_locks_max |
The maximum number of times a DSI executor thread checks whether it is blocking other transactions in the replication database before rolling back its transaction and retrying it. Used with parallel DSI. See Use Parallel DSI Threads in the Administration Guide Volume 2. Default: 400 Minimum: 1 Maximum: 1,000,000 |
dsi_commit_control |
Specifies whether commit control processing is handled internally by SAP Replication Server using internal tables (on) or externally using the rs_threads system table (off). Used with parallel DSI. See Use Parallel DSI Threads in the Administration Guide Volume 2. Default: on |
dsi_compile _enable |
Enables or disables RTL or HVAR at the server-level, database-level, or table-level. For setting, use configure replication server for server-level, alter connection for database-level, or alter connection with the for replicate table named clause for table-level configuration. Default: Set dsi_compile_enable to ‘off’ for an affected table if replicating new row changes causes problems, such as when there is a trigger on the table which requires all the operations on that table to be replicated in log order, and therefore compilation is not allowed. Note: Set dsi_compile _enable to ‘on’ at
the server- or database-level before you set dsi_compile_enable to ‘on’ at
the table-level.
When you set dsi_compile_enable to ‘on’, SAP Replication Server ignores what you set for replicate_minimal_columns and dsi_cmd_prefetch. After you execute dsi_compile_enable at the server, database, or table-level, suspend and resume the connection. See High Volume Adaptive Replication to Adaptive Server in the Administration Guide Volume 2 for HVAR. See SAP IQ as Replicate Data Server in the Heterogeneous Replication Guide for RTL. License: Separately licensed under the Advanced Services Option. See Advanced Services Option in the Administration Guide Volume 2. |
dsi_compile_max_cmds |
Specifies, in number of commands, the maximum size of a group of transactions. When HVAR or RTL reaches the maximum group size for the current group that it is compiling, HVAR or RTL starts a new group. If there is no more data to read, and even if the group does not reach the maximum number of commands, HVAR or RTL completes grouping the current set of transactions into the current group. For setting, use configure replication server for server-level or alter connection for database-level. Minimum: 100 Default: 10,000 Note: You must set dsi_compile_enable to ‘on’ to
use dsi_compile_max_cmds.
|
dsi_dataserver_make |
Specifies the data server type that contains the replicate database that you want to connect to. Set to:
Use dsi_dataserver_make and dsi_connector_type to identify the connector that is associated with the connection. You can configure dsi_dataserver_make at the database level. If you do not specify this parameter, SAP Replication Server deduces the data server type from the function-string class name of the database connection. If the functions-string class is customized, SAP Replication Server cannot deduce the data server type and defaults to ‘ASE’. |
dsi_exec_request_sproc |
Turns on or off request stored procedures at the DSI of the primary SAP Replication Server. Default: on |
dsi_fadeout_time |
The number of seconds of idle time before a DSI connection is closed. A value of -1 specifies that the connection should not fade out. Default: 600 seconds |
dsi_ignore_underscore_name |
When the transaction partitioning rule is set to name, specifies whether or not SAP Replication Server ignores transaction names that begin with an underscore. Values are “on” and “off.” Default: on |
dsi_isolation_level |
Specifies the isolation level for transactions. The ANSI standard and SAP
ASE supported values are:
Data servers supporting other isolation levels are supported as well through the use of the rs_set_isolation_level function string. Support is not limited to the ANSI standard only. SAP Replication Server can support any isolation level the replicate data server may use. |
dsi_keep_triggers |
Specifies whether triggers should fire for replicated transactions in the database. “off” – causes SAP Replication Server to set triggers off in the SAP ASE database, so that triggers do not fire when transactions are executed on the connection. Use this setting for standby databases. on” – specifies all databases except standby databases. Default: on (except standby databases) |
dsi_large_xact_size |
The number of commands allowed in a transaction before the transaction is considered to be large. Default: 100 Minimum: 4 Maximum: 2,147,483,647 SAP Replication Server ignores dsi_large_xact_size when you turn on dsi_compile_enable. |
dsi_max_cmds_in_batch |
Defines maximum number of source commands for which output commands can be batched. You must suspend and resume the connection for any change in the parameter to take effect. Range: 1 – 1000 Default: 100 |
dsi_max_cmds_to_log |
The number of commands to write into the exceptions log for a transaction. Default: -1 (all commands) Valid values: 0 to 2147483647 |
dsi_max_xacts_in_group |
Specifies the maximum number of transactions in a group. Larger numbers may improve data latency at the replicate database. Range of values: 1 – 1000. Default: 20 This parameter is ignored when dsi_compile_enable is turned on. |
dsi_max_text_to_log |
The number of bytes to write into the exceptions log for each rs_writetext function in a failed transaction. Change this parameter to prevent transactions with large text, unitext, or image columns from filling the RSSD or its log. Default: –1 (all text, unitext, or image columns) |
dsi_non_blocking_commit |
Specifies the number of minutes to extend the period of time SAP Replication Server saves messages after a commit. Range of values: 0 – 60 minutes. Default: 0 – non-blocking commit is disabled. Enable this parameter to improve replication performance when the delayed commit feature is available in SAP ASE 15.0 and later or the equivalent feature is available in Oracle 10g v2. |
dsi_num_large_xact_threads |
The number of parallel DSI threads to be reserved for use with large transactions. The maximum value is one less than the value of dsi_num_threads. Default: 0 |
dsi_num_threads |
The number of parallel DSI threads to be used. The maximum value is 255. Default: 1 |
dsi_partitioning_rule |
Specifies the partitioning rules (one or more) the DSI uses to partition transactions among available parallel DSI threads. Values are origin, origin_sessid, time, user, name, and none. See Partitioning Rules: Reducing Contention and Increasing Parallelism in the Administration Guide Volume 2 for detailed information. Default: none This parameter is ignored when dsi_compile_enable is turned on. |
dsi_proc_as_rpc |
Specifies how SAP Replication Server applies stored procedure replication.
Default: off When the replicate database is SAP ASE, dsi_proc_as_rpc can be on or off. When the replicate database is Oracle, set dsi_proc_as_rpc on if you use ExpressConnect for Oracle (ECO). ECO only supports stored procedure replication using RPC. By default, SAP Replication Server sets dsi_proc_as_rpc on if you use one of the Oracle ECO connection profiles when you create the connection to the Oracle database from SAP Replication Server. See Configuring ExpressConnect for Oracle in the Replication Server Options > ExpressConnect for Oracle Installation and Configuration Guide ExpressConnect for Oracle Microsoft Windows, UNIX, and Linux > . |
dsi_quoted_identifier |
Enables or disables quoted identifier support in the Data Server Interface (DSI).
Default: off You can set dsi_quoted_identifier at the table level, connection level, or at the server level. The table-level dsi_quoted_identifier setting takes precedence over any existing connection-level dsi_quoted_identifier setting and the connection-level setting takes precedence over the server-level dsi_quoted_identifier setting. See Quoted Identifier Replication at the Table Level If you set dsi_quoted_identifier to on for an SAP ASE database connection , you must not include double quotes in any stored procedure you want to replicate. Otherwise, the DSI thread shuts down.Quoted identifiers are not supported in mixed version environments. For replication of a quoted identifier to succeed, the primary SAP Replication Server and the SAP Replication Server that connects to the replicate data server version must be 15.2 and later. However, intermediate SAP Replication Servers in a route can be of lower versions. |
dsi_replication |
Specifies whether or not transactions applied by the DSI are marked in the transaction log as being replicated. When dsi_replication is set to “off,” the DSI executes set replication off in the SAP ASE database, preventing SAP ASE from adding replication information to log records for transactions that the DSI executes. Since these transactions are executed by the maintenance user and, therefore, usually not replicated further (except if there is a standby database), setting this parameter to “off” avoids writing unnecessary information into the transaction log. dsi_replication must be set to “on” for the active database in a warm standby application for a replicate database, and for applications that use the replicated consolidated replicate application model. Default: on (“off” for standby database in a warm standby application) |
dsi_row_count_validation |
If you have table rows that are not synchronized, and you want to bypass the default error actions and messages, you can set dsi_row_count_validation to off to disable row count validation. Default: on to enable row count validation. You need not suspend and resume a database connection when you set dsi_row_count_validation for the connection; the parameter takes effect immediately. However, the new setting affects the batch of replicated objects that SAP Replication Server processes after you execute the command. Changing the setting does not affect the batch of replicated objects that SAP Replication Server is currently processing. |
dsi_serialization_method |
Specifies the method used to determine when a transaction can start, while still maintaining consistency. In all cases, commit order is preserved. These methods are ordered from most to least amount of parallelism. Greater parallelism can lead to more contention between parallel transactions as they are applied to the replicate database. To reduce contention, use the dsi_partition_rule option.
Note: You can only set dsi_serialization_method to no_wait if dsi_commit_control is
set to “on”.
These options are retained only for backward compatibility with older versions
of SAP Replication Server:
Note: The isolation_level_3 value
is no longer supported as a serialization method but it is the same
as setting dsi_serialization_method to wait_for_start and dsi_isolation_level to
3.
Default: wait_for_commit |
dsi_sqt_max_cache_size |
Maximum SQT (Stable Queue Transaction interface) cache memory for the database connection, in bytes. The default, “0,” means that the current setting of sqt_max_cache_size is used as the maximum cache size for the connection. Default: 0 For 32-bit SAP Replication Server: For 64-bit SAP Replication Server: |
dsi_stage_all_ops |
Prevents compilation for specified tables when you configure SAP Replication Server and SAP IQ InfoPrimer integration. If table history must be preserved, as in the case of slowly changing dimension (SCD) tables, set dsi_stage_all_ops to on. See Parameters > dsi_stage_all_ops in the Heterogeneous Replication Guide. |
dsi_text_convert_multiplier |
Changes the length of text or unitext datatype columns at the replicate site.
Use dsi_text_convert_multiplier when
text or unitext datatype columns must expand or contract due to
character set conversion. SAP Replication Server multiplies the length of
primary text or unitext data by the value of dsi_text_convert_multiplier to determine the length of text or unitext data at the replicate site. The value type is float.
Default: 1 |
dsi_timer |
Use the dsi_timer configuration parameter to specify a delay between the time transactions commit at the primary database and the time transactions commit at the standby or replicate database. SAP Replication Server processes transactions in the outbound queue in commit order after the period of delay is over. After you execute dsi_timer with alter connection or alter logical connection, suspend and resume the connection. Specify the delay in the hh:mm format. Note: SAP Replication Server does not support time zone differences between the
Replication Agent at the primary database and the SAP Replication Server
with the DSI connection where you want to execute dsi_timer.
|
dsi_top1_enable |
For SAP ASE databases, set
dsi_top1_enable to on to enable
replication of tables that do not have unique keys. If a table does not have a unique key, it is possible that there are two or more rows with the same values. However, DSI shuts down if it cannot find a unique row to apply an operation. The dsi_top1_enable parameter instructs DSI to select and update only the first instance of multiple similar rows by setting unsigned_integer to 1 in the top unsigned_integer clause of the SAP ASE select statement. Default: off Use configure replication server to set the parameter for all replicate connections. Do not use configure replication server to set dsi_top1_enable to on if there are connections to non-SAP ASE replicate databases. Instead, use alter connection to set the parameter individually for each SAP ASE replicate database connection. SAP Replication Server
does not support replication of a table without unique keys if:
|
dsi_xact_group_size |
The maximum number of bytes, including stable queue overhead, to place into one grouped transaction. A grouped transaction is a set of transactions that the DSI applies as a single transaction. A value of –1 means no grouping. SAP recommends that you set dsi_xact_group_size to the
maximum value and use dsi_max_xacts_in_group to control
the number of transactions in a group.
Note:
Obsolete for SAP Replication Server version 15.0 and
later. Retained for compatibility with older SAP Replication
Servers.
Maximum: 2,147,483,647 Default: 65,536 bytes This parameter is ignored when dsi_compile_enable is turned on. |
dump_load |
Set to “on” at replicate sites only to enable coordinated dump. See Loading from Coordinated Dumps in the Administration Guide Volume 2. Default: off |
exec_cmds_per_timeslice |
Specifies the number of LTL commands an LTI or SAP ASE RepAgent Executor thread can process before it must yield the CPU to other threads. The range is 1 to 2,147,483,647. Default: 2,147,483,647 |
dynamic_sql |
Turns dynamic SQL feature on or off for a connection. Other dynamic SQL related configuration parameters will take effect only if this parameter is set to on. Note:
If dynamic_sql and dsi_bulk_copy
are both on, DSI applies bulk copy-in.
Dynamic SQL is used if bulk copy-in is not
used.
Default: off Note: You must set dynamic_sql to off before
you enable real-time loading (RTL) replication to SAP IQ.
|
dynamic_sql_cache_size |
Gives the SAP Replication Server a hint on how many database objects may use the dynamic SQL statement for a connection. Minimum: 1 Maximum: 65536 Default: 100 |
dynamic_sql_cache_management |
Manages the dynamic SQL cache for a DSI/E thread. Values: mru - keep the most recently used statements and deallocate the to allocate new dynamic statements when dynamic_sql_cache_size is reached. fixed (default)- SAP Replication Server stops allocating the new dynamic statements once dynamic_sql_cache_size is reached. |
exec_nrm_request_limit |
Specifies the amount of memory available for messages from a primary database waiting to be normalized. Set nrm_thread to ‘on’ with configure replication server before you use exec_nrm_request_limit. Minimum: 16,384 bytes Maximum: 2,147,483,647 bytes Default for: After you change the configuration for exec_nrm_request_limit, suspend and resume the Replication Agent. License: Separately licensed under the Advanced Services Option. See Advanced Services Option in the Administration Guide Volume 2. |
exec_sqm_write_request_limit |
Specifies the amount of memory available for messages waiting to be written to an inbound queue. Default: 1MB Minimum:16KB Maximum: 2GB |
md_sqm_write_request_limit |
Specifies the amount of memory available to the Distributor for messages waiting to be written to the outbound queue. Note: In SAP Replication Server 12.1,
md_sqm_write_request_limit replaces md_source_memory_pool. md_source_memory_pool is retained for
compatibility with older SAP Replication Servers.
Default: 1MB Minimum: 16K Maximum: 2GB |
rep_as_standby |
When rep_as_standby is on, table subscriptions replicate tables marked by sp_reptostandby. For rep_as_standby on to succeed, the SAP ASE RepAgent parameters send maint xacts to replicate must be false and send warm standby xacts must be true. Default: off |
replicate_minimal_columns |
Specifies whether SAP Replication Server should send all replication definition columns for all transactions, or only those needed to perform update or delete operations at the replicate database. Values are On and Off. Default: On SAP Replication Server uses this connection-level parameter when a replication definition does not contain the replicate minimal columns clause, or if there is no replication definition at all Otherwise, SAP Replication Server ignores the value of this parameter. You can use admin config to display replicate_minimal_columns configuration information. When you set dsi_compile_enable to ‘on’, SAP Replication Server ignores what you set for replicate_minimal_columns. See Use Replicate Minimal Columns with Dynamic SQL in the Administration Guide Volume 2. |
save_interval |
The number of minutes that the SAP Replication Server saves messages after they have been successfully passed to the destination data server. Default: 0 minutes |
stage_operations |
Set to on for SAP Relication Server to write operations to staging tables for the specified connection when you configure SAP Replication Server and SAP IQ InfoPrimer integration. See Parameters > stage_operations in the Heterogeneous Replication Guide. |
sub_sqm_write_request_limit |
Specifies the memory available to the subscription materialization or dematerialization thread for messages waiting to be written to the outbound queue. Default: 1MB Minimum: 16K Maximum: 2GB |
unicode_format |
Supports sending unicode data in U&” format which removes the limitation of UTF-8 character set in SAP Replication Server. Set unicode_format to one of these values:
Default: string |
use_batch_markers |
If use_batch_markers is set to on, the function strings rs_batch_start and rs_batch_end will be executed. Note: This parameter must be set to on only
for replicate data servers that require additional SQL translation
to be sent at the beginning and end of a batch of commands that
are not contained in the rs_begin and rs_commit function
strings.
Default: off See Command Batching for Non-SAP ASE Servers in the Administration Guide Volume 2 . |