Delivering Business Value Faster Adam Anderson Delivering Business Value Faster Welcome to Delivering business value faster.
About Me Adam Anderson @SQLPioneer sqlpioneer.wordpress.com www.linkedin.com/in/adam-anderson-dba My name is Adam Anderson, and I have been a database developer for over 10 years and in IT for more than 20. I am MCSA certified and will be taking my final test in a month or two to get my MCSE. So I have a friend that is a financial accountant and he always droned on about ROI and how most people didn’t understand it. When I asked what he meant he told me that if you invest 100,000 dollars and a year later you get 12,000 dollars in return that was a 12% ROI and most companies would take that and run. However, if you can start making a 1000 dollars a month it is still the same money
Agenda Introduction The Value of Change Database Deployment Types Continuous Integration/Continuous Delivery Demo
The Value of Change
The DevOps Promise Increased Return on Investment Stability and Reliability Improved defect detection Reduced deployment risk Better Audit Records
Return on Investment
Small Units of Work Deliver Working Code Faster Reduces Risk Easier to Test Quickly Identify Problems
100 X 15 X 5 X 1 X Cost of a Defect Production Manual Testing Coding Design https://www.isixsigma.com/industries/software-it/defect-prevention-reducing-costs-and-enhancing-quality/
Redgate ROI Calculation Developers Salary (65$ Per Hour) The cost of Introducing Software The Savings Gained The $ Value Realized ((Total hourly savings * hourly cost) – Cost of introducing software) * 100 Cost of introducing software The ROI of Database DevOPS Average US developer = 100,000 * 30% for benefits / 2000 hours a year = 65$ Training Time + Software Cost Savings Gained https://www.red-gate.com/solutions/database-devops/entrypage/db-devops-roi
Example ROI Calculation Developer Cost $65 Per Hour Cost to Introduce Process 80 Hours * $65 + Software Licensing = $21,130 Saving Gained 60 Minutes Reduced to 10 Minutes 4 Times a Day 833 Hours Saved Annually * $65 = $54,145 Return on Investment $33,105 = 156% This example is on https://www.red-gate.com/solutions/database-devops/entrypage/db-devops-roi
Setup
Test Driven Development Run Test - Pass Write Test Run Test - Fail Write Code Source Code Repository
Source Code Repository Setup Build Pipeline Source Code Repository Build Test Artifact Repository
Deployment Pipeline Artifact Repository Development QA Staging Production
Automate Environment Setup Setup Database Restore Database Backup Virtual DB DB Clone Configure Server as Necessary Linked Servers Security File Transfers ETL Apply Code Changes Deployment Pipeline
Source Control / Artifact Repository Full Pipeline Environment Setup Build Pipeline Source Control / Artifact Repository Production Dev Integration Staging Test Driven Development Cost of Change
Initial Test Database Setup Backup Database Restore Database Delete 90% of Data Handle PII Backup Database for long term use
Tools
Database Deployment Types
Deployment Types Migration Based State Based
State Based Deployments Create build artifact Compare artifact to destination Create script to modify destination Run Script on Destination
Migration Based Deployments Create Script to migrate data and schema from current state to future state Run all scripts necessary to upgrade to current version
Advantages and Drawbacks State Based Handles code merges Better Acts more like OOP code Migration Based Handles working with data better Code merges can be more difficult Both Hard
Demo
About Me Adam Anderson @SQLPioneer sqlpioneer.wordpress.com www.linkedin.com/in/adam-anderson-dba
Book Recommendations