A replication system has been set up to search the business, adding some special features to the business, and the read library pressure increases, resulting in replication delays. Optimizations are made in a variety of ways, one of which is to modify the replication agent's parameters.
There is no replication lag between the write library and the distribution library, and replication latency occurs between the distribution library and the Read library.
In terms of SQL Server replication parameters, the Packetsize,packetsize default value of 4096 is mostly adjusted.
--------------------------------------------------------------------------------------------------------------
Copy Distribution Section parameters:
-pollinginterval: The frequency, in seconds, of a replicated transaction query to the distribution database. The default value is 5 seconds
-packetsize: Packet size (in bytes). The default value is 4096 (bytes).
-output: Proxy file output path
-logintimeout: The number of seconds to wait before the login time-out. The default value is a second
-pollinginterval: The frequency, in seconds, of a replicated transaction query to the distribution database. The default value is 5 seconds.
SQL Server Replication Optimizations