SlideShare a Scribd company logo
1 of 27
Download to read offline
liron@gotodba.com
@amitzil
https://gotodba.com
Liron Amitzi
Liron Amitzi
Vancouver, BC
Canada
Website:
>=Oracle7 (1998)
Since 2009
Since 2020
President
bcoug.org
Senior DB
consultant
(since 2002)
gotodba.com
OPatchUpgrades
https://mikedietrichde.com
MOS Note# 742060.1
12.2 18c 19c 20c 21c 22c
Innovation release:
• 2 year premier support
• no extended support
• no RURs (>=20c)
Long term release
• 5y premier support
• 3y extended support
• RURs
Release Family Release Family (predicted)
 Security vulnerabilities
 Bug fixes
 Support
RU
(Release Update)
RUR
(Release Update
Revision)
Patching
Standby
Patching
RAC
DBBP
(DB Bundle
Patch)
DST
One-Off
OJVM
MOS note# 756671.1
 Released every quarter
 Always RAC-rolling and standby-first
 RU (Release Update)
• May introduce new features and behavior changes
• Second number in the version (e.g. 18.12, 19.9)
 RUR (Release Update Revision)
• Regression fixes and security fixes only
• Third number in the version (e.g. 18.10.2, 19.8.1)
MOS note# 2337415.1
 RURs won't be available for Innovation releases (20c, 21c)
 RUR are supported for 6 months only (2 RURs per RU)
 RURs include all RU changes
19.5
19.5.1 19.6.1
19.6 19.7
19.5.2
Apr-2020Jan-2020Oct-2019
19.4.1
19.3.2 19.4.2
19.7.1
19.8
19.6.2
Jul-2020
 Check the known
issues note
 Make sure one-offs
Are available and
install them as well
 Versions: GI = ASM ≥ DB (MOS 337737.1 for matrix)
 Contains DB patch
 GI_HOME does not need OJVM patch
 Installed using opatchauto under root and by default:
• Will patch GI and DB homes of running databases
• Will execute datapatch on running databases
 20c - will allow patching GI while DB is up
 Only for DB homes
 Needed for databases that have OJVM installed
 Requires "startup upgrade" (<18.4 with exclusions)
 Requires java downtime (probably until 20c)
 https://mikedietrichde.com/2020/01/23/do-you-need-
startup-upgrade-for-ojvm/
MOS note# 2217053.1
 For download convenience only
 RU only
 Two difference combos:
• DB + OJVM
• GI + OJVM
 Should be installed separately
 Fix specific issues
 Check conflicts:
• Before one-offs
• Before RU/RUR if you have one-offs
 Use the MOS opatch conflict
analyzer tool (can be
accessed from a patch
search)
 DST patch requires "startup upgrade", therefore:
• Requires downtime in RAC
• Requires longer downtime in DG environment
• Requires standby to be mounted (not active standby)
 In multitenant:
• Updating DST in CDB doesn't affect PDBs
• Updating DST in one PDB doesn't affect other PDBs
• New PDB will always take DST info from PDB$SEED
• You cannot update DST info in PDB$SEED
 Standby first patches - shorter downtime
confusion with RUs:
Note 1265700.1 - Data Guard Standby-First Patch Apply
 Note 278641.1 - How do you apply a Patchset, PSU or CPU in a
Data Guard Physical Standby configuration
 Non "standby first" patches require both servers to be
patched together (longer downtime)
 "startup upgrade" cannot be applied to active standby
(standby must be mounted)
19.619.519.619.5
primary secondary
App
switchover
datapatch
MOS note# 1265700.1
19.619.5 19.619.6 19.519.5
node2 node3node1
datapatch
patched patchedpatchedunpatched unpatchedunpatched
node2 node3node1
 Create a patched Gold Image
 Deploy Gold Image to a new home
 Move DB to the new home
 Run datapatch
 Eliminates patch installation - shorter downtime
 When databases share Oracle home
• patch together
• Use out-of-place patch
DB2_standby DB2_primary
DB1_primary DB1_standby
Use "standby first"
method on both
databases together
 Which patch(es) - RU/RUR, GI, OJVM
 Existing one-offs
 Required one-offs
 Check availability and request unavailable patches
 Prepare a procedure
 Test
 Deploy
liron@gotodba.com
@amitzil
https://gotodba.com
Liron Amitzi

More Related Content

What's hot

PG2 Cognos TM1: An Introduction to Design, Maintenance and Performance Tuning
PG2 Cognos TM1: An Introduction to Design, Maintenance and Performance TuningPG2 Cognos TM1: An Introduction to Design, Maintenance and Performance Tuning
PG2 Cognos TM1: An Introduction to Design, Maintenance and Performance TuningPerformanceG2, Inc.
 
GSM UMTS LTE Site Commissioning software
GSM UMTS LTE Site Commissioning softwareGSM UMTS LTE Site Commissioning software
GSM UMTS LTE Site Commissioning softwareAhmet Ozturk
 
Focus - GSM UMTS LTE Performance and Configuration Management Solution
Focus - GSM UMTS LTE Performance and Configuration Management SolutionFocus - GSM UMTS LTE Performance and Configuration Management Solution
Focus - GSM UMTS LTE Performance and Configuration Management SolutionAhmet Ozturk
 
QEI Master Station - SCADA
QEI Master Station - SCADAQEI Master Station - SCADA
QEI Master Station - SCADALeePearce18
 
QEI SCADA Training
QEI SCADA TrainingQEI SCADA Training
QEI SCADA TrainingLeePearce18
 
Oracle Database 12c features for DBA
Oracle Database 12c features for DBAOracle Database 12c features for DBA
Oracle Database 12c features for DBAKaran Kukreja
 
Exploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingExploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingMichael May
 
Federation manager demo
Federation manager demoFederation manager demo
Federation manager demoPLUMgrid
 
Entry Level Reference SQL HyperConverged Architecture
Entry Level Reference SQL HyperConverged ArchitectureEntry Level Reference SQL HyperConverged Architecture
Entry Level Reference SQL HyperConverged ArchitectureJerry Jermann
 
Orbit GSM UMTS LTE parser platform - ETL tool
Orbit GSM UMTS LTE parser platform - ETL toolOrbit GSM UMTS LTE parser platform - ETL tool
Orbit GSM UMTS LTE parser platform - ETL toolAhmet Ozturk
 
Accela Ericsson Rehome Module
Accela Ericsson Rehome ModuleAccela Ericsson Rehome Module
Accela Ericsson Rehome ModuleAhmet Ozturk
 
Management on Cloud 2011
Management on Cloud 2011Management on Cloud 2011
Management on Cloud 2011steccami
 

What's hot (16)

Madsqlserver
MadsqlserverMadsqlserver
Madsqlserver
 
PG2 Cognos TM1: An Introduction to Design, Maintenance and Performance Tuning
PG2 Cognos TM1: An Introduction to Design, Maintenance and Performance TuningPG2 Cognos TM1: An Introduction to Design, Maintenance and Performance Tuning
PG2 Cognos TM1: An Introduction to Design, Maintenance and Performance Tuning
 
Pb1252 readme
Pb1252 readmePb1252 readme
Pb1252 readme
 
GSM UMTS LTE Site Commissioning software
GSM UMTS LTE Site Commissioning softwareGSM UMTS LTE Site Commissioning software
GSM UMTS LTE Site Commissioning software
 
Focus - GSM UMTS LTE Performance and Configuration Management Solution
Focus - GSM UMTS LTE Performance and Configuration Management SolutionFocus - GSM UMTS LTE Performance and Configuration Management Solution
Focus - GSM UMTS LTE Performance and Configuration Management Solution
 
QEI Master Station - SCADA
QEI Master Station - SCADAQEI Master Station - SCADA
QEI Master Station - SCADA
 
QEI SCADA Training
QEI SCADA TrainingQEI SCADA Training
QEI SCADA Training
 
Icin 2009
Icin 2009Icin 2009
Icin 2009
 
Oracle Database 12c features for DBA
Oracle Database 12c features for DBAOracle Database 12c features for DBA
Oracle Database 12c features for DBA
 
Exploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingExploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancing
 
Federation manager demo
Federation manager demoFederation manager demo
Federation manager demo
 
Entry Level Reference SQL HyperConverged Architecture
Entry Level Reference SQL HyperConverged ArchitectureEntry Level Reference SQL HyperConverged Architecture
Entry Level Reference SQL HyperConverged Architecture
 
Orbit GSM UMTS LTE parser platform - ETL tool
Orbit GSM UMTS LTE parser platform - ETL toolOrbit GSM UMTS LTE parser platform - ETL tool
Orbit GSM UMTS LTE parser platform - ETL tool
 
Accela Ericsson Rehome Module
Accela Ericsson Rehome ModuleAccela Ericsson Rehome Module
Accela Ericsson Rehome Module
 
Management on Cloud 2011
Management on Cloud 2011Management on Cloud 2011
Management on Cloud 2011
 
Chaos Engineering
Chaos EngineeringChaos Engineering
Chaos Engineering
 

Similar to Creating order in the database patching chaos

upgrade_migrate_consolidate_19999c (1).pdf
upgrade_migrate_consolidate_19999c (1).pdfupgrade_migrate_consolidate_19999c (1).pdf
upgrade_migrate_consolidate_19999c (1).pdftricantino1973
 
Annual release document 2285040.1
Annual release document 2285040.1Annual release document 2285040.1
Annual release document 2285040.1juniags
 
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Toronto-Oracle-Users-Group
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategyJitendra Singh
 
State Zero: Middle Tennessee Electric Membership Corporation
State Zero: Middle Tennessee Electric Membership CorporationState Zero: Middle Tennessee Electric Membership Corporation
State Zero: Middle Tennessee Electric Membership CorporationSSP Innovations
 
MTEMC’s State 0 Changes with 1700+ Versions Intact
MTEMC’s State 0 Changes with 1700+ Versions IntactMTEMC’s State 0 Changes with 1700+ Versions Intact
MTEMC’s State 0 Changes with 1700+ Versions IntactSSP Innovations
 
Os deployment session from Microsoft partner boot camp Win 8.1
Os deployment session from Microsoft partner boot camp Win 8.1Os deployment session from Microsoft partner boot camp Win 8.1
Os deployment session from Microsoft partner boot camp Win 8.1Olav Tvedt
 
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime ReductionGLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime ReductionBiju Thomas
 
Oracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfOracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfAlex446314
 
Beginners Guide to High Availability for Postgres
Beginners Guide to High Availability for PostgresBeginners Guide to High Availability for Postgres
Beginners Guide to High Availability for PostgresEDB
 
6.3 DatacenterService Laporan Juni .pptx
6.3 DatacenterService Laporan Juni .pptx6.3 DatacenterService Laporan Juni .pptx
6.3 DatacenterService Laporan Juni .pptxAndreWirawan14
 
2008-12-2 System z Partners Field Call
2008-12-2 System z Partners Field Call2008-12-2 System z Partners Field Call
2008-12-2 System z Partners Field CallShawn Wells
 
QRadar_CEddfdfdsfdfdfdfdfdfdfdfdfdfdff.pdf
QRadar_CEddfdfdsfdfdfdfdfdfdfdfdfdfdff.pdfQRadar_CEddfdfdsfdfdfdfdfdfdfdfdfdfdff.pdf
QRadar_CEddfdfdsfdfdfdfdfdfdfdfdfdfdff.pdfmindhackers161
 
C Cure Users Group Presentation Final 4
C Cure Users Group Presentation Final 4C Cure Users Group Presentation Final 4
C Cure Users Group Presentation Final 4halgig
 
Beginner's Guide to High Availability for Postgres - French
Beginner's Guide to High Availability for Postgres - FrenchBeginner's Guide to High Availability for Postgres - French
Beginner's Guide to High Availability for Postgres - FrenchEDB
 
AutoUpgrade and Best Practices
AutoUpgrade and Best PracticesAutoUpgrade and Best Practices
AutoUpgrade and Best PracticesJitendra Singh
 
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...ssuser9dce1e1
 
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...Insight Technology, Inc.
 

Similar to Creating order in the database patching chaos (20)

upgrade_migrate_consolidate_19999c (1).pdf
upgrade_migrate_consolidate_19999c (1).pdfupgrade_migrate_consolidate_19999c (1).pdf
upgrade_migrate_consolidate_19999c (1).pdf
 
Annual release document 2285040.1
Annual release document 2285040.1Annual release document 2285040.1
Annual release document 2285040.1
 
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategy
 
State Zero: Middle Tennessee Electric Membership Corporation
State Zero: Middle Tennessee Electric Membership CorporationState Zero: Middle Tennessee Electric Membership Corporation
State Zero: Middle Tennessee Electric Membership Corporation
 
MTEMC’s State 0 Changes with 1700+ Versions Intact
MTEMC’s State 0 Changes with 1700+ Versions IntactMTEMC’s State 0 Changes with 1700+ Versions Intact
MTEMC’s State 0 Changes with 1700+ Versions Intact
 
Os deployment session from Microsoft partner boot camp Win 8.1
Os deployment session from Microsoft partner boot camp Win 8.1Os deployment session from Microsoft partner boot camp Win 8.1
Os deployment session from Microsoft partner boot camp Win 8.1
 
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime ReductionGLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
 
DelOps vs. DevOps
DelOps vs. DevOpsDelOps vs. DevOps
DelOps vs. DevOps
 
Oracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfOracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdf
 
Beginners Guide to High Availability for Postgres
Beginners Guide to High Availability for PostgresBeginners Guide to High Availability for Postgres
Beginners Guide to High Availability for Postgres
 
6.3 DatacenterService Laporan Juni .pptx
6.3 DatacenterService Laporan Juni .pptx6.3 DatacenterService Laporan Juni .pptx
6.3 DatacenterService Laporan Juni .pptx
 
Cuc pcd tac_toi
Cuc pcd tac_toiCuc pcd tac_toi
Cuc pcd tac_toi
 
2008-12-2 System z Partners Field Call
2008-12-2 System z Partners Field Call2008-12-2 System z Partners Field Call
2008-12-2 System z Partners Field Call
 
QRadar_CEddfdfdsfdfdfdfdfdfdfdfdfdfdff.pdf
QRadar_CEddfdfdsfdfdfdfdfdfdfdfdfdfdff.pdfQRadar_CEddfdfdsfdfdfdfdfdfdfdfdfdfdff.pdf
QRadar_CEddfdfdsfdfdfdfdfdfdfdfdfdfdff.pdf
 
C Cure Users Group Presentation Final 4
C Cure Users Group Presentation Final 4C Cure Users Group Presentation Final 4
C Cure Users Group Presentation Final 4
 
Beginner's Guide to High Availability for Postgres - French
Beginner's Guide to High Availability for Postgres - FrenchBeginner's Guide to High Availability for Postgres - French
Beginner's Guide to High Availability for Postgres - French
 
AutoUpgrade and Best Practices
AutoUpgrade and Best PracticesAutoUpgrade and Best Practices
AutoUpgrade and Best Practices
 
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
11298-Technical Upgrade Best Practices for Oracle E-Business Suite 12.2-Prese...
 
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
 

Recently uploaded

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
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
 
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
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
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
 
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
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

Creating order in the database patching chaos

  • 3. Website: >=Oracle7 (1998) Since 2009 Since 2020 President bcoug.org Senior DB consultant (since 2002) gotodba.com
  • 6. 12.2 18c 19c 20c 21c 22c Innovation release: • 2 year premier support • no extended support • no RURs (>=20c) Long term release • 5y premier support • 3y extended support • RURs Release Family Release Family (predicted)
  • 7.  Security vulnerabilities  Bug fixes  Support
  • 10.
  • 11.  Released every quarter  Always RAC-rolling and standby-first  RU (Release Update) • May introduce new features and behavior changes • Second number in the version (e.g. 18.12, 19.9)  RUR (Release Update Revision) • Regression fixes and security fixes only • Third number in the version (e.g. 18.10.2, 19.8.1) MOS note# 2337415.1
  • 12.  RURs won't be available for Innovation releases (20c, 21c)  RUR are supported for 6 months only (2 RURs per RU)  RURs include all RU changes 19.5 19.5.1 19.6.1 19.6 19.7 19.5.2 Apr-2020Jan-2020Oct-2019 19.4.1 19.3.2 19.4.2 19.7.1 19.8 19.6.2 Jul-2020
  • 13.  Check the known issues note  Make sure one-offs Are available and install them as well
  • 14.  Versions: GI = ASM ≥ DB (MOS 337737.1 for matrix)  Contains DB patch  GI_HOME does not need OJVM patch  Installed using opatchauto under root and by default: • Will patch GI and DB homes of running databases • Will execute datapatch on running databases  20c - will allow patching GI while DB is up
  • 15.  Only for DB homes  Needed for databases that have OJVM installed  Requires "startup upgrade" (<18.4 with exclusions)  Requires java downtime (probably until 20c)  https://mikedietrichde.com/2020/01/23/do-you-need- startup-upgrade-for-ojvm/ MOS note# 2217053.1
  • 16.  For download convenience only  RU only  Two difference combos: • DB + OJVM • GI + OJVM  Should be installed separately
  • 17.  Fix specific issues  Check conflicts: • Before one-offs • Before RU/RUR if you have one-offs  Use the MOS opatch conflict analyzer tool (can be accessed from a patch search)
  • 18.  DST patch requires "startup upgrade", therefore: • Requires downtime in RAC • Requires longer downtime in DG environment • Requires standby to be mounted (not active standby)  In multitenant: • Updating DST in CDB doesn't affect PDBs • Updating DST in one PDB doesn't affect other PDBs • New PDB will always take DST info from PDB$SEED • You cannot update DST info in PDB$SEED
  • 19.
  • 20.  Standby first patches - shorter downtime confusion with RUs: Note 1265700.1 - Data Guard Standby-First Patch Apply  Note 278641.1 - How do you apply a Patchset, PSU or CPU in a Data Guard Physical Standby configuration  Non "standby first" patches require both servers to be patched together (longer downtime)  "startup upgrade" cannot be applied to active standby (standby must be mounted)
  • 22. 19.619.5 19.619.6 19.519.5 node2 node3node1 datapatch
  • 24.  Create a patched Gold Image  Deploy Gold Image to a new home  Move DB to the new home  Run datapatch  Eliminates patch installation - shorter downtime
  • 25.  When databases share Oracle home • patch together • Use out-of-place patch DB2_standby DB2_primary DB1_primary DB1_standby Use "standby first" method on both databases together
  • 26.  Which patch(es) - RU/RUR, GI, OJVM  Existing one-offs  Required one-offs  Check availability and request unavailable patches  Prepare a procedure  Test  Deploy