Download presentation
Presentation is loading. Please wait.
Published byMervyn Edwards Modified over 8 years ago
1
Automate Your Database Deployments
2
Get in touch scarydba.com grant@scarydba.com @gfritchey Grant Fritchey
3
Development Continuous integration Build Test Publish Sync ALTER TABLE foo… Deployment script Release management Artifact repository Production Trigger Review, Backup & deploy Source control QA / Test / Pre-production Continuous delivery for databases Continuous Integration DevelopmentProduction Testing Operations Database development and change management
4
Development Continuous integration Build Test Publish Sync ALTER TABLE foo… Deployment script Release management Artifact repository Production Trigger Review, Backup & deploy Source control QA / Test / Pre-production Continuous delivery for databases In this presentation Continuous Integration DevelopmentProduction Testing
6
Common misconception: Continuous delivery = Continuous deployment But in fact: Continuous delivery means making sure your database changes are always production-ready.
7
Development Test Production Approval gate
8
SOURCE CONTROL CONTINUOUS INTEGRATION AUTOMATED TESTING AUTOMATED DEPLOYMENT
9
Use version control for all code (including tests) Commit early, commit often Use tools o If it’s hard, people don’t do it Train people Build often SOURCE CONTROL
11
CONTINUOUS INTEGRATION: FUNDAMENTALS
14
Development Continuous integration Build Test Publish Sync ALTER TABLE foo… Deployment script Release management Artifact repository Production Trigger Review, Backup & deploy Source control QA / Test / Pre-production Continuous delivery for databases Focus here Continuous Integration DevelopmentProduction Testing
16
Deployment package
17
deployment package 1 2 3 Back to Development FAI L
18
Development Continuous integration Build Test Publish Sync ALTER TABLE foo… Deployment script Release management Artifact repository Production Trigger Review, Backup & deploy Source control QA / Test / Pre-production Continuous delivery for databases Repository might be separate piece of software or part of release management software Continuous Integration DevelopmentProduction Testing Operations Database development and change management
20
AUTOMATED DEPLOYMENT
21
Development Continuous integration Build Test Publish Sync ALTER TABLE foo… Deployment script Release management Artifact repository Production Trigger Review, Backup & deploy Source control QA / Test / Pre-production Continuous delivery for databases Continuous Integration DevelopmentProduction Testing Operations Database development and change management
23
AUTOMATED DEPLOYMENT
25
…you need a rollback and recovery strategy AUTOMATED DEPLOYMENT
28
Development Test Production Approval gate
30
Explore Everything PASS Has to Offer Free SQL Server and BI Web Events Free 1-day Training Events Regional Event Local User Groups Around the World Free Online Technical Training This is CommunityBusiness Analytics Training Session Recordings PASS Newsletter
31
AuthorSourceInformation William WarbyFlickrGlass Man - FlickrGlass Man - Flickr. This file is licensed under the Creative Commons Attribution 2.0 Generic license.Creative Commons Attribution 2.0 Generic license Perry McKennaFlickrHeadless Horse – FlickrHeadless Horse – Flickr. This file is licensed under the Creative Commons Attribution 2.0 Generic license.Creative Commons Attribution 2.0 Generic license William WarbyFlickrGears – FlickrGears – Flickr. This file is licensed under the Creative Commons Attribution 2.0 Generic license.Creative Commons Attribution 2.0 Generic license Ross HarmesFlickrGear for lightweight snow camping – FlickrGear for lightweight snow camping – Flickr. This file is licensed under the Creative Commons Attribution 2.0 Generic license.Creative Commons Attribution 2.0 Generic license Val Gardena – Gröden Marketing Flickr Fis Ski World Cup Val Gardena Gröden – FlickrFis Ski World Cup Val Gardena Gröden – Flickr. This file is licensed under the Creative Commons Attribution 2.0 Generic licenseCreative Commons Attribution 2.0 Generic license Paul PehrsonFlickrIce cream sundae - FlickrIce cream sundae - Flickr. This file is licensed under the Creative Commons Attribution 2.0 Generic licenseCreative Commons Attribution 2.0 Generic license
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.