SlideShare a Scribd company logo
1 of 27
Juris Trošins
juris.trosins@dbacc.lv
www.dbacc.lv
Answers To The Questions You Probably
Were Afraid To Ask About Oracle Database
Security Updates
What We Do
• DBA Outsourcing
• Remote Consulting
• Oracle Training
• Oracle Software
• Oracle Hardware
Portfolio
About me
• More than third of my life with Oracle tech
• OCE, OCP, OCM
• Co-founder of DBA Competence Center Ltd.
• Trainer at Oracle University
• Speaker at LVOUG, UKOUG, Harmony and
other technology seminars
Sort of Agenda
• Few existential questions
• Some motivational stuff
• Bits of technical information
???
• My databases are behind
firewall, do I need security
patches?
• Should I apply proactive
bugfixes?
• How often?
• Do I need downtime? How
long?
• What if I break something?
• There are so many
recommended patches!
Which one is right for me?
• If it works, do not fix it!
• Patching implies
downtime
• Patch will break my DB,
execution plans,
everything
• Patch will introduce new
errors or new features
• I need to test patch
• Patching is extra work!
To patch… or not to patch?
Yeah, fine! Let’s skip that patch!
CVE
• Industry standard – Common Vulnerabilities
and Exposures
• CVSS Base Score
Patch is Like a Vaccine
• If you skip common sence, here are another
reasons to apply patches:
– Security standard recommendations (PCI/DSS,
Oracle Support Compliance, internal rules, etc.)
– Oracle Support will «blame» you when you hit
«that bug» while being unpatched
– Finally it justifies your position as a DBA in a world
of «self managing databases» 
– Proactive patches are already tested and
evaluated by Oracle development
Where to start?
Types of Proactive Patches
What’s New?
• Critical Security patches (CPU/SPU, pre-12c)
contain only security fixes
• PSU/RU/RUR contain security fixes plus
bugfixes
• RU (Update) vs RUR (Revision) – 12.2+
– Release Updates are like PSUs
– Revisions contain previous RU plus additional fixes
How To Apply
• Read the README!!!
• OPatch utility – Patch: 6880880 (get the latest
one for your version)
• BP, Combo or System patch –
# opatchauto
• RU, RUR, CPU/SPU/PSU –
$ opatch apply
How to Reduce Downtime
• RAC rolling installable
• DG Standby First installable
• Online (hot) patching
• Fiddeling with software provisioning
• Rolling Patch - OPatch Support for RAC (Doc ID
244241.1
• Oracle Patch Assurance - Data Guard Standby-
First Patch Apply (Doc ID 1265700.1)
• How To Setup a Rapid Home Provisioning
(RHP) Server and Client (Doc ID 2097026.1)
• Minimal downtime patching via cloning 12c
ORACLE_HOME directories with OPlan (Doc ID
2087150.1)
What about OJVM Patch?
• It is recommended, and «almost» mandatory
• Yes, even if you do not use JVM in your
database!
• Not RAC Rolling (?) nor DG Standby-First
installable, hence implies outage
• Depending on your JVM usage downtime can
be mitigated:
– Mitigation Patch, or
– Perform postinstall with «open normal» database
• Oracle Recommended Patches -- "Oracle
JavaVM Component Database PSU and
Update" (OJVM PSU and OJVM Update)
Patches (Doc ID 1929745.1)
• RAC Rolling Install Process for the "Oracle
JavaVM Component Database PSU/RU" (OJVM
PSU/RU) Patches (Doc ID 2217053.1)
«Installed but Disabled» Mode
• No fixes that change execution plan were
included in PSUs… until…
• Fixes to the execution plan are included
starting with 12.1.0.2 Apr18 DB BP
• Such fixes will be DISABLED by default
• New Feature: Automatic Fix Control
Persistance
• New DBMS_OPTIM_BUNDLE package
Further Reading
• README of individual patch!
• Oracle Patch advisory
https://www.oracle.com/technetwork/topics/security/
alerts-086861.html
• OPatch User's Guide and Opatch FAQ (Doc ID
1486109.1)
• Release Update Introduction and FAQ (Doc ID
2285040.1)
• Automatic Fix Control Persistence (FCP) for Database
Proactive Bundle Patch (Doc ID 2147007.1) (12.2+)
• Patch Set Updates for Oracle Products (Doc ID
854428.1) (up to 12.1)
Conclusion
• Read the README!
If you did not read the README, read that
README!!!
Q/A
@juristrosins
juris.trosins@dbacc.lv
(+371) 29 427247
www.dbacc.lv

More Related Content

What's hot

Linux kernel-rootkit-dev - Wonokaerun
Linux kernel-rootkit-dev - WonokaerunLinux kernel-rootkit-dev - Wonokaerun
Linux kernel-rootkit-dev - Wonokaerun
idsecconf
 
Tuning parallelcodeonsolaris005
Tuning parallelcodeonsolaris005Tuning parallelcodeonsolaris005
Tuning parallelcodeonsolaris005
dflexer
 

What's hot (20)

YOW2020 Linux Systems Performance
YOW2020 Linux Systems PerformanceYOW2020 Linux Systems Performance
YOW2020 Linux Systems Performance
 
Introduction to Perf
Introduction to PerfIntroduction to Perf
Introduction to Perf
 
OSSNA 2017 Performance Analysis Superpowers with Linux BPF
OSSNA 2017 Performance Analysis Superpowers with Linux BPFOSSNA 2017 Performance Analysis Superpowers with Linux BPF
OSSNA 2017 Performance Analysis Superpowers with Linux BPF
 
Kernel Recipes 2017 - Understanding the Linux kernel via ftrace - Steven Rostedt
Kernel Recipes 2017 - Understanding the Linux kernel via ftrace - Steven RostedtKernel Recipes 2017 - Understanding the Linux kernel via ftrace - Steven Rostedt
Kernel Recipes 2017 - Understanding the Linux kernel via ftrace - Steven Rostedt
 
Linux kernel-rootkit-dev - Wonokaerun
Linux kernel-rootkit-dev - WonokaerunLinux kernel-rootkit-dev - Wonokaerun
Linux kernel-rootkit-dev - Wonokaerun
 
Tuning parallelcodeonsolaris005
Tuning parallelcodeonsolaris005Tuning parallelcodeonsolaris005
Tuning parallelcodeonsolaris005
 
Linux Performance Tools
Linux Performance ToolsLinux Performance Tools
Linux Performance Tools
 
Linux Performance Tools 2014
Linux Performance Tools 2014Linux Performance Tools 2014
Linux Performance Tools 2014
 
BPF Internals (eBPF)
BPF Internals (eBPF)BPF Internals (eBPF)
BPF Internals (eBPF)
 
Performance Wins with BPF: Getting Started
Performance Wins with BPF: Getting StartedPerformance Wins with BPF: Getting Started
Performance Wins with BPF: Getting Started
 
LSFMM 2019 BPF Observability
LSFMM 2019 BPF ObservabilityLSFMM 2019 BPF Observability
LSFMM 2019 BPF Observability
 
bcc/BPF tools - Strategy, current tools, future challenges
bcc/BPF tools - Strategy, current tools, future challengesbcc/BPF tools - Strategy, current tools, future challenges
bcc/BPF tools - Strategy, current tools, future challenges
 
Linux kernel tracing superpowers in the cloud
Linux kernel tracing superpowers in the cloudLinux kernel tracing superpowers in the cloud
Linux kernel tracing superpowers in the cloud
 
LPC2019 BPF Tracing Tools
LPC2019 BPF Tracing ToolsLPC2019 BPF Tracing Tools
LPC2019 BPF Tracing Tools
 
QCon 2015 Broken Performance Tools
QCon 2015 Broken Performance ToolsQCon 2015 Broken Performance Tools
QCon 2015 Broken Performance Tools
 
Performance Analysis Tools for Linux Kernel
Performance Analysis Tools for Linux KernelPerformance Analysis Tools for Linux Kernel
Performance Analysis Tools for Linux Kernel
 
Blazing Performance with Flame Graphs
Blazing Performance with Flame GraphsBlazing Performance with Flame Graphs
Blazing Performance with Flame Graphs
 
Tracing MariaDB server with bpftrace - MariaDB Server Fest 2021
Tracing MariaDB server with bpftrace - MariaDB Server Fest 2021Tracing MariaDB server with bpftrace - MariaDB Server Fest 2021
Tracing MariaDB server with bpftrace - MariaDB Server Fest 2021
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux Troubleshooting
 
USENIX ATC 2017: Visualizing Performance with Flame Graphs
USENIX ATC 2017: Visualizing Performance with Flame GraphsUSENIX ATC 2017: Visualizing Performance with Flame Graphs
USENIX ATC 2017: Visualizing Performance with Flame Graphs
 

Similar to Patching: answers to questions you probably were afraid to ask about oracle security updates

Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
Aaron Shilo
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
Alfredo Abate
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
taoyan
 
Configuration / Patching of EM 12c
Configuration / Patching of EM 12cConfiguration / Patching of EM 12c
Configuration / Patching of EM 12c
Jon Petter Hjulstad
 
Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)
pasalapudi123
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
Arush Jain
 

Similar to Patching: answers to questions you probably were afraid to ask about oracle security updates (20)

SOA Suite Administration from OUGN 2014
SOA Suite Administration from OUGN 2014SOA Suite Administration from OUGN 2014
SOA Suite Administration from OUGN 2014
 
Oracle Database : Addressing a performance issue the drilldown approach
Oracle Database : Addressing a performance issue the drilldown approachOracle Database : Addressing a performance issue the drilldown approach
Oracle Database : Addressing a performance issue the drilldown approach
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Maximizing Oracle RAC Uptime
Maximizing Oracle RAC UptimeMaximizing Oracle RAC Uptime
Maximizing Oracle RAC Uptime
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
 
Extreme Makeover OnBase Edition
Extreme Makeover OnBase EditionExtreme Makeover OnBase Edition
Extreme Makeover OnBase Edition
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
PASS Summit 2020
PASS Summit 2020PASS Summit 2020
PASS Summit 2020
 
Configuration / Patching of EM 12c
Configuration / Patching of EM 12cConfiguration / Patching of EM 12c
Configuration / Patching of EM 12c
 
Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)
 
Getting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suiteGetting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suite
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
Real Time Debugging - What to do when a breakpoint just won't do
Real Time Debugging - What to do when a breakpoint just won't doReal Time Debugging - What to do when a breakpoint just won't do
Real Time Debugging - What to do when a breakpoint just won't do
 
Oracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new featuresOracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new features
 
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The SequelVMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
 
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte Data
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte DataProblems with PostgreSQL on Multi-core Systems with MultiTerabyte Data
Problems with PostgreSQL on Multi-core Systems with MultiTerabyte Data
 
Tips_Tricks_for_Oracle_E-Business Suite_Database_Upgrade.pdf
Tips_Tricks_for_Oracle_E-Business Suite_Database_Upgrade.pdfTips_Tricks_for_Oracle_E-Business Suite_Database_Upgrade.pdf
Tips_Tricks_for_Oracle_E-Business Suite_Database_Upgrade.pdf
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 
Con8780 nair rac_best_practices_final_without_12_2content
Con8780 nair rac_best_practices_final_without_12_2contentCon8780 nair rac_best_practices_final_without_12_2content
Con8780 nair rac_best_practices_final_without_12_2content
 

More from DATA SECURITY SOLUTIONS

More from DATA SECURITY SOLUTIONS (20)

The Future of PKI. Using automation tools and protocols to bootstrap trust in...
The Future of PKI. Using automation tools and protocols to bootstrap trust in...The Future of PKI. Using automation tools and protocols to bootstrap trust in...
The Future of PKI. Using automation tools and protocols to bootstrap trust in...
 
MLM or how to look at company users with new eyes
MLM or how to look at company users with new eyesMLM or how to look at company users with new eyes
MLM or how to look at company users with new eyes
 
The artificial reality of cyber defense
The artificial reality of cyber defenseThe artificial reality of cyber defense
The artificial reality of cyber defense
 
How to maintain business equality secured in network and cloud
How to maintain business equality secured in network and cloudHow to maintain business equality secured in network and cloud
How to maintain business equality secured in network and cloud
 
Forensic tool development with rust
Forensic tool development with rustForensic tool development with rust
Forensic tool development with rust
 
IBM Q-radar security intelligence roadmap
IBM Q-radar security intelligence roadmapIBM Q-radar security intelligence roadmap
IBM Q-radar security intelligence roadmap
 
Transform your enterprise branch with secure sd-wan
Transform your enterprise branch with secure sd-wanTransform your enterprise branch with secure sd-wan
Transform your enterprise branch with secure sd-wan
 
How to discover vulnerabilities in business and mission critical systems
How to discover vulnerabilities in business and mission critical systemsHow to discover vulnerabilities in business and mission critical systems
How to discover vulnerabilities in business and mission critical systems
 
Protecting web aplications with machine learning and security fabric
Protecting web aplications with machine learning and security fabricProtecting web aplications with machine learning and security fabric
Protecting web aplications with machine learning and security fabric
 
Practical approach to NIS Directive's incident management
Practical approach to NIS Directive's incident managementPractical approach to NIS Directive's incident management
Practical approach to NIS Directive's incident management
 
When network security is not enough
When network security is not enoughWhen network security is not enough
When network security is not enough
 
New security solutions for next generation of IT
New security solutions for next generation of ITNew security solutions for next generation of IT
New security solutions for next generation of IT
 
Botprobe - Reducing network threat intelligence big data
Botprobe - Reducing network threat intelligence big data Botprobe - Reducing network threat intelligence big data
Botprobe - Reducing network threat intelligence big data
 
Network is the Firewall
Network is the FirewallNetwork is the Firewall
Network is the Firewall
 
Let's hack your mobile device. Yes we can. And many other do.
Let's hack your mobile device. Yes we can. And many other do.Let's hack your mobile device. Yes we can. And many other do.
Let's hack your mobile device. Yes we can. And many other do.
 
Secure enterprise mobility
Secure enterprise mobilitySecure enterprise mobility
Secure enterprise mobility
 
North European Cybersecurity Cluster - an example of the regional trust platf...
North European Cybersecurity Cluster - an example of the regional trust platf...North European Cybersecurity Cluster - an example of the regional trust platf...
North European Cybersecurity Cluster - an example of the regional trust platf...
 
IoT Technologies for Context-Aware Security
IoT Technologies for Context-Aware SecurityIoT Technologies for Context-Aware Security
IoT Technologies for Context-Aware Security
 
Cyber crime as a startup
Cyber crime as a startupCyber crime as a startup
Cyber crime as a startup
 
Services evolution in cybercrime economics
Services evolution in cybercrime economicsServices evolution in cybercrime economics
Services evolution in cybercrime economics
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

Patching: answers to questions you probably were afraid to ask about oracle security updates

  • 1. Juris Trošins juris.trosins@dbacc.lv www.dbacc.lv Answers To The Questions You Probably Were Afraid To Ask About Oracle Database Security Updates
  • 2. What We Do • DBA Outsourcing • Remote Consulting • Oracle Training • Oracle Software • Oracle Hardware
  • 4. About me • More than third of my life with Oracle tech • OCE, OCP, OCM • Co-founder of DBA Competence Center Ltd. • Trainer at Oracle University • Speaker at LVOUG, UKOUG, Harmony and other technology seminars
  • 5. Sort of Agenda • Few existential questions • Some motivational stuff • Bits of technical information
  • 6.
  • 7. ??? • My databases are behind firewall, do I need security patches? • Should I apply proactive bugfixes? • How often? • Do I need downtime? How long? • What if I break something? • There are so many recommended patches! Which one is right for me? • If it works, do not fix it! • Patching implies downtime • Patch will break my DB, execution plans, everything • Patch will introduce new errors or new features • I need to test patch • Patching is extra work!
  • 8. To patch… or not to patch?
  • 9. Yeah, fine! Let’s skip that patch!
  • 10. CVE • Industry standard – Common Vulnerabilities and Exposures • CVSS Base Score
  • 11.
  • 12. Patch is Like a Vaccine • If you skip common sence, here are another reasons to apply patches: – Security standard recommendations (PCI/DSS, Oracle Support Compliance, internal rules, etc.) – Oracle Support will «blame» you when you hit «that bug» while being unpatched – Finally it justifies your position as a DBA in a world of «self managing databases»  – Proactive patches are already tested and evaluated by Oracle development
  • 14.
  • 15.
  • 17. What’s New? • Critical Security patches (CPU/SPU, pre-12c) contain only security fixes • PSU/RU/RUR contain security fixes plus bugfixes • RU (Update) vs RUR (Revision) – 12.2+ – Release Updates are like PSUs – Revisions contain previous RU plus additional fixes
  • 18. How To Apply • Read the README!!! • OPatch utility – Patch: 6880880 (get the latest one for your version) • BP, Combo or System patch – # opatchauto • RU, RUR, CPU/SPU/PSU – $ opatch apply
  • 19. How to Reduce Downtime • RAC rolling installable • DG Standby First installable • Online (hot) patching • Fiddeling with software provisioning
  • 20. • Rolling Patch - OPatch Support for RAC (Doc ID 244241.1 • Oracle Patch Assurance - Data Guard Standby- First Patch Apply (Doc ID 1265700.1) • How To Setup a Rapid Home Provisioning (RHP) Server and Client (Doc ID 2097026.1) • Minimal downtime patching via cloning 12c ORACLE_HOME directories with OPlan (Doc ID 2087150.1)
  • 21. What about OJVM Patch? • It is recommended, and «almost» mandatory • Yes, even if you do not use JVM in your database! • Not RAC Rolling (?) nor DG Standby-First installable, hence implies outage • Depending on your JVM usage downtime can be mitigated: – Mitigation Patch, or – Perform postinstall with «open normal» database
  • 22.
  • 23. • Oracle Recommended Patches -- "Oracle JavaVM Component Database PSU and Update" (OJVM PSU and OJVM Update) Patches (Doc ID 1929745.1) • RAC Rolling Install Process for the "Oracle JavaVM Component Database PSU/RU" (OJVM PSU/RU) Patches (Doc ID 2217053.1)
  • 24. «Installed but Disabled» Mode • No fixes that change execution plan were included in PSUs… until… • Fixes to the execution plan are included starting with 12.1.0.2 Apr18 DB BP • Such fixes will be DISABLED by default • New Feature: Automatic Fix Control Persistance • New DBMS_OPTIM_BUNDLE package
  • 25. Further Reading • README of individual patch! • Oracle Patch advisory https://www.oracle.com/technetwork/topics/security/ alerts-086861.html • OPatch User's Guide and Opatch FAQ (Doc ID 1486109.1) • Release Update Introduction and FAQ (Doc ID 2285040.1) • Automatic Fix Control Persistence (FCP) for Database Proactive Bundle Patch (Doc ID 2147007.1) (12.2+) • Patch Set Updates for Oracle Products (Doc ID 854428.1) (up to 12.1)
  • 26. Conclusion • Read the README! If you did not read the README, read that README!!!

Editor's Notes

  1. Nedaudz par mani... Sākumā es gribētu nedaudz iepazīties ar auditoriju – cik no jums ir dba un cik cilvēki, kuri traucē dba dzīvot? Piemēram, power users, vai cilvēki no drošības departamenta, vai vadītāji, kuri nosaka attīstības virzienus vai biznesa prasības
  2. Nedaudz par mani... Sākumā es gribētu nedaudz iepazīties ar auditoriju – cik no jums ir dba un cik cilvēki, kuri traucē dba dzīvot? Piemēram, power users, vai cilvēki no drošības departamenta, vai vadītāji, kuri nosaka attīstības virzienus vai biznesa prasības