Configuring HVAR

Once you alter the connection to the replicate database and set dsi_compile_enable to on, Replication Server uses these parameters to determine when to start and stop transaction grouping and compilation:

HVAR automatically sets the Sybase-recommended values for dsi_compile_max_cmds, dsi_bulk_threshold, and dsi_command_convert, which are the default values. However, you can specify your own values to tune performance in your replication environment. For example, if you want to adjust these values from the default values when you enable HVAR:

alter connection to SYDNEY_DS.pubs2
set dsi_compile_enable to ‘on’
set dsi_compile_max_commands to ‘50000’
set dsi_bulk_threshold to ‘15’
set dsi_command_convert to ‘i2di,u2di’
go

See “alter connection,” in Chapter 3, “Replication Server Commands” in the Replication Server Reference Manual for full descriptions of these parameters.