We are having an application which is a wrapper of SQL Server Transnational Replication containing only tables. The application creates all the articles, publications, subscriptions and implement the pre and post snapshot scripts. We have deployed
the same in one server which is the Distributor and the publisher (SQL Server 2017). Subscriber is another server. CPU rises when the replication runs and also because of the log reader agent causing the Tempdb contentions.
The cleaning job is running and keeping up to date. Immediate_Sync is off. Allow SnapShot Isolation and Is Read Committed Snapshot On is True.
Publisher/Distributor configuration:Memory: 432 GB, Windows Server 2016, SQL Server 2017
Subscriber : Memory 256 GB, Windows Server 2016, SQL Server 2017
Please note that the publisher contain around 200 other databases as well.
There is enough free spaces in the servers.
Can somebody please help me to figure out the issue?
Thanks & Regards,
Anitha John