DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell...
Transcript of DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell...
DevOps for the SQL Server Database
Brian A. Randell
Partner at MCW Technologies, LLC
Microsoft Developer Technologies MVP
• Partner with MCW Technologies, www.mcwtech.com• Co-author Pro ALM 2013 from Wrox• 15 year Microsoft MVP—Development Technologies• Linked In Learning author
• New course DevOps for the Database with VSTS and Azurehttps://bri.gd/lildbdevopsvsts0818
• Also Db DevOps with TFS 2018 http://bri.gd/lildbdevopstfs18
[email protected] | @brianrandell | blog.brianrandell.com
Brian.About();
People. Process. Products.What is DevOps?
DevOps is the union of people, process, and products to enable continuous delivery of value to your end users.
“
”
Build&
Test
ContinuousDelivery
Deploy
Operate
Monitor &
Learn
Plan &
Track
Develop
Compliant Database DevOps
A B C D E F GH I J K L M NO P Q R S T UV W X Y Z
C
Focus on the Flow
• Continuous Integration
• Continuous Testing
• Continuous Deployment
• Continuous Feedback
• Continuous Improvement
• Continuous (Value) Delivery
Great, but how?
• Let’s look at an end-to-end CI/CD pipeline• Tools I’m using
• Redgate SQL Toolbelt with SQL Change Automation• Microsoft Release Management
• A component of Team Foundation Server 2018
Models and Databases
• SQL Source Control approach• Model database entities as DDL entities• Publish changes by comparing model to target
Migrations and Databases
• Redgate SQL Change Automation uses migrations• Changes tracked using SQL scripts• “Migrate” changes progressively via a series of scripts
Some Considerations
• People and Process• Drift• Multiple apps using same database
• Updating the database and app together• Compliant Test Data
Anyquestions?