The netcopy command allows the Primary database to be copied to a remote Secondary. The netcopy command is also used to copy a database from a Primary server to a Secondary server when one or both servers are diskless. The Primary database files are copied through a network link.
The connect string that is used to connect to the Secondary server for the netcopy operation is specified with the HotStandby.Connect parameter.
Controlling netcopy block size
You can tune the performance of netcopy (and the performance of backup) by increasing or decreasing the block size of the database file when it is copied from the Primary to the Secondary server. You can define the block size with the General.BackupBlockSize parameter. Generally, larger block size means faster netcopy and backup, but at the cost of possibly slowing down the server response time to other requests while the netcopy or backup is being done.
By default, the General.BackupBlockSize parameter is set to 64K.
You can set the value in bytes, or by using the suffixes “M” and “K”. For example:
[General] BackupBlockSize = 32K
or
[General] BackupBlockSize = 32768
Notes
▪The minimum value for General.BackupBlockSizeis the server block size (defined with IndexFile.BlockSizeparameter).
▪The maximum value is 8MB. If the parameter value exceeds the maximum value, the default value is used (64K).
▪The value of General.BackupBlockSize needs to be a multiple of the database block size of the server (defined with IndexFile.BlockSize parameter).