SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Deploying Database Changes: Performance Matters Rapidly deploying database code in 24/7 environments Vlado Barun Ed Putkonen Hotsos Symposium 3/2010
Disclaimer This presentation IS NOT about Oracle RDBMS internals Cool new features (i.e. edition based redefinition) This presentation IS about Response Time Change Management Process – ultra-light Live SQL*Plus demos In production Proven approach to reduce deployment issues in dev/qa/stage/production
Who we are Vlado Barun, M.Sc. 14 years in the Database Arena (Oracle - 9 years) DBA, Database Developer, Database Architect,  DBA Manager, Data Modeler, Consultant, … OCP, OCE  SQL, MCP Ed Putkonen 20 Years of Relational DB Experience Developer, Designer, DBA
Jewelry Television (jtv.com) facts Established 1993 1000+ Employees, HQ in Knoxville, TN Largest retailer of loose Gemstones Broadcast to 70+ million households #4 online Jewelry, #139 online Retail
JTV environment Retail operations are 24x7x365 No regularly scheduled maintenance windows In-house developed applications Agile SDLC – Scrum
Typical Deployment Scenario Add new and/or change existing objects (tables, triggers, packages, etc.)  Driven by an effort to implement a new application feature, bug fix, tuning, etc. Deployment execution time is a small percentage of overall effort Analysis/Design/Dev/QA – days/weeks Deployment duration – seconds/minutes
Common challenges - symptoms Time pressure Project is already behind schedule Rapid pace of production deployments  Uncertainty  Changes are made up to the last minute Which change to deploy, which version? Outage Risk 70% of outages due to human errors* Downtime costs are substantial 		* Source: “Database Administration: The Complete Guide to Practices and Procedures” by Craig Mullins, pg 238
Time-to-Market vs Availability Frequent deployments result in Faster time-to-market => increased business value Higher probability of mistakes => lower system availability Common responses to availability issue Enforce bureaucratic process => reduced frequency of deployments Just complain about it, but make no real changes
Deployment Response Time Profile Event	Duration		 ------------------------	----------------------- Waiting for Information	hours/days	95.77% Preparation	minutes/hours	 4.16% Execution	seconds/minutes	 0.07% ,[object Object]
What, how, when, …
Preparation
Prepare a deployment script, login, …
Execution,[object Object]
Change Management – ultra light At a minimum CM has to unambiguously define: What which script(s) need to be deployed which version(s) How which sequence chain of communication When date/time approvals?
JTV deployment process/toolset Bugzilla for issue tracking Remedy for approvals Tickets transformed into SQL*Plus scripts Tools for generating scripts include templates, Powerdesigner, TOAD, SQL Developer, OEM Scripts in version control using subversion Approved tickets deployed via SQL*Plus
Demo 1 Execute a deployment
Deployment Script elements Subversion Folder  Templates Logging Rollback
Closer look at templates Main Login Connect DDL Find Invalid Objects Recompile Invalid Objects
Demo 2 Build a deployment from scratch
How to get started Before each deployment, ensure* that you have answers to all the questions  use existing collaboration tools, if available Minimize manual deployments script your deployments utilize script templates reuse scripts to deploy to dev, qa, prod Version control your scripts Log everything** and publish the logs
Change Management – ultra light At a minimum CM has to unambiguously define: What which script(s) need to be deployed which version(s) How which sequence Chain of communication When Date/time Approvals?
How to get started Before each deployment, ensure* that you have answers to all the questions  use existing collaboration tools, if available Minimize manual deployments script your deployments utilize  templates reuse scripts to deploy to dev, qa, prod Version control your scripts Log everything** and publish the logs

Weitere ähnliche Inhalte

Was ist angesagt?

DevOps for vSphere Admins
DevOps for vSphere AdminsDevOps for vSphere Admins
DevOps for vSphere AdminsJon Hildebrand
 
Kanban introduction
Kanban introductionKanban introduction
Kanban introductionTomas Rybing
 
Kanban introduction
Kanban introductionKanban introduction
Kanban introductionAhmed Hammad
 
Operation and Support using Agile
Operation and Support using AgileOperation and Support using Agile
Operation and Support using AgileTal Aviv
 
Enterprise transformation models their utility, common pitfalls and adaptive IT
Enterprise transformation models their utility, common pitfalls and adaptive ITEnterprise transformation models their utility, common pitfalls and adaptive IT
Enterprise transformation models their utility, common pitfalls and adaptive ITPuppet
 
Lect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationLect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationMubashir Ali
 
Modernising Change Management with Enterprise DevOps
Modernising Change Management with Enterprise DevOpsModernising Change Management with Enterprise DevOps
Modernising Change Management with Enterprise DevOpsPuppet
 
Geek Sync I In Database Automation We Trust
Geek Sync I In Database Automation We TrustGeek Sync I In Database Automation We Trust
Geek Sync I In Database Automation We TrustIDERA Software
 
Chapter 2 Time boxing & agile models
Chapter 2   Time boxing & agile modelsChapter 2   Time boxing & agile models
Chapter 2 Time boxing & agile modelsGolda Margret Sheeba J
 
From Scrum to Kanban
From Scrum to KanbanFrom Scrum to Kanban
From Scrum to KanbanNeil Johnson
 
Virtualization performance management
Virtualization performance managementVirtualization performance management
Virtualization performance managementKenneth de Brucq
 
Event-driven BPM the JBoss way
Event-driven BPM the JBoss wayEvent-driven BPM the JBoss way
Event-driven BPM the JBoss wayKris Verlaenen
 
Lean kanban team assessment
Lean kanban team assessmentLean kanban team assessment
Lean kanban team assessmentRavi Tadwalkar
 

Was ist angesagt? (15)

DevOps for vSphere Admins
DevOps for vSphere AdminsDevOps for vSphere Admins
DevOps for vSphere Admins
 
Kanban introduction
Kanban introductionKanban introduction
Kanban introduction
 
Wbs
WbsWbs
Wbs
 
Kanban introduction
Kanban introductionKanban introduction
Kanban introduction
 
Operation and Support using Agile
Operation and Support using AgileOperation and Support using Agile
Operation and Support using Agile
 
Enterprise transformation models their utility, common pitfalls and adaptive IT
Enterprise transformation models their utility, common pitfalls and adaptive ITEnterprise transformation models their utility, common pitfalls and adaptive IT
Enterprise transformation models their utility, common pitfalls and adaptive IT
 
Lect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationLect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost Estimation
 
Modernising Change Management with Enterprise DevOps
Modernising Change Management with Enterprise DevOpsModernising Change Management with Enterprise DevOps
Modernising Change Management with Enterprise DevOps
 
Geek Sync I In Database Automation We Trust
Geek Sync I In Database Automation We TrustGeek Sync I In Database Automation We Trust
Geek Sync I In Database Automation We Trust
 
Chapter 2 Time boxing & agile models
Chapter 2   Time boxing & agile modelsChapter 2   Time boxing & agile models
Chapter 2 Time boxing & agile models
 
From Scrum to Kanban
From Scrum to KanbanFrom Scrum to Kanban
From Scrum to Kanban
 
Virtualization performance management
Virtualization performance managementVirtualization performance management
Virtualization performance management
 
Event-driven BPM the JBoss way
Event-driven BPM the JBoss wayEvent-driven BPM the JBoss way
Event-driven BPM the JBoss way
 
Thur Venture
Thur VentureThur Venture
Thur Venture
 
Lean kanban team assessment
Lean kanban team assessmentLean kanban team assessment
Lean kanban team assessment
 

Ähnlich wie Database change deployments: Performance matters

Best Practices and Lessons Learned on Our IBM Rational Insight Deployment
Best Practices and Lessons Learned on Our IBM Rational Insight DeploymentBest Practices and Lessons Learned on Our IBM Rational Insight Deployment
Best Practices and Lessons Learned on Our IBM Rational Insight DeploymentMarc Nehme
 
Webinar - Devops platform for the evolving enterprise
Webinar - Devops platform for the evolving enterpriseWebinar - Devops platform for the evolving enterprise
Webinar - Devops platform for the evolving enterpriseDBmaestro - Database DevOps
 
Understanding System Performance
Understanding System PerformanceUnderstanding System Performance
Understanding System PerformanceTeradata
 
Alok_Patle_Resume
Alok_Patle_ResumeAlok_Patle_Resume
Alok_Patle_Resumealok patle
 
KunalMehta_Resume
KunalMehta_ResumeKunalMehta_Resume
KunalMehta_ResumeKunal Mehta
 
Varun v resume_tc
Varun v resume_tcVarun v resume_tc
Varun v resume_tcVarun V
 
Summary of Accelerate - 2019 State of Devops report by Google Cloud's DORA
Summary of Accelerate - 2019 State of Devops report by Google Cloud's DORASummary of Accelerate - 2019 State of Devops report by Google Cloud's DORA
Summary of Accelerate - 2019 State of Devops report by Google Cloud's DORARagavendra Prasath
 
ABHINAV KAUSHIK(IT Professional)
ABHINAV KAUSHIK(IT Professional)ABHINAV KAUSHIK(IT Professional)
ABHINAV KAUSHIK(IT Professional)Abhinav Kaushik
 
Getting Ready for Ligtning Process Builder
Getting Ready for Ligtning Process BuilderGetting Ready for Ligtning Process Builder
Getting Ready for Ligtning Process BuilderFred Cadena
 
A Blueprint for a Successful DevOps Metamorphosis
A Blueprint for a Successful DevOps MetamorphosisA Blueprint for a Successful DevOps Metamorphosis
A Blueprint for a Successful DevOps MetamorphosisXebiaLabs
 
Best practice adoption (and lack there of)
Best practice adoption (and lack there of)Best practice adoption (and lack there of)
Best practice adoption (and lack there of)John Pape
 
Resume Manoj Kumar M
Resume Manoj Kumar MResume Manoj Kumar M
Resume Manoj Kumar MManoj Kumar
 
Kelly potvin nosurprises_odtug_oow12
Kelly potvin nosurprises_odtug_oow12Kelly potvin nosurprises_odtug_oow12
Kelly potvin nosurprises_odtug_oow12Enkitec
 

Ähnlich wie Database change deployments: Performance matters (20)

Best Practices and Lessons Learned on Our IBM Rational Insight Deployment
Best Practices and Lessons Learned on Our IBM Rational Insight DeploymentBest Practices and Lessons Learned on Our IBM Rational Insight Deployment
Best Practices and Lessons Learned on Our IBM Rational Insight Deployment
 
Webinar - Devops platform for the evolving enterprise
Webinar - Devops platform for the evolving enterpriseWebinar - Devops platform for the evolving enterprise
Webinar - Devops platform for the evolving enterprise
 
Understanding System Performance
Understanding System PerformanceUnderstanding System Performance
Understanding System Performance
 
Waldo Wollrabe Resume
Waldo Wollrabe ResumeWaldo Wollrabe Resume
Waldo Wollrabe Resume
 
Alok_Patle_Resume
Alok_Patle_ResumeAlok_Patle_Resume
Alok_Patle_Resume
 
Tarun_Medimi
Tarun_MedimiTarun_Medimi
Tarun_Medimi
 
Nitin Paliwal
Nitin PaliwalNitin Paliwal
Nitin Paliwal
 
KunalMehta_Resume
KunalMehta_ResumeKunalMehta_Resume
KunalMehta_Resume
 
Varun v resume_tc
Varun v resume_tcVarun v resume_tc
Varun v resume_tc
 
Summary of Accelerate - 2019 State of Devops report by Google Cloud's DORA
Summary of Accelerate - 2019 State of Devops report by Google Cloud's DORASummary of Accelerate - 2019 State of Devops report by Google Cloud's DORA
Summary of Accelerate - 2019 State of Devops report by Google Cloud's DORA
 
ABHINAV KAUSHIK(IT Professional)
ABHINAV KAUSHIK(IT Professional)ABHINAV KAUSHIK(IT Professional)
ABHINAV KAUSHIK(IT Professional)
 
Getting Ready for Ligtning Process Builder
Getting Ready for Ligtning Process BuilderGetting Ready for Ligtning Process Builder
Getting Ready for Ligtning Process Builder
 
sonal
sonalsonal
sonal
 
Sunny_Resume
Sunny_ResumeSunny_Resume
Sunny_Resume
 
HamsaBalajiresume
HamsaBalajiresumeHamsaBalajiresume
HamsaBalajiresume
 
Sunny_Resume
Sunny_ResumeSunny_Resume
Sunny_Resume
 
A Blueprint for a Successful DevOps Metamorphosis
A Blueprint for a Successful DevOps MetamorphosisA Blueprint for a Successful DevOps Metamorphosis
A Blueprint for a Successful DevOps Metamorphosis
 
Best practice adoption (and lack there of)
Best practice adoption (and lack there of)Best practice adoption (and lack there of)
Best practice adoption (and lack there of)
 
Resume Manoj Kumar M
Resume Manoj Kumar MResume Manoj Kumar M
Resume Manoj Kumar M
 
Kelly potvin nosurprises_odtug_oow12
Kelly potvin nosurprises_odtug_oow12Kelly potvin nosurprises_odtug_oow12
Kelly potvin nosurprises_odtug_oow12
 

Kürzlich hochgeladen

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
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
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise 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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 

Database change deployments: Performance matters

  • 1. Deploying Database Changes: Performance Matters Rapidly deploying database code in 24/7 environments Vlado Barun Ed Putkonen Hotsos Symposium 3/2010
  • 2. Disclaimer This presentation IS NOT about Oracle RDBMS internals Cool new features (i.e. edition based redefinition) This presentation IS about Response Time Change Management Process – ultra-light Live SQL*Plus demos In production Proven approach to reduce deployment issues in dev/qa/stage/production
  • 3. Who we are Vlado Barun, M.Sc. 14 years in the Database Arena (Oracle - 9 years) DBA, Database Developer, Database Architect, DBA Manager, Data Modeler, Consultant, … OCP, OCE SQL, MCP Ed Putkonen 20 Years of Relational DB Experience Developer, Designer, DBA
  • 4. Jewelry Television (jtv.com) facts Established 1993 1000+ Employees, HQ in Knoxville, TN Largest retailer of loose Gemstones Broadcast to 70+ million households #4 online Jewelry, #139 online Retail
  • 5. JTV environment Retail operations are 24x7x365 No regularly scheduled maintenance windows In-house developed applications Agile SDLC – Scrum
  • 6. Typical Deployment Scenario Add new and/or change existing objects (tables, triggers, packages, etc.) Driven by an effort to implement a new application feature, bug fix, tuning, etc. Deployment execution time is a small percentage of overall effort Analysis/Design/Dev/QA – days/weeks Deployment duration – seconds/minutes
  • 7. Common challenges - symptoms Time pressure Project is already behind schedule Rapid pace of production deployments Uncertainty Changes are made up to the last minute Which change to deploy, which version? Outage Risk 70% of outages due to human errors* Downtime costs are substantial * Source: “Database Administration: The Complete Guide to Practices and Procedures” by Craig Mullins, pg 238
  • 8. Time-to-Market vs Availability Frequent deployments result in Faster time-to-market => increased business value Higher probability of mistakes => lower system availability Common responses to availability issue Enforce bureaucratic process => reduced frequency of deployments Just complain about it, but make no real changes
  • 9.
  • 12. Prepare a deployment script, login, …
  • 13.
  • 14. Change Management – ultra light At a minimum CM has to unambiguously define: What which script(s) need to be deployed which version(s) How which sequence chain of communication When date/time approvals?
  • 15. JTV deployment process/toolset Bugzilla for issue tracking Remedy for approvals Tickets transformed into SQL*Plus scripts Tools for generating scripts include templates, Powerdesigner, TOAD, SQL Developer, OEM Scripts in version control using subversion Approved tickets deployed via SQL*Plus
  • 16. Demo 1 Execute a deployment
  • 17. Deployment Script elements Subversion Folder Templates Logging Rollback
  • 18. Closer look at templates Main Login Connect DDL Find Invalid Objects Recompile Invalid Objects
  • 19. Demo 2 Build a deployment from scratch
  • 20. How to get started Before each deployment, ensure* that you have answers to all the questions use existing collaboration tools, if available Minimize manual deployments script your deployments utilize script templates reuse scripts to deploy to dev, qa, prod Version control your scripts Log everything** and publish the logs
  • 21. Change Management – ultra light At a minimum CM has to unambiguously define: What which script(s) need to be deployed which version(s) How which sequence Chain of communication When Date/time Approvals?
  • 22. How to get started Before each deployment, ensure* that you have answers to all the questions use existing collaboration tools, if available Minimize manual deployments script your deployments utilize templates reuse scripts to deploy to dev, qa, prod Version control your scripts Log everything** and publish the logs
  • 23. Deployment Response Time Profile Event Duration ------------------------ ----------------------- Waiting for Information hours/days 95.77% Preparation minutes/hours 4.16% Execution seconds/minutes 0.07% Change Management Templates Standard Tuning Approach +dbms_pipe/dbms_alert
  • 24. Summary Lightweight Change Management Facilitate rapid & reliable deployments Three questions Works regardless of deployment complexity Independent of Development methodology Complete logging and transparency
  • 25. ? Vlado Barun – vbarun@computer.org Ed Putkonen – ed.putkonen@jtv.com