Download as pdf or txt
Download as pdf or txt
You are on page 1of 72

Huh? Is It Fixed in 23c? Seriously!

Insights into database development at Oracle

Photo by Ángel Méndez on Unsplash


1Copyright © 2023, Oracle and/or its affiliates
Daniel Overby Hansen
Senior Principal Product Manager
Cloud Migration

dohdatabase

@dohdatabase

https://dohdatabase.com

2 Copyright © 2023, Oracle and/or its affiliates


Recorded Web Seminars
https://dohdatabase.com/webinars

More than 30 hours of technical content,


on-demand, anytime, anywhere

3 Copyright © 2023, Oracle and/or its affiliates


Lifetime Support Policy
2009

2010

2011

2012

2013

2014

2015

2016

2017

2018

2019

2020

2021

2022

2023

2024

2025

2026

2027
MARKET
Oracle 11.2 WAIVED EXTENDED EXTENDED DRIVEN

MARKET
Oracle 12.1 EXTENDED DRIVEN

Oracle 12.2.0.1 LIMITED

Oracle 18
(12.2.0.2)

Oracle 19 EXTENDED
(12.2.0.3)

Oracle 21

Premier Support Waived Extended Support Paid Extended Support Market Driven Support Limited Error Correction

4 Copyright © 2023, Oracle and/or its affiliates


Plan YOUR Release Strategy
2016 We are here

2017

2018

2019

2020

2021

2022

2023

2024

2025

2026

2027

2028

2029

2030

2031

2032
MARKET
11.2.0.4 DRIVEN

12.1.0.2 MDS

12.2.0.1

18c

Oracle 19 EXTENDED
(12.2.0.3)

Oracle 21

Oracle Database 23c EXTENDED Support

5 Copyright © 2023, Oracle and/or its affiliates


Release Types

LONG TERM SUPPORT INNOVATION


5+ years of Premier Support followed by 2 years of Premier Support
3+ years of Extended Support No Extended Support

Innovation

Long Term Support Extended

Innovation

Long Term Support Extended


Move production databases from one
Long Term Support release to the next

7 Copyright © 2023, Oracle and/or its affiliates


Next Long Term Support release

Oracle Database 23c


Upgrade possible only from:

• Oracle Database 19c


• Oracle Database 21c

8 Copyright © 2023, Oracle and/or its affiliates


Do you want to upgrade?
Oracle Database 11.2.0.4
Oracle Database 12.1.0.2
Oracle Database 12.2.0.1
Oracle Database 18c

9 Copyright © 2023, Oracle and/or its affiliates


Oracle Database 11.2.0.4
Oracle Database 12.1.0.2
Oracle Database 12.2.0.1
Oracle Database 19c Oracle Database 23c
Oracle Database 18c

10 Copyright © 2023, Oracle and/or its affiliates


Everybody must upgrade to Oracle
Database 19c, with or without Multitenant

11 Copyright © 2023, Oracle and/or its affiliates


REALITY CHECK

A true customer story

Photo by Tobias Bjerknes on Unsplash


12 Copyright © 2023, Oracle and/or its affiliates
BIG PROBLEM!!

Photo by Sebastian Herrmann on Unsplash


You open an SR
You work with Oracle Support
And at worst case ...
13 Copyright © 2023, Oracle and/or its affiliates
14 Copyright © 2023, Oracle and/or its affiliates
... you hit a bug!!

Photo by Tobias Bjerknes on Unsplash


15 Copyright © 2023, Oracle and/or its affiliates
But ... don't worry!

Photo by Viktor Forgacs on Unsplash


It is fixed! In Oracle 23c!
16 Copyright © 2023, Oracle and/or its affiliates
What??

You mean in

Photo by Andre Hunter on Unsplash


2023?
17 Copyright © 2023, Oracle and/or its affiliates
THREE PARTIES

• You

Photo by Joris Berthelot on Unsplash


• Oracle Support
• Oracle Development
18 Copyright © 2023, Oracle and/or its affiliates
Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• Report via My Oracle Support

• Service Request inspected by automation


How many Service Requests are solved
by automation within one day?

20 Copyright © 2023, Oracle and/or its affiliates


60 % of Service Requests get solved
by automation within one single day

21 Copyright © 2023, Oracle and/or its affiliates


Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• Support Engineer creates a bug

• Help us help you:


• Clear description
• Reproducible test case
• Logs, traces, dumps
• Various release tests
When your case needs
further attention, ask for
management attention the right way

24 Copyright © 2023, Oracle and/or its affiliates


Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• Developer creates a fix

• Always in MAIN branch first


Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• Developer verifies the fix

• Regression tests on Farm in OCI


• Subset of tests before merge
• All tests run daily, ~1 million functional tests
(runtime ~25.000 hours)
Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• In case, fix isn't working as expected?


• Fix the fix
• Regression tests again

• Fix is ok?
• Merge into MAIN
• Merge can only happen with no failing tests
Re
lea
se
Branches

1 9c

Re
lea
se
2 1c

Fix
is
m
er
ge
d int
oM
AI
N

Re
lea
se
2 3c
19.1
21.1
23.1
MAIN
Should I
upgrade to
Oracle 23c now?

Photo by Andre Hunter on Unsplash


But there is no Oracle 23c yet, right ...?!
30 Copyright © 2023, Oracle and/or its affiliates
Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• Backport created on request

• Backports are specific for a release


and usually also for a patch level, e.g., on top of 19.19.0

• opatch lsinventory
Re
lea
Backport

se
1 9c

Re
lea
se
Up
da
te
1 9

Ba Fix
ck is
po m
rt er
ge
to
1 d
9. int
19 oM
AI
N
Re
lea
se
2 3c
19.1
23.1

19.19
MAIN
Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• Automated flow, manual handling might be required


• Some conflicts
• Dependencies

• Manual handling may postpone patch delivery


Why is the patch not in
the next Release Update?

35 Copyright © 2023, Oracle and/or its affiliates


Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• What goes into a Release Update?

• Screening and monitoring for candidates

• Support can request inclusion via base bug


Request for Inclusion
Request for Inclusion
Automatic Incident Management
Automatic Incident Management

• Scans for incidents

• Monitors also shared autonomous databases

• Automatically creates bugs

• Report and fix bugs before customers


Ensure your Service Request is
associated with the corresponding bug

41 Copyright © 2023, Oracle and/or its affiliates


Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• Evaluated for Release Update inclusion

• Strict requirements apply


• RAC Rolling
• Standby-First
Inclusion Evaluation and Criteria
Inclusion Evaluation and Criteria

NEVER INCLUDED
Insights into the Patching Process

ERROR FIX BACKPORT INCLUSION

• Limited number of fixes per Release Update

• Release Updates and Revisions regression tests


Limitation
1200 1140

971
1000
874

800 721 718


654
603
573
600 533
502
472 474
398
400 334
294
228
200

0
19.3.0 19.4.0 19.5.0 19.6.0 19.7.0 19.8.0 19.9.0 19.10.0 19.11.0 19.12.0 19.13.0 19.14.0 19.15.0 19.16.0 19.17.0 19.18.0 19.19.0
Database 19 Release Updates and Revisions Bugs Fixed Lists (Doc ID 2523220.1)
Limitation

9c 6-12 weeks

3c
1

2
se

se
lea

lea
Re

Re
MAIN

91
te
23.1

da
e

Up
at
eD

se
lea
ez
e

Re
Fr

19.1
Regression test

19.19
WHY DO YOU ALWAYS ASK FOR

OPATCH
lsinventory

Photo by Joel J. Martínez on Unsplash


48 Copyright © 2023, Oracle and/or its affiliates
TO AVOID
CONFLICTS

Photo by Glomad Marketing on Unsplash


49 Copyright © 2023, Oracle and/or its affiliates
Basic Facts | Conflicts

h
as

2
1

tc
#

#
le

pa
ff
Re

ff
o

ge
e-

e-
es

er
On

On
Ba

M
19c

dpload.sql dpload.sql dpload.sql dpload.sql

CONFLICT
Always attach the output of
opatch lsinventory to your Service Request

51 Copyright © 2023, Oracle and/or its affiliates


Don't name it
• optch_lsinvt.txt
• tekst_fra_opatch.txt
• alle_meine_patches.txt
• textodeopatch.txt

52 Copyright © 2023, Oracle and/or its affiliates


Just name it opatch_lsinventory.txt

53 Copyright © 2023, Oracle and/or its affiliates


But ... I am on MS Windows ...

Photo by Sebastian Herrmann on Unsplash


54 Copyright © 2022, Oracle and/or its affiliates
Windows is different ...

Photo by Clint Patterson on Unsplash


55 Copyright © 2022, Oracle and/or its affiliates
Pro Tip
A Windows Bundle Patch and a Release Update
from the same quarter, e.g., July 2022,
does not contain the same patches

56 Copyright © 2023, Oracle and/or its affiliates


Where do I find
the bundle patches for Windows?

57 Copyright © 2023, Oracle and/or its affiliates


58 Copyright © 2022, Oracle and/or its affiliates
Basic Facts | Patch Availability

MOS Note: 2118136.2 - Assistant: Download Reference for DB and GI Patch Bundles

59 Copyright © 2022, Oracle and/or its affiliates


Basic Facts | Patch Availability

MOS Note: 2844795.1 - Apr 2022 Patch Availability Document (DB-only) (Doc ID 2844795.1)

60 Copyright © 2022, Oracle and/or its affiliates


... Oracle on Windows is different

Photo by Clint Patterson on Unsplash


61 Copyright © 2022, Oracle and/or its affiliates
But this MOS note is missing ...

62 Copyright © 2023, Oracle and/or its affiliates


MOS Note is not accessible

MOS Notes into UNDER REVIEW state without telling you more details
• See blog post "This MOS note is not available anymore?"

63 Copyright © 2023, Oracle and/or its affiliates


Pro Tip
Just try it again a few days later or open an SR
and check with Oracle Support if you need the
content urgently

64 Copyright © 2023, Oracle and/or its affiliates


Photo by Danielle Barnes on Unsplash
Oracle Linux
Development Platform
65 Copyright © 2023, Oracle and/or its affiliates
Porting

Oracle Linux x86-64

Porting
• Microsoft Windows
• SPARC Solaris
• Intel Solaris x86-64
• IBM AIX
• IBM zLinux
• HP UX Itanium
• BS2000

66 Copyright © 2023, Oracle and/or its affiliates


Some of the platforms
from our bug tracking system

Blast from the past

67 Copyright © 2023, Oracle and/or its affiliates


Blast from the Past | Platforms
Microsoft Windows Phone Tekelec Netra X3-2 for Acme Packet Novell NetWare
Oracle JRockit Virtual Edition x86 Qualcomm Brew MP Oracle Solaris on SPARC (64-bit) Linux on IBM Z
SunOS Netra Server X5-2 for Communications IBM S/390 Based Linux (31-bit) Data General
Monta Vista x86 HP NonStop S-series (Guardian) Acme Packet 3900 Pyramid
Acme Packet 1100 HP OpenVMS Itanium SPARC Talari
iTron Monta Vista x86-64 Fujitsu MSP-EX Palm Computing
Embedded Linux on cnMIPS OpenSolaris Trusted Solaris HP NonStop (OSS) on x86
Embedded Linux SH4 SCO Unix Net-Net 4250 Unisys OS 2200
HP NonStop Itanium (OSS) Net-Net 9200 HP OpenVMS VAX HP OpenVMS Alpha
QNX Unix Symbian EPOC HP-UX PA-RISC (32-bit) Acme Packet 3820
Acme Packet 6100 Linux ARM 32-bit VFP HardFP ABI Acme Packet 6300 FreeBSDx86
Linux MIPS 64-bit SGI Irix Microsoft Windows CE Oracle Solaris Express
Fujitsu BS2000/OSD (SQ series) ia64 IBM z/OS on System z VxWorks
Mediatek MTZ Linux SPARC StorageTek Hardware Microsoft Windows (32-bit)
HP NonStop (Guardian) on x86 Oracle Solaris on SPARC (32-bit) Oracle Solaris on x86 (32-bit) Sequent
Fujitsu BS2000 HP NonStop Itanium (Guardian) Fujitsu BS2000/OSD (SX series) Windows NT
HP Tru64 UNIX RIM BlackBerry Linux ARM 64-bit nCube
YouTube | Oracle Database Upgrades and Migrations

• 300+ videos

• New videos every week

• No marketing

• No buzzword

• All tech

Link

69 Copyright © 2021, Oracle and/or its affiliates


THANK
YOU

Visit our blogs:

https://MikeDietrichDE.com

https://DOHdatabase.com

https://www.dbarj.com.br/en
THANK
YOU

Webinars:

https://MikeDietrichDE.com/videos

YouTube channel:

OracleDatabaseUpgradesandMigrations
THANK
YOU

You might also like