How can we help you today? How can we help you today?
AlexYates
Yes - that could well be the issue. As a rule of thumb, if the static data table is over 1,000 rows expect an impact on performance. If the table is an order of magnitude bigger consider using a different strategy. However, if this is the issue there is a trick you can use to give you a significant performance boost: Setup tab > under Options just for this database, disable checks for changes to static data. Now the source code will still include the static data, but you have turned off the comparison by default. Now that static data will stop slowing down your refresh on the commit/get latest tab. Crucially, however, it will no longer notify you if the data changes. You will need to head back to the settings tab and flip it back on if/when you want to commit or pull down data updates. Hence, this fix will boost performance, but will mean your team need to communicate any static data updates with each other and manually push them up/pull them down. Also, this setting is individual to each dev machine. Hence, if using the dedicated model, each developer will individually need to flip the check back on, pull down the data, and flip the check back off again to get their performance back. / comments
Yes - that could well be the issue. As a rule of thumb, if the static data table is over 1,000 rows expect an impact on performance. If the table is an order of magnitude bigger consider using a di...
0 votes
Any reason Start > SQL Source Control > R-Click "uninstall" won't work? [image] Also, SQL Source Control is really good. Why don't you need it? / comments
Any reason Start > SQL Source Control > R-Click "uninstall" won't work?Also, SQL Source Control is really good. Why don't you need it?
0 votes
I would change your process. It's inefficient for various reasons. For clarification, I'm assuming when you say ''migration script" you are not referring to Redgate SQL Source Control "migration scripts" feature. It's an overloaded term so I just want to be sure that's not what you meant. If it was we should talk about that. First you need to decide if you want to use a migrations or a model based source control strategy. Currently you have a form of hybrid which is highly inefficient. If you really want a hybrid approach there are better ways to do it. More info: ore [image] /workingwithdevs.com/delivering-databases-migrations-vs-state/ If you would like to go with model, you should look at the DLM Automation release objects and you shouldsprobably create fresh DlmDatabaseRelease object against prod or staging for each build. (Other strategies may also work but this would be a good start.) Then you will just get a single upgrade script and a handy diff report for the DBA. But you may or may not wish to consider leaving the release creation to nearer the deployment day. If you would like to go with migrations, use ReadyRoll instead of SQL Source Control. (Also, I highly recommend moving to the dedicated model. It'll make your life much much easier: http://workingwithdevs.com/shared-vs-dedicated/) There are a lot of concepts here so if you'd like to talk through it feel free to contact me for a free 30 mins Skype chat. You can contact me either through any of the links in my signature or through the enquiries address on our website: www.dlmconsultants.com (Ask for Alex.) / comments
I would change your process. It's inefficient for various reasons.For clarification, I'm assuming when you say ''migration script" you are not referring to Redgate SQL Source Control "migration scr...
0 votes
Hi Bruce, Sorry to differ from Bob, but I wouldn't recommend using the 'migration script' feature of Redgate SQL Source Control in the way that Bob has suggested. The 'migration script' feature is intended only for data migration and table refactors that SQL Compare cannot handle using generated code. Use it like pin-hole surgery to help SQL Compare only when it needs it, rather than for every change. Using a Redgate SQL Source Control 'migration script' for every change will cause significant performance issues with the Redgate tools and may lead you into complicated and difficult to troubleshoot issues. If you would like a migration script for every change that's perfectly reasonable. However, you should use a migrations first tool (such as ReadyRoll) rather than a model first tool (SQL Source Control). For more info on the Model vs Migration decision: http://dlmconsultants.com/model-vs-mig/ http://workingwithdevs.com/delivering-databases-migrations-vs-state/ If you would like to stick with a model based approach I recommend letting DLM Automation generate your deployment scrips within an automated build/release pipeline. I would also strongly encourage you to move to dedicated databases rather than a shared dev database. More info here: http://workingwithdevs.com/shared-vs-dedicated/ Those points aside, I would agree with Bob in pretty much every other aspect. :-) Since this is a massive topic, if you would like to schedule a free 30 minute skype chat etc let me know. You can contact me using the details in my signature or by using the email address on http://dlmconsultants.com/. (Ask for Alex.) / comments
Hi Bruce,Sorry to differ from Bob, but I wouldn't recommend using the 'migration script' feature of Redgate SQL Source Control in the way that Bob has suggested.The 'migration script' feature is in...
0 votes