Chapter 01 · Oracle AI Database Foundations, Editions, Deployment Models, and Lab Setup

On-Premises, OCI, Autonomous, Exadata, and Container-Based Learning/Deployment Models

Compare self-managed Oracle, Free containers, OCI Base Database Service, Autonomous AI Database, and Exadata by responsibility boundary, persistence, topology, and reproducibility.

Intermediate90–110 minutesDeployment decision labOracle AI Database 26ai baselineFree container/native pathLast reviewed: August 24, 2026

Learning outcomes

ServiceHub can run Oracle locally, but a production architecture meeting now contains five proposals: install Oracle on company VMs, run a container, use OCI Base Database Service, choose Autonomous AI Database, or purchase an Exadata-based deployment. All can involve Oracle Database, yet they move very different responsibilities across the boundary between the team and Oracle. This lesson turns “where should we run Oracle?” into an explicit responsibility model.

01

Compare self-managed hosts/VMs, Free containers, OCI Base Database Service, Autonomous AI Database, and Exadata-based offerings by responsibility boundary.

02

Separate portable database concepts—schemas, SQL, services, backups—from offering-specific control planes and infrastructure.

03

Explain why an Oracle container is a process/package boundary rather than a substitute for persistent storage, backup, or HA.

04

Identify which later academy labs can be reproduced locally and which require licensed or topology-heavy infrastructure.

05

Create a deployment decision record with evidence, rollback, and operational ownership.

Scope rule

This lesson compares architectures; it does not claim that every feature is present or licensed in every offering. Availability, options, regions, shapes, service tiers, and pricing change. Re-check current Oracle documentation before a production selection.

1. Start with responsibility, not with product slogans

A deployment choice determines who patches the operating system, Oracle Home, and database; who provisions storage; who owns backups; who configures listeners and services; who designs high availability; and who can reach host-level diagnostics. Those responsibilities are as important as SQL compatibility. Two offerings can run similar SQL yet expose very different administrative surfaces.

Deployment Primary operator boundary What you should expect to own
Self-managed host or VM Your organization operates OS + Oracle software + database. OS hardening, Oracle install/RUs, listener, storage, backup, monitoring, HA design, capacity, recovery.
Oracle AI Database Free container You operate container lifecycle + persistent volume + database lab. Image lifecycle, host/container resources, volume durability, passwords, ports, lab backup/reset. Not a production support path.
OCI Base Database Service OCI supplies managed infrastructure workflows around Oracle Database. Database configuration and application concerns remain, while infrastructure/patching capabilities depend on service model and choices.
Autonomous AI Database Oracle automates a larger portion of infrastructure/database operations. Data model, SQL, application security, service configuration, governance, workload behavior; host-level control is intentionally reduced.
Exadata-based offering Oracle Database runs on engineered infrastructure, on-premises or cloud depending on offering. Database architecture plus engineered-system/service responsibilities; feature/operational model differs from commodity VM assumptions.

2. Self-managed host or VM: maximum control means maximum obligation

On a self-managed Linux or Windows host you can inspect Oracle Home files, listener configuration, ADR diagnostics, database services, OS processes, filesystem or ASM storage, and host telemetry. That visibility is valuable for learning and some production requirements, but nothing automatically patches the database, tests restore procedures, or keeps the listener secure. A VM adds virtualization but does not turn the database into a managed service.

For the course, a native Free installation on Windows or Oracle/RHEL-compatible Linux is a valid local path. Oracle’s current Free packages include 26ai installers for Linux and Windows. Native installation is especially useful when a later lesson needs host service management or file-path observation.

3. Containers: excellent lab reproducibility, but persistence is explicit

A database container packages the Oracle software/runtime in an isolated container environment. It is useful for repeatable labs because image identity, port mappings, and volumes can be scripted. But the database still writes persistent files. If those files live only in the writable container layer and the container is removed, your durable state disappears with that layer.

docker / shell · pull and run the official Free image with persistent storage
# Pull the current Oracle AI Database Free image.docker pull container-registry.oracle.com/database/free:latest# Create a persistent named volume once.docker volume create oracle26ai-data# ORACLE_PWD must contain a temporary strong lab password in your shell environment.docker run -d --name oracle26ai-free \  -p 1521:1521 \  -e ORACLE_PWD="$ORACLE_PWD" \  -v oracle26ai-data:/opt/oracle/oradata \  container-registry.oracle.com/database/free:latest# Watch initialization until the database reports readiness.docker logs -f oracle26ai-free

Pin an immutable image digest for a serious reproducibility record instead of trusting a moving latest tag forever. The course uses the tag for approachable setup, then asks you to record docker image inspect output and the database VERSION_FULL.

docker / shell · record container image identity
docker image inspect container-registry.oracle.com/database/free:latest   --format '{{json .RepoDigests}}'docker inspect oracle26ai-free   --format '{{json .Mounts}}' 

4. Deliberately wrong approach: treat the container as the backup

An engineer launches Oracle without a volume, loads ServiceHub data, then “cleans up” with docker rm -f. A replacement container starts clean and the engineer reports that Oracle lost data. Oracle did exactly what the deployment instructed: durable database files were stored in an ephemeral container layer that was deleted.

Safe failure experiment

Only reproduce container deletion with a disposable test container whose data you intentionally do not need. Never use this experiment on your course’s persistent volume. Before destructive container lifecycle tests, capture the volume name and a logical/export or filesystem-level recovery path appropriate to the lab.

The repair is not “never use containers.” The repair is to make persistence, image identity, secret handling, backup, and restore separate design objects. A persistent volume protects against container replacement; it is still not a backup because deleting/corrupting data inside the database also changes the volume.

5. OCI Base Database, Autonomous AI Database, and Exadata move different boundaries

OCI Base Database Service provides Oracle Database on OCI compute/infrastructure with service-level provisioning and lifecycle capabilities. Autonomous AI Database shifts more operational responsibility to Oracle, automating tasks such as infrastructure management and portions of database lifecycle/tuning while exposing a database service rather than a host you administer like a conventional server. Exadata is an engineered database platform; Exadata Database Service and Exadata Cloud@Customer add cloud/service control planes around that engineered infrastructure.

Do not use a cloud diagram to explain a local instance mechanism unless the mechanism is actually portable. SQL semantics, transaction behavior, schemas, and many data types transfer conceptually. Host paths, patch commands, storage internals, RAC topology, service management, and license bundles can differ substantially.

Later topic Free/local path When direct reproduction needs more
SQL, PL/SQL, schemas, optimizer basics Directly reproducible in Free for supported features. Larger scale or licensed tuning features may need another offering.
CDB/PDB and services Observable in Free’s FREE/FREEPDB1 baseline. Advanced fleet or service orchestration can require more infrastructure.
RMAN fundamentals Local single-instance exercises are possible. Enterprise backup integrations/cloud object storage change the topology.
Data Guard Conceptual/design and limited simulation path in the course. Real multi-host standbys and licensed features require supported editions/topology.
RAC / Grid Infrastructure Architecture and evidence interpretation can be studied locally. Real RAC requires cluster/Grid Infrastructure and licensing/topology.
Exadata smart features Explain plans/evidence examples and design reasoning. Actual Smart Scan/storage-server behavior requires Exadata.
Autonomous operations SQL/application comparison and responsibility mapping. Actual service behavior requires an Autonomous service tenancy.

6. Connection evidence should survive deployment changes

An application should prefer a documented service/connect descriptor rather than baking host-specific instance assumptions into code. Your evidence card should capture both portable and deployment-specific state.

sql · portable database-side deployment evidence
SELECT banner_full FROM v$version;SELECT sys_context('USERENV','DB_NAME') AS db_name,       sys_context('USERENV','CON_NAME') AS con_name,       sys_context('USERENV','SERVICE_NAME') AS service_name,       sys_context('USERENV','HOST') AS client_host,       sys_context('USERENV','IP_ADDRESS') AS client_ipFROM dual;SELECT platform_nameFROM   v$database;

These values tell you what database/session you reached. They do not tell you whether the host is an OCI VM, an Exadata compute node, or a local container with certainty. Combine database evidence with the deployment control plane or host/container evidence rather than over-interpreting one SQL query.

7. Hands-on lab: write a deployment decision record

Use your current Free lab and write a short record with: deployment type, host OS, container/native choice, image/package version, persistent data location, port exposure, PDB service, client tool, backup/export location, owner of patching, and owner of restore testing. Then add a hypothetical production row for each candidate architecture.

docker / shell · container checks for the local path
docker ps --filter name=oracle26ai-freedocker inspect oracle26ai-free   --format 'Image={{.Image}} Ports={{json .NetworkSettings.Ports}} Mounts={{json .Mounts}}'# Database-side confirmation after connecting to FREEPDB1:# SELECT banner_full FROM v$version;# SELECT sys_context('USERENV','SERVICE_NAME') FROM dual;

Acceptance criteria:

  • The local lab has persistent storage independent of the container lifecycle, or a documented native data location.
  • You have recorded the actual image digest/package and Oracle VERSION_FULL.
  • No production cloud/Exadata/RAC/GoldenGate feature is required for the mandatory lab.
  • Every candidate production model names who owns OS, database patching, backup, HA, monitoring, and restore verification.
  • The record distinguishes a portable database concept from a service-specific operational implementation.

8. Production judgment

Choose deployment models from SLOs, regulatory/control requirements, staff capability, latency, data gravity, failure domains, licensing, and operational burden. “More control” is not automatically better; unmanaged responsibilities become risk. “More managed” is not automatically simpler either; reduced host access can change troubleshooting, migration, networking, and integration patterns.

Keep an exit and recovery path. Know how data leaves the platform, how a restore is tested, how client service names change during migration, and which features create portability constraints. The next lesson creates the local baseline carefully so all later exercises have a known connection and recovery boundary.

9. Summary and next step

Self-managed servers, containers, OCI Base Database Service, Autonomous AI Database, and Exadata-based offerings can all involve Oracle Database, but they move patching, infrastructure, host access, HA, storage, and monitoring responsibilities differently. A container makes a great lab only when persistent data and backup are explicit. Lesson 4 now provisions Oracle AI Database Free and proves the listener/service/session path instead of assuming that a successful installer means the environment is correct.

Check your understanding

  1. Why does running Oracle in a VM not make it a managed database service?
  2. What exactly does a Docker volume protect you from, and what does it not protect you from?
  3. How does Autonomous AI Database change the operator boundary compared with a self-managed host?
  4. Why can’t a SQL query alone reliably prove that the database is running on Exadata or OCI?
  5. Name three later topics that can be studied locally even when their production topology is not locally reproducible.
Review the answers

A VM virtualizes hardware, but your team can still own the OS, Oracle Home, listener, patching, backups, and database lifecycle.

A persistent volume preserves database files when a container is replaced. It does not protect against logical deletion, corruption, ransomware, or every host/storage failure, so backup/restore remains separate.

Autonomous shifts more infrastructure and database lifecycle work to Oracle and intentionally reduces host-level administration; application/data governance responsibilities remain with the customer.

Database-side views expose database/session/platform facts but not every external control-plane or engineered-system fact. Combine them with host/service evidence.

Examples include SQL/PLSQL, CDB/PDB/service concepts, optimizer basics, local RMAN fundamentals, and Data Guard/RAC architecture analysis with simulation rather than a real cluster.

Authoritative references

Keep knowledge open

Help the academy stay free and grow.

If these tutorials save you time, a small donation supports new lessons, technical review, diagrams, examples, and long-term maintenance.

ETHEthereum / ERC-20 only
0x716c4Ab160C4B66F31a28AE2448BfF68fc3a2ef0

Send only Ethereum or ERC-20 compatible assets to this address.