Get Latest takes forever

I have SQL Source Control 4 installed with SSMS 2012. On one particular database (~1200 sysobjects), the Get Latest takes around 15-20 minutes. Works fine on other databases, even those with a comparable number of sysobjects. The only thing different with this DB is that it has an Exclude filter setup - something like Exclude If Object Name equals XYZ. Can this cause such massive slowness with Get Latest ? The reason for the Exclude If is that there is some sensitive data hardcoded in this stored procedure that others should not see (don't ask why, I know there are alternatives).

Any ideas what can be the cause? I tried deleting all the files in the source control cache folder, and still the problem continues. Any pointers are much appreciated.
Sign In or Register to comment.