SlideShare a Scribd company logo
1 of 30
Download to read offline
Copyright 2015. Confidential – Distribution prohibited without permission
–
Copyright 2015. Confidential – Distribution prohibited without permission
▪

− Can’t scale, can’t match CD frequency
− Not repeatable, prone to error
Copyright 2015. Confidential – Distribution prohibited without permission
▪
▪
▪
▪
▪
▪
Copyright 2015. Confidential – Distribution prohibited without permission
Developer PC
• Get Latest
• Local Development
• Check-In Code
Build Server
• Get Latest
• Compile
• Check-In Binaries
UAT Servers
• Copy Binaries
• Run Auto Tests
Prod Servers
• Copy Binaries
Binaries – Source Control
Repository
Source Code Files –
Source Control Repository
Test Servers
• Copy Binaries
• Run Auto Tests
In Case of Defects: Always Return to Dev
Copyright 2015. Confidential – Distribution prohibited without permission
’
▪
▪
▪
▪
− Schema structure
− Code
− Content and meta-content
− Internal dependencies
− …
Developer PC
• Get Latest
• Local Development
• Check-In Code
Build Server
• Get Latest
• Compile
• Check-In Binaries
Source Code Files –
Source Control Repository
Copyright 2015. Confidential – Distribution prohibited without permission

−Database change process
−Version control
−No “Out of Process” changes
−No unauthorized changes
−Automate your deployments
▪
−Scripts
−Compare & Sync Tools
−Database Enforced Source Control
Copyright 2015. Confidential – Distribution prohibited without permission
▪
−One script per object or script per change
−Where to store, filesystem or version control
−How to name files
▪
▪
’
▪
Copyright 2015. Confidential – Distribution prohibited without permission
Copyright 2015. Confidential – Distribution prohibited without permission
…
▪
−Unaware of changes made in the target environment
−Time passed from their creation until their execution
−Potential to override production hot-fixes & work done by parallel
teams
−Order of script execution (data dependencies)
▪
−Meta data & lookup content does not fit practically into the version
control
−In most cases, they are simply not managed
Copyright 2015. Confidential – Distribution prohibited without permission
…
X
1.11.1.11.11.21.31.41.51.61.7
Int QA Pre Prod Prod
Database Deploy Script
Environment
Re-Base (due to defects)
Dev
Dev
Dev
Model
1.1 1.2
1.2 1.3
1.3 1.4
1.4 1.5
1.5 1.6
1.6 1.7
1.11.11.41.7
1.1 1.2
1.2 1.3
1.3 1.4
1.4 1.5
1.5 1.6
1.6 1.7
1.1 1.2
1.2 1.3
1.3 1.4
1.4 1.5
1.5 1.6
1.6 1.7
Out of Process
Change
X
X
X
X
X
? 1.1.1
X
Copyright 2015. Confidential – Distribution prohibited without permission
▪
▪
−Out of process changes
−Parallel development/branching & merging
−Conflicts
Copyright 2015. Confidential – Distribution prohibited without permission
Safe to automate?
Sure…
Copyright 2015. Confidential – Distribution prohibited without permission
Safe to automate?
No. Requires manual inspection…
Copyright 2015. Confidential – Distribution prohibited without permission
▪
▪
Simple, right?
NO! We could BREAK production without even knowing…
Copyright 2015. Confidential – Distribution prohibited without permission
▪
−Is unaware of any changes that occurred before the time it ran
−Has no knowledge of changes that took place at the target environment
−Does not leverage version control for more information
−Unable to deal with conflicts & merges between different teams
−Requires manual inspection
−Requires detailed knowledge regarding each change as part of the process
… …
Copyright 2015. Confidential – Distribution prohibited without permission
Build Server
• Impact Analysis
• Generate Delta Script
• Merge Conflicts
UAT Servers
• Execute SQL Scripts
• Run Auto Tests
Prod Servers
• Execute SQL Scripts
Binaries – Source Control
Repository
Database Source
Control Repository
Test Servers
• Execute SQL Scripts
• Run Auto Tests
In Case of Defects: Return to Dev or Fix Locally and Handle Conflicts
Development
Databases
• Enforced Source Control
• Check-In Database
Changes
Database Deployment Safety Net
Copyright 2015. Confidential – Distribution prohibited without permission

 Database integrated version control
 Plus into ALM systems
 Database change Impact analysis

−Database version control
−Database change process
−Database deployment automation
−Plugs into ALM and release management for continuous delivery
Copyright 2015. Confidential – Distribution prohibited without permission
▪
− Force check in & out for changes
− Labels, etc.
▪
▪
▪
▪
▪
▪
Copyright 2015. Confidential – Distribution prohibited without permission
Database IDE
Copyright 2015. Confidential – Distribution prohibited without permission
Source vs.
Target
Action
= No Action
≠ ?
Source vs.
Baseline
Target vs.
Baseline
Action
= = No Action
≠ = Deploy Changes
= ≠ Protect Target
≠ ≠ Merge Changes
You do not have all
of the information
Including the Baseline in the impact
analysis identifies conflicts to prevent
code overrides
Simple Compare & Sync
Baseline Aware Analysis
▪ –
Copyright 2015. Confidential – Distribution prohibited without permission
Development Baseline
Previous Label /
Production Golden Copy
Production
No index in baseline =>
we should protect the NEW index on production!!!
(Protect Target)
Copyright 2015. Confidential – Distribution prohibited without permission
BUT… If we had the index in the baseline =>
we should take it down from production…
(Deploy Change)
Development Baseline
Previous Label /
Production Golden Copy
Production
Copyright 2015. Confidential – Distribution prohibited without permission
Copyright 2015. Confidential – Distribution prohibited without permission
▪
−Leverages version control
−Can be run as a batch process
−Integrates to ALM (labels, Continuous Integration & Delivery)
−Deals with conflicts & merges to match code agility
…
Copyright 2015. Confidential – Distribution prohibited without permission

– Releases can be based on schema/database, labels, objects, tasks
– Continuous Delivery Pipeline Builder
– Call DBmaestro commands from any release automation tool
– Plugins for popular tools such as Jenkins, CA Release Automation

– Builds script based on release content
– Eliminates manual editing of scripts when a release changes scope
– Includes object dependencies in correct order
Copyright 2015. Confidential – Distribution prohibited without permission
 Define a process
 Automate the process
 Prevent/Alert out of process changes
Copyright 2015. Confidential – Distribution prohibited without permission
Select Task with Check-In Select Tasks for Deployment
Copyright 2015. Confidential – Distribution prohibited without permission
Scripts
Compare &
Sync Tools
TeamWork
Database Change Process √
Version Control √ √
No “Out of Process” Changes √
Automate Your Deployment √ (√) √
Copyright 2015. Confidential – Distribution prohibited without permission






Copyright 2015. Confidential – Distribution prohibited without permission
Q & A
Cindy Bean
cindyb@dbmaestro.com
sales@dbmaestro.com

More Related Content

Recently uploaded

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

[DevOps Live! Meetup] DBMaestro - Integrating Database Changes into DevOps

  • 1. Copyright 2015. Confidential – Distribution prohibited without permission –
  • 2. Copyright 2015. Confidential – Distribution prohibited without permission ▪  − Can’t scale, can’t match CD frequency − Not repeatable, prone to error
  • 3. Copyright 2015. Confidential – Distribution prohibited without permission ▪ ▪ ▪ ▪ ▪ ▪
  • 4. Copyright 2015. Confidential – Distribution prohibited without permission Developer PC • Get Latest • Local Development • Check-In Code Build Server • Get Latest • Compile • Check-In Binaries UAT Servers • Copy Binaries • Run Auto Tests Prod Servers • Copy Binaries Binaries – Source Control Repository Source Code Files – Source Control Repository Test Servers • Copy Binaries • Run Auto Tests In Case of Defects: Always Return to Dev
  • 5. Copyright 2015. Confidential – Distribution prohibited without permission ’ ▪ ▪ ▪ ▪ − Schema structure − Code − Content and meta-content − Internal dependencies − … Developer PC • Get Latest • Local Development • Check-In Code Build Server • Get Latest • Compile • Check-In Binaries Source Code Files – Source Control Repository
  • 6. Copyright 2015. Confidential – Distribution prohibited without permission  −Database change process −Version control −No “Out of Process” changes −No unauthorized changes −Automate your deployments ▪ −Scripts −Compare & Sync Tools −Database Enforced Source Control
  • 7. Copyright 2015. Confidential – Distribution prohibited without permission ▪ −One script per object or script per change −Where to store, filesystem or version control −How to name files ▪ ▪ ’ ▪
  • 8. Copyright 2015. Confidential – Distribution prohibited without permission
  • 9. Copyright 2015. Confidential – Distribution prohibited without permission … ▪ −Unaware of changes made in the target environment −Time passed from their creation until their execution −Potential to override production hot-fixes & work done by parallel teams −Order of script execution (data dependencies) ▪ −Meta data & lookup content does not fit practically into the version control −In most cases, they are simply not managed
  • 10. Copyright 2015. Confidential – Distribution prohibited without permission … X 1.11.1.11.11.21.31.41.51.61.7 Int QA Pre Prod Prod Database Deploy Script Environment Re-Base (due to defects) Dev Dev Dev Model 1.1 1.2 1.2 1.3 1.3 1.4 1.4 1.5 1.5 1.6 1.6 1.7 1.11.11.41.7 1.1 1.2 1.2 1.3 1.3 1.4 1.4 1.5 1.5 1.6 1.6 1.7 1.1 1.2 1.2 1.3 1.3 1.4 1.4 1.5 1.5 1.6 1.6 1.7 Out of Process Change X X X X X ? 1.1.1 X
  • 11. Copyright 2015. Confidential – Distribution prohibited without permission ▪ ▪ −Out of process changes −Parallel development/branching & merging −Conflicts
  • 12. Copyright 2015. Confidential – Distribution prohibited without permission Safe to automate? Sure…
  • 13. Copyright 2015. Confidential – Distribution prohibited without permission Safe to automate? No. Requires manual inspection…
  • 14. Copyright 2015. Confidential – Distribution prohibited without permission ▪ ▪ Simple, right? NO! We could BREAK production without even knowing…
  • 15. Copyright 2015. Confidential – Distribution prohibited without permission ▪ −Is unaware of any changes that occurred before the time it ran −Has no knowledge of changes that took place at the target environment −Does not leverage version control for more information −Unable to deal with conflicts & merges between different teams −Requires manual inspection −Requires detailed knowledge regarding each change as part of the process … …
  • 16. Copyright 2015. Confidential – Distribution prohibited without permission Build Server • Impact Analysis • Generate Delta Script • Merge Conflicts UAT Servers • Execute SQL Scripts • Run Auto Tests Prod Servers • Execute SQL Scripts Binaries – Source Control Repository Database Source Control Repository Test Servers • Execute SQL Scripts • Run Auto Tests In Case of Defects: Return to Dev or Fix Locally and Handle Conflicts Development Databases • Enforced Source Control • Check-In Database Changes Database Deployment Safety Net
  • 17. Copyright 2015. Confidential – Distribution prohibited without permission   Database integrated version control  Plus into ALM systems  Database change Impact analysis  −Database version control −Database change process −Database deployment automation −Plugs into ALM and release management for continuous delivery
  • 18. Copyright 2015. Confidential – Distribution prohibited without permission ▪ − Force check in & out for changes − Labels, etc. ▪ ▪ ▪ ▪ ▪ ▪
  • 19. Copyright 2015. Confidential – Distribution prohibited without permission Database IDE
  • 20. Copyright 2015. Confidential – Distribution prohibited without permission Source vs. Target Action = No Action ≠ ? Source vs. Baseline Target vs. Baseline Action = = No Action ≠ = Deploy Changes = ≠ Protect Target ≠ ≠ Merge Changes You do not have all of the information Including the Baseline in the impact analysis identifies conflicts to prevent code overrides Simple Compare & Sync Baseline Aware Analysis ▪ –
  • 21. Copyright 2015. Confidential – Distribution prohibited without permission Development Baseline Previous Label / Production Golden Copy Production No index in baseline => we should protect the NEW index on production!!! (Protect Target)
  • 22. Copyright 2015. Confidential – Distribution prohibited without permission BUT… If we had the index in the baseline => we should take it down from production… (Deploy Change) Development Baseline Previous Label / Production Golden Copy Production
  • 23. Copyright 2015. Confidential – Distribution prohibited without permission
  • 24. Copyright 2015. Confidential – Distribution prohibited without permission ▪ −Leverages version control −Can be run as a batch process −Integrates to ALM (labels, Continuous Integration & Delivery) −Deals with conflicts & merges to match code agility …
  • 25. Copyright 2015. Confidential – Distribution prohibited without permission  – Releases can be based on schema/database, labels, objects, tasks – Continuous Delivery Pipeline Builder – Call DBmaestro commands from any release automation tool – Plugins for popular tools such as Jenkins, CA Release Automation  – Builds script based on release content – Eliminates manual editing of scripts when a release changes scope – Includes object dependencies in correct order
  • 26. Copyright 2015. Confidential – Distribution prohibited without permission  Define a process  Automate the process  Prevent/Alert out of process changes
  • 27. Copyright 2015. Confidential – Distribution prohibited without permission Select Task with Check-In Select Tasks for Deployment
  • 28. Copyright 2015. Confidential – Distribution prohibited without permission Scripts Compare & Sync Tools TeamWork Database Change Process √ Version Control √ √ No “Out of Process” Changes √ Automate Your Deployment √ (√) √
  • 29. Copyright 2015. Confidential – Distribution prohibited without permission      
  • 30. Copyright 2015. Confidential – Distribution prohibited without permission Q & A Cindy Bean cindyb@dbmaestro.com sales@dbmaestro.com