What Actually Happens Inside Oracle Autonomous AI Database 26ai? Under the Hood | ExaGuru
Oracle Cloud Database · Under the Hood

What Actually Happens Inside Oracle Autonomous AI Database 26ai?

You click "Create," and minutes later a production-ready database appears — encrypted, backed up, and tuned. Here is the complete journey of what really runs behind that one button.

Topic: ADB Internals
Read: ~16 min
Audience: DBAs, Architects
Level: Intermediate

Creating an Oracle Autonomous Database takes only a few clicks. You pick a workload type, name the database, choose the number of CPUs, and hit "Create." Minutes later, Oracle hands you a production-ready database that is already encrypted, backed up, monitored, and tuned. It almost feels like magic.

It isn't. Behind that simple screen, Oracle Autonomous Database runs dozens of automated tasks that once needed a small army — sysadmins, storage engineers, network teams, and database specialists. Before your first query ever runs, Oracle has provisioned Exadata resources, allocated compute, configured storage, enabled encryption, wired up monitoring, scheduled backups, and started watching the workload.

Let's follow the whole journey and see what really happens under the hood.


01 · What happens immediately after you click "Create"?

Quick answer

The console never talks to a database server directly — it fires a signed HTTPS REST API call to the OCI Control Plane, which validates your quota, IAM, and topology, then orchestrates the entire deployment through asynchronous microservices.

The moment you hit the final confirmation button in the OCI Console, a layered workflow kicks off. Your browser doesn't reach into a database — it sends a signed HTTPS REST request to the OCI Control Plane, the brain of cloud operations.

Its first job is resource validation. It checks your tenancy's service limits, your IAM policies, and your compartment quotas. Ask for 16 OCPUs, and the Control Plane confirms both that your subscription allows it and that the region actually has the physical capacity to back it.

Once you clear that gate, the request moves into the Service Provisioning Engine. This is where a high-level request — say, "Autonomous Data Warehouse, 16 OCPUs, 5 TB" — gets decomposed into a precise physical blueprint:

  • Cell placement — it picks the optimal Exadata rack (Quarter, Half, or Full) inside the chosen Availability Domain or Cloud@Customer topology that fits your workload type.
  • Resource reservation — it carves fractional chunks of memory, CPU threads, and flash cache out of the multi-tenant pool.
  • Topology deployment — it talks to the already-running Oracle Grid Infrastructure on the physical Exadata nodes to spin up an isolated Pluggable Database (PDB) inside a containerized architecture.

All of this runs through internal asynchronous microservices, which is why your API call returns quickly while the deep, multi-minute infrastructure routines grind away underneath.

OCI CONSOLE / API CLIENT Administrator clicks "Create Autonomous Database" Signed HTTPS REST API request OCI CONTROL PLANE Validates tenancy quota · IAM policies · compartment limits · topology Orchestrates multi-tenant placement EXADATA / GRID INFRASTRUCTURE Cell placement · resource reservation · ASM disk groups Creates PDB · configures VCN & KMS AUTONOMOUS DATABASE — READY Encrypted · backed up · monitored · tuned Asynchronous microservices decouple the API call from the multi-minute build below

Figure 1 · From button click to a ready Autonomous Database


02 · How does Oracle provision infrastructure automatically?

Quick answer

Oracle doesn't install anything from scratch. It carves compute, storage, and networking out of a pre-provisioned, highly available Exadata pool using multitenant architecture and software-defined networking — turning weeks of manual work into minutes.

Setting up a comparable enterprise database by hand used to take weeks. Someone had to rack servers, configure the SAN, zone fibre channels, set up ASM, partition disks, and wire the cluster network. ADB deletes that entire pipeline by leaning on pre-provisioned, hyper-converged Exadata infrastructure managed by an automated software layer.

When the Control Plane approves your request, it targets an existing, highly available Exadata pool. Instead of installing software, Oracle combines multitenant architecture with OCI's internal software-defined networking (SDN). Three things get allocated:

Compute allocation

The system assigns OCPUs — each equal to one hyperthreaded physical core, or two hardware threads — from the Exadata DB Nodes. Memory scales strictly in proportion to the OCPUs, carving defined boundaries in RAM for the SGA and PGA.

Storage allocation

Storage isn't raw block volumes. ADB taps Exadata Storage Servers through Oracle ASM, requesting space from huge, pre-configured ASM disk groups. Space is carved at the ASM allocation-unit level, so your data files are instantly distributed, balanced, and mirrored across every physical storage cell in the rack.

Network configuration

To enforce hard tenant isolation, OCI attaches the new database to a secure virtual network interface. It configures SCAN listeners, sets up virtual firewall rules (Security Lists and Network Security Groups), and maps routing so your credentials — wallet or walletless TLS — resolve the target PDB securely over the OCI network fabric.


03 · How does Autonomous Database manage resources automatically?

Quick answer

Resource allocation is fully dynamic. When you scale OCPUs, OCI resizes the Linux cgroups, an Oracle background daemon rebalances SGA and PGA memory on the fly, and Exadata IORM re-prioritizes storage — no init.ora edits, no downtime.

Traditional DBAs spend a big chunk of their week nudging init.ora parameters like SGA_TARGET, PGA_AGGREGATE_TARGET, and PROCESSES to keep pace with shifting workloads. In ADB, that's all handled internally by an integrated Resource Manager working alongside the OCI hypervisor layer.

Scale from 4 OCPUs to 8, and the Control Plane rewrites the Linux control groups (cgroups) assigned to your database container. The OS immediately lets the database processes consume more CPU cycles across the physical cores.

At the same time, an internal Oracle daemon notices the change and issues dynamic ALTER SYSTEM commands under the hood to adjust memory. It reallocates between the buffer cache and the shared pool so your new CPU headroom isn't strangled by an undersized SGA.

Exadata I/O Resource Management (IORM) updates too. When several tenant databases share a rack, IORM reads the new OCPU profile and programmatically scales that database's share of flash cache, NVMe IOPS, and network bandwidth down at the storage cells. That's what guarantees workload isolation and kills the classic "noisy neighbour" problem.


04 · How does Auto Scaling actually work?

Quick answer

When sustained CPU crosses a threshold, ADB instantly expands its cgroup limits up to 3× the baseline OCPUs, rebalances memory, and rescales IORM — with no reboot, no migration, and no dropped connections. You only pay for the OCPU-hours you burn during the spike.

Picture an e-commerce platform during a flash sale. Transactions spike 300%. On traditional hardware, the CPUs saturate, connections time out, and the app starts failing. With Auto Scaling enabled, ADB simply scales up to three times its baseline CPU count — no downtime, no drama.

WORKLOAD SPIKE DETECTED CPU sustains high threshold CGROUP EXPANDS CPU OS unlocks up to 3× OCPUs SGA / PGA REBALANCED Memory adjusted live IORM SCALES IOPS Flash cache & bandwidth up QUERY HANDLED Zero latency no downtime SCALE DOWN Back to baseline pay per OCPU-hour No server reboot · no instance migration · no dropped sessions

Figure 2 · The Auto Scaling workflow — detect, expand, absorb, scale back

The workflow, step by step

  1. Continuous metric evaluationInternal monitors check CPU utilization every second. When the average sustains a high threshold, ADB recognises a burst.
  2. Instant core unlockingBecause the database sits on an elastic Exadata pool, the OS cgroup limits expand immediately. A 4-OCPU baseline can stretch its utilization boundary up to 12 OCPUs.
  3. Transparent executionNo reboot, no migration, no dropped connections. Existing sessions keep running and start consuming the new CPU threads right away.
  4. Storage auto-scalingIf storage auto-scaling is on and a big data load nears your limit, the system provisions more allocation units from the ASM disk group automatically.
  5. Scale down & cost controlOnce the spike passes and CPU settles for a sustained period, the cgroup limits contract back to baseline. Billing charges only for the OCPU-hours you actually burned during the burst.

05 · How does Oracle automatically optimize performance?

Quick answer

ADB tunes itself on a continuous feedback loop — a machine-learning engine tests candidate indexes invisibly every 15 minutes, gathers statistics in real time during DML, and offloads heavy scans to Exadata storage cells so only the result set travels back.

This is the part that feels closest to magic: the database tunes itself. It offloads the manual grind of rebuilding indexes, rewriting SQL, gathering stats, and hand-crafting execution plans by pairing Exadata's hardware with an internal machine-learning optimization engine. Tuning runs on a continuous feedback loop.

1. Automatic Indexing

Instead of writing scripts to hunt down missing or redundant indexes, ADB runs an automated pipeline every 15 minutes. If an index actually helps, it stays. If it doesn't, the engine drops it.

  1. CaptureMonitors the workload and records SQL statements, execution plans, and performance history into a local repository.
  2. IdentifyUses ML to spot candidate indexes that could accelerate slow queries.
  3. VerifyCreates candidates as invisible/unusable structures, then test-runs the SQL in the background — comparing performance with and without them.
  4. DecideIf a candidate delivers a verifiable, across-the-board boost, it becomes visible. If it helps nothing or hurts, it's dropped.

2. Statistics & query optimization

Overnight batch windows for gathering table statistics are a thing of the past. ADB gathers stats in real time — as INSERT, UPDATE, and DELETE statements execute, Oracle updates statistics on the fly during the DML itself. The cost-based optimizer always works with accurate data distributions, so it avoids the bad plans that stale statistics cause.

3. Smart Scan & SQL offloading

At the hardware layer, ADB leans on Exadata's Smart Scan. Run an analytics query across millions of rows, and the compute node doesn't drag every block into local RAM. It pushes the evaluation straight down to the Exadata Storage Cells. The storage servers filter out unneeded columns and rows right at the NVMe flash layer, then return only the result set over the high-speed RDMA-over-Converged-Ethernet (RoCE) fabric.


06 · How does ADB manage workloads without manual intervention?

Quick answer

Applications connect through predefined database services — TPURGENT, TP, HIGH, and LOW — each mapped to a resource profile. The internal Resource Manager uses those service names to control CPU priority, memory, and parallelism, so OLTP and analytics never starve each other.

When transactional (OLTP) queries and heavy analytics run inside the same instance, they'll happily fight over shared resources. ADB defuses that out of the box with pre-configured, consumer-group-driven workload management. Applications don't connect with one generic string — they choose from predefined services, each mapped to a resource profile.

APPLICATION CONNECTIONS TPURGENT High-priority OLTP · no parallelism · highest CPU share TP Standard OLTP · no parallelism HIGH Heavy analytics · high parallelism · shared resources LOW Batch jobs & reports · no parallelism · capped CPU Resource Manager uses the service name to control CPU priority, memory, and concurrency

Figure 3 · Connection service tiers and their resource profiles

The internal Resource Manager uses these service names to control the split three ways:

  • CPU scheduling — if a HIGH query tries to hog every cycle, the Resource Manager still gives TPURGENT transactions immediate priority, so transaction processing doesn't stall.
  • Memory managementHIGH and MEDIUM connections get larger PGA slices for the sorts and hash joins that analytics love.
  • Parallelism throttlingHIGH enables parallel execution to return big datasets fast, while TP and TPURGENT stay single-threaded — letting thousands of short transactions run at once without queueing for a slot.

07 · What happens after the database is deployed?

Quick answer

The automation never stops. ADB keeps running backups, self-heals block corruption and node failures, and applies patches in a rolling fashion — all in the background, long after the status turns green.

The work doesn't end when the status turns to a green "Available." Oracle Autonomous Database manages the whole operational lifecycle on an ongoing basis, entirely in the background.

Automatic backups

No crontab entries, no custom RMAN scripts. ADB takes full backups weekly, differential backups daily, and archive-log backups every few minutes. They live in a durable, redundant Object Storage pool outside your tenancy, are retained for 60 days, and support point-in-time recovery down to the exact second.

Continuous monitoring & self-healing

The database is wired into OCI's monitoring infrastructure. If a block corrupts, an automated process reads the block from an active mirror or an online backup and repairs it without interrupting the application. If a physical node fails, Grid Infrastructure shifts sessions to a healthy node in the Exadata cluster, keeping the service available.

Automated rolling patching

Security updates, time-zone upgrades, and quarterly Release Updates apply themselves. The OCI orchestration layer patches node by node — while Node A updates, Node B keeps serving connections. When A finishes, Application Continuity moves the sessions back seamlessly, so critical security work lands with zero downtime.


08 · Common misconceptions about ADB

As teams move cloud-native, a few myths about what ADB is — and isn't — keep circulating. Here's the reality on each.

The misconception The reality
"It's just standard Oracle Database on an OCI VM." A VM makes you manage the OS, storage, and clustering. ADB is a containerized, serverless database ecosystem on dedicated Exadata bare metal, with deep integration across OCI, Grid Infrastructure, and Multitenant.
"Oracle has an army of DBAs managing my database by hand." No human watches your queries or applies your patches. It's all code — software algorithms, OCI control planes, and internal daemons handle indexing, scaling, backups, and patching programmatically.
"Auto Scaling is unlimited, so I can skip capacity planning." Auto Scaling bursts up to 3× your baseline OCPUs, capped by the physical limits of the Exadata pool. It absorbs temporary spikes — it doesn't replace baseline sizing for sustained load.
"Automatic Indexing removes the need for SQL tuning." It fixes missing access paths, not bad code. Unoptimized subqueries, cartesian joins, and poor patterns still run badly. Good SQL and schema design stay on the developer.
"Automation means I lose control of my database." Oracle owns the infrastructure; you still own schema design, indexing policy, access control, data modeling, optimizer hints, and maintenance windows. Automation removes toil, not control.

09 · Enterprise best practices

To get the most performance, security, and cost-efficiency out of production ADB, architects should build in these habits from day one.

  1. Match the workload type accuratelyPick ATP for transactional systems (memory tuned for quick row lookups) and ADW for analytics (columnar storage, aggressive flash-cache use).
  2. Enable CPU Auto Scaling safelyKeep it on for unpredictable traffic. Set your baseline OCPUs to your average daily load and let the system burst during peaks.
  3. Leverage Application ContinuityConfigure your connection pools (UCP, JDBC, OCI drivers) to replay in-flight transactions transparently during failover or rolling patches.
  4. Enforce strict network isolationAvoid public IPs on production databases. Deploy inside a Private Endpoint in your VCN and restrict traffic with Network Security Groups.
  5. Monitor with OCI Database ManagementEven with auto-tuning, watch application-level metrics — track SQL trends, session patterns, and wait events in Performance Hub.

10 · The deployment checklist

Before you move enterprise apps to production on ADB, run through this list.

  • Workload selection: Correct type chosen — ATP for OLTP, ADW for analytics, or AJSON for document stores?
  • Auto Scaling: CPU Auto Scaling enabled to absorb unexpected production bursts?
  • Baseline sizing: Baseline OCPU and storage calculated from historical workload data?
  • Network topology: Deployed via a Private Endpoint inside the secure VCN?
  • Access control (IAM): Policies configured to restrict database deletion and modification rights?
  • Connection strings: Components using the right service tier (HIGH, MEDIUM, TP, or TPURGENT) for their profile?
  • Application Continuity: Timeout and retry logic set up to survive zero-downtime rolling patches?
  • Encryption keys: Decided between Oracle-managed keys and customer-managed keys (CMK) via OCI Vault?
  • Backup verification: Retention needs verified and long-term archiving configured if required?

11 · The short version — 8 things to know

  1. Automated orchestrationADB provisions infrastructure, networking, storage, and database services through OCI microservices.
  2. Exadata powerhouseThe OCI Control Plane orchestrates the deployment; Exadata provides the high-performance hardware foundation.
  3. Dynamic resource controlResource Manager continuously allocates CPU, memory, and storage to match the workload.
  4. On-demand auto scalingCompute scales up and down for changing load without downtime or manual work.
  5. Machine-learning tuningML analyses activity nonstop to improve SQL via automatic indexing and real-time statistics.
  6. Continuous operationsBackups, patching, monitoring, and security updates run automatically across the lifecycle.
  7. A shift in administrationYou keep owning business logic, schemas, security, and design; Oracle automates the repetitive infrastructure work.
  8. An active platformADB isn't a one-time deployment tool — it provisions, monitors, optimizes, secures, scales, and maintains itself continuously.
The real innovation isn't that Oracle Autonomous Database creates databases automatically — it's that the automation never stops. From provisioning to recovery, Oracle keeps managing the platform so you can build applications instead of babysitting infrastructure.

12 · Frequently Asked Questions

1. Can I disable automatic indexing if it interferes with my manual tuning?

Yes. It's on by default, but you can change its behaviour with the DBMS_AUTO_INDEX.CONFIGURE package — set it to REPORT ONLY to evaluate recommendations without implementing them, or turn it off entirely.

2. How does Autonomous Database handle time zone updates?

Automatically, during scheduled maintenance windows. The platform tests compatibility and rolls the update out node by node — no manual work from your team.

3. What happens if my database exceeds its provisioned storage capacity?

With storage auto-scaling enabled, it expands dynamically up to 3× the baseline size. With it disabled, the database rejects new writes once it hits the limit until you add storage or free space.

4. Is all data encrypted inside Oracle Autonomous Database?

Yes, and it can't be turned off. Data at rest uses Transparent Data Encryption (TDE); data in transit uses TLS/mTLS.

5. Can I use traditional database links (DBLINKS) with Autonomous Database?

Yes. You can link an ADB instance to other cloud or on-premises databases, as long as the routing, security lists, and gateways allow secure communication.

6. How frequently does Autonomous Database back up my transaction logs?

Archive logs are backed up every 15 minutes, keeping point-in-time recovery precise and your RPO close to zero.

7. Does Autonomous Database support third-party monitoring tools?

Yes. Alongside built-in Performance Hub and Database Management, you can export metrics to third-party tools via OCI monitoring APIs, logging services, or secure database connections.

8. Can I schedule exactly when automated patching occurs?

Yes. Patching is automated, but you pick the maintenance window — choose your preferred day and start time in the OCI Console.

ExaGuru — Oracle Cloud Training & Consulting
Exadata · ExaCC/ExaCS · OCI · Oracle DB Migration · Fusion ERP/HCM · Oracle Database 23ai & AI
Contact: +91-6394049607 · +91-9161111705
© 2026 ExaGuru. All rights reserved.