Share
Embed
Transcript
60 slides
-
The Hitchhiker's Guide to Cloud Native Databases DOAG • Nüremberg
• 18 November 2025 Seàn Scott Oracle ACE Director Managing Principal Consultant Viscosity North America -
Database Reliability Engineering MAA ⁘ RAC ⁘ RMAN ⁘ ZDLRA
⁘ ASM Data Guard ⁘ Sharding ⁘ Partitioning Information Lifecycle Management Exadata & Engineered Systems Database Modernization Upgrades ⁘ Patching ⁘ Migrations Cloud ⁘ Hybrid Automation DevOps ⁘ IaC ⁘ Containers ⁘ Terraform Vagrant ⁘ Ansible Observability AHF ⁘ TFA ⁘ CHA ⁘ CHM -
Oracle on Docker Running Oracle Databases in Linux Containers Free
sample chapter: h tt ps://oraclesean.com -
Tech Superstars Unite Get worldwide recognition as an Oracle ACE
Oracle.com profile page Exclusive content Your own Oracle cloud account Swag, certification exam credit & event passes Networking events Travel support Learn more at: ace.oracle.com @oracleace Linkedin.com/groups/72183 @oracleace.bsky.social -
10 Conferences 15 Presentations 5 Panels 🌐 15 Time Zones
33 Days 54:28 Hours 15 Nations • 16 Airports • 20 Flights 43,826 km 23,664 nm and More Trains Trains Trains -
@ViscosityNA www.viscosityna.com On-Prem: Bare Metal and VM Resources directly provisioned
to workloads Inflexible, scales poorly Capacity based on projected requirements Difficult to move -
@ViscosityNA www.viscosityna.com Cloud: Containers Workloads decoupled from resources Scale to
meet demand Moving within a cloud is easier Moving to different clouds is difficult -
@ViscosityNA www.viscosityna.com Cloud Native: Orchestration/Automation Workload abstraction Decoupled infrastructure API-driven
management Portable across Clouds -
@ViscosityNA www.viscosityna.com Cloud Databases: Compute Lift and shift VMs to
cloud Scalability limited by compute shape Legacy function and management "Cloud" in name only! -
@ViscosityNA www.viscosityna.com Three full operating systems bin/lib app 3 Guest
OS bin/lib app 1 Guest OS bin/lib app 2 Guest OS Hypervisor Host OS Three application/executable directories bin/lib app 3 bin/lib app 1 bin/lib app 2 Container Runtime Host OS -
@ViscosityNA www.viscosityna.com Virtual Machines Three full operating systems bin/lib app
3 Guest OS bin/lib app 1 Guest OS bin/lib app 2 Guest OS Hypervisor Host OS Containers Three application/executable directories bin/lib app 3 bin/lib app 1 bin/lib app 2 Container Runtime Host OS -
@ViscosityNA www.viscosityna.com Virtual Machines Three full operating systems bin/lib app
3 Guest OS bin/lib app 1 Guest OS bin/lib app 2 Guest OS Hypervisor Host OS Containers Three application/executable directories bin/lib app 3 bin/lib app 1 bin/lib app 2 Container Runtime Host OS Extra Capacity! -
@ViscosityNA www.viscosityna.com www.viscosityna.com @ViscosityNA 13 Oracle Databases on a Laptop
2018 MacBook Pro 15", 2.2GHz 6-core Intel Core i7, 16GB, 1TB SSD -
@ViscosityNA www.viscosityna.com A container is: A process on a host,
and; A Union Filesystem. -
@ViscosityNA www.viscosityna.com A Union Filesystem has three layers: The Merge
or Union Layer. The Upper Layer. The Lower Layer. -
@ViscosityNA www.viscosityna.com A Union Filesystem has three layers: The Merge
or Union Layer: The service. The Upper Layer: The container. The Lower Layer: The image. -
@ViscosityNA www.viscosityna.com The Upper (merge) layer isn't "real." It's a
perceived (calculated) union of: • The game board & rules • Game play -
@ViscosityNA www.viscosityna.com Containers persist state (moves) in the run-time layer
of its Union Filesystem. Containers are stateful. -
@ViscosityNA www.viscosityna.com Deleting a container removes its Union Filesystem (and
its run-time layer). Containers are Ephemeral -
@ViscosityNA www.viscosityna.com Shift the Image Right Moves fall off the
game board: Changing an image changes the game! -
@ViscosityNA www.viscosityna.com How much space do three containers use? 500MB
+ 500MB + 500MB 500MB 500MB + 500MB + 500MB 1,500MB 500MB 500MB 500MB + -
@ViscosityNA www.viscosityna.com Base Linux OS Oracle 19.3 Home Preinstall RPM
Oracle 19.26 RU One-off Patches Base Linux OS Oracle 19.3 Home Preinstall RPM Oracle 19.27 RU One-off Patches -
@ViscosityNA www.viscosityna.com Different containers can share common layers. "Higher" layers
provide distinct functionality. -
@ViscosityNA www.viscosityna.com Base Linux OS Oracle 19.3 Home Preinstall RPM
Oracle 19.26 RU One-off Patches Oracle 19.27 RU One-off Patches -
@ViscosityNA www.viscosityna.com The challenge for Cloud Native DBAs Images are
stateless Containers are ephemeral but... Databases require statefulness and persistence! -
@ViscosityNA www.viscosityna.com Container Image /u01/app/oracle ORACLE_HOME/dbs ORACLE_BASE/diag ORACLE_HOME/network/admin /u02 /u03
Stateless and immutable Stateful and ephemeral -
@ViscosityNA www.viscosityna.com Container Image /u01/app/oracle ORACLE_HOME/dbs ORACLE_BASE/diag ORACLE_HOME/network/admin /u02 /u03
podman run --name ORCLDB \ --volume /oradata/ORCLDB/cfg:/dbconfig \ --volume /oradata/ORCLDB/diag:/ORACLE_BASE/diag \ --volume /oradata/ORCLDB/data:/u02 \ --volume /oradata/ORCLDB/redo:/u03 \ oracle/database:19.26-EE -
@ViscosityNA www.viscosityna.com Container Image High-performance storage /u01/app/oracle /u02 /u03 Stateless
and immutable Stateful and ephemeral Stateful and persistent! Persistent storage ORACLE_HOME/dbs ORACLE_BASE/diag ORACLE_HOME/network/admin -
@ViscosityNA www.viscosityna.com Container 19.26 Image High-performance storage /u01/app/oracle /u02 /u03
Persistent storage ORACLE_HOME/dbs ORACLE_BASE/diag ORACLE_HOME/network/admin -
@ViscosityNA www.viscosityna.com Container Image High-performance storage /u01/app/oracle Persistent storage ORACLE_HOME/dbs
ORACLE_BASE/diag ORACLE_HOME/network/admin /u02 /u03 podman stop ORCLDB podman rm ORCLDB podman run --name ORCLDB \ --volume /oradata/ORCLDB/cfg:/dbconfig \ --volume /oradata/ORCLDB/diag:/ORACLE_BASE/diag \ --volume /oradata/ORCLDB/data:/u02 \ --volume /oradata/ORCLDB/redo:/u03 \ oracle/database:19.27-EE -
@ViscosityNA www.viscosityna.com Container 19.27 Image High-performance storage /u01/app/oracle /u02 /u03
Persistent storage ORACLE_HOME/dbs ORACLE_BASE/diag ORACLE_HOME/network/admin