General performance
mioconnor
Posts: 4
Hi,
We have SQL Source Control applied to a fairly large database 200 procs, 100 tables etc.
I have 6 developers working on a central copy, but the performance is extremely slow when committing changes if more than one person tries to do this at the same time.
One other issue is with metadata. We have a huge amount of metadata, 27000+ rows in one table. Unfortunately, SQL Source Control times itself out when analysing this data for check in.
Any tips or updates soon to be available as this is unfortunately making it unusable at the moment.
Many thanks,
Mike
We have SQL Source Control applied to a fairly large database 200 procs, 100 tables etc.
I have 6 developers working on a central copy, but the performance is extremely slow when committing changes if more than one person tries to do this at the same time.
One other issue is with metadata. We have a huge amount of metadata, 27000+ rows in one table. Unfortunately, SQL Source Control times itself out when analysing this data for check in.
Any tips or updates soon to be available as this is unfortunately making it unusable at the moment.
Many thanks,
Mike
Comments
The number of objects doesn't sound too bad, if it's, say, less than 1000. The performance should be pretty quick. Is everything local (i.e. the database and the repository?) In tests, a DB with around 8500 objects would normally refresh the commit tab in under a minute, what kind of times are you seeing?
27000 data rows may cause you more of a performance problem - we're improving this, but large amounts of data still do cause issue. Really, it's designed for smaller amounts of static data records.
Redgate Software
One easy win you could do, is not keep refreshing the tab when ever you click on commit tab. Numerous times I have been frustrated as I move from the tab to another tab to check something only to move back and it refreshes again. Let the user do the refresh manually. This would lower the conflicts.
Regarding the data rows, when do you think you will have a release for this improvement? I understand that 27000 is lot, but it would be amazing if you could increase the timeout maybe with a warning or something. To literally break it with a .net timeout is not great and makes it impossible to use. Increase the timeout and at least we can work with it in the background...
Thoughts?
Which version are you currently running?
Redgate Software
We are using 3.0.11.
Cheers,
Mike
This option is not enabled by default as it's a new feature, but to turn it on, just perform the following steps:
1. Close SSMS.
2. Open the following file - C:\Users\[username]\AppData\Local\Red Gate\SQL Source Control 3\ RedGate_SQLSourceControl_Engine_EngineOptions.xml
3. Add the following EnableFastDataParse tag inside the EngineOpions tag:
<?xml version="1.0" encoding="utf-16" standalone="yes"?>
<!---->
<EngineOptions version="2" type="EngineOptions">
<EnableFastDataParse>true</EnableFastDataParse>
</EngineOptions>
4. Save file and restart SSMS.
Redgate Software