Hi,
We got rid of the problem by moving away from WID and migrate to SQL Server:
We also used to delete older Sync history when it was on a Windows 2012 machine using this command
(warning, use at your own risks)
DELETE FROM tbEventInstance WHERE EventNamespaceID = ‘2’ AND EVENTID IN (‘381’, ‘382’, ‘384’, ‘386’, ‘387’, ‘389’) AND TimeAtServer < ’20yy-mm-dd
I wouldn't know the database path on Windows 2019.