Expecting cloud virtual machine block storage to perform identically to engineered database hardware is an operational fallacy; bridging the performance divide across AWS, Azure, and Exadata requires designing storage topologies around physical I/O boundaries.

TL;DR

  • Problem: Cloud VMs fetch every 8 KB block over virtualized storage networks and enforce separate VM-level and volume-level bandwidth ceilings, breaking workloads migrated from Exadata Smart Scan.
  • Answer: Replace manual disk selection with a declarative Storage Compiler that segregates +RECO onto io2 Block Express or Azure Ultra Disk, stripes +DATA across four gp3 or Premium SSD v2 volumes in ASM, and routes heavy analytical scans to Exadata.
  • Watch out: Provisioning fast disks on an undersized VM shape triggers silent hypervisor throttling, and enabling host caching on Azure ASM disks risks silent block corruption.

Comparison of OCI Exadata Cell Offload, AWS EC2 Block Storage, and Azure VM Managed Disks

Situation

Heterogeneous database estates rarely live on a single cloud provider. Analytical data warehouses often run on Oracle Cloud Infrastructure (OCI) Exadata Database Service, transactional payment services on Amazon Web Services (AWS) EC2, and enterprise resource planning (ERP) workloads on Microsoft Azure Virtual Machines.

In an on-premises data center, storage performance was governed by dedicated Storage Area Network (SAN) administrators carving Fibre Channel LUNs from shared all-flash arrays. In the public cloud, storage architectures diverge across three distinct physical models:

  1. OCI Exadata Cloud Service: Combines scale-out database compute nodes with intelligent storage cell servers over a 100 Gbps RDMA over Converged Ethernet (RoCEv2) fabric. Exadata pushes SQL predicates, column projections, Storage Index lookups, and Hybrid Columnar Compression (HCC) decompression down to the storage cell processors (Smart Scan), returning only matching rows rather than raw 8 KB database blocks.
  2. AWS EC2 with Amazon EBS: Attaches network-backed block volumes over AWS Nitro NVMe-over-Fabrics. General Purpose SSD (gp3) provides a flat baseline of 3,000 IOPS and 125 MiB/s with independent scaling up to 80,000 IOPS and 2,000 MiB/s per volume. Provisioned IOPS SSD (io2 Block Express) scales up to 256,000 IOPS and 4,000 MiB/s with 99.999% durability.
  3. Microsoft Azure Virtual Machines: Attaches Azure Managed Disks over a virtualized storage plane. Premium SSD v2 provides a free baseline of 3,000 IOPS and 125 MB/s and scales independently up to 80,000 IOPS and 2,000 MB/s. Azure Ultra Disk scales up to 400,000 IOPS and 10,000 MB/s for latency-sensitive transaction logging.
Provider & TierArchitecture ModelSingle-Disk Max IOPSSingle-Disk Max ThroughputQuery Processing Model
OCI Exadata Storage CellsDistributed Storage SiliconMillions across cell busRoCEv2 fabric boundCell Smart Scan Offload
AWS EBS io2 Block ExpressNetwork NVMe-oF256,000 IOPS4,000 MiB/sHost-Level Block Fetch
AWS EBS gp3 VolumesNetwork NVMe-oF80,000 IOPS2,000 MiB/sHost-Level Block Fetch
Azure Premium SSD v2Software-Defined Disk80,000 IOPS2,000 MB/sHost-Level Block Fetch
Azure Ultra DiskLow-Latency NVMe LUN400,000 IOPS10,000 MB/sHost-Level Block Fetch

When platform teams expose raw cloud disk APIs to application engineers without guardrails, teams size storage by capacity alone and ignore physical I/O boundaries.

The Problem

Application engineers reason in SQL semantics and business transaction rates, not hypervisor queue depths, NVMe packetization overhead, or storage cell offloading. Without an abstraction layer enforcing physical constraints, three operational failure patterns emerge.

Constraint 1: Host-Level Block Fetch vs. Cell Offload. Exadata evaluates WHERE predicates inside the storage cell servers (cell smart table scan). If a 10 TB table scan filters down to 200 GB of matching rows, Exadata transfers 200 GB across the RoCEv2 fabric. On AWS EC2 or an Azure VM, there is no storage-tier SQL offload; the database host must pull all 10 TB of raw 8 KB blocks over the virtualized network interface. On an Azure Standard_E32-8s_v5 VM, whose sustained uncached disk throughput ceiling is 865 MB/s, transferring 10 TB (10,000,000 MB / 865 MB/s) requires at least 11,560 seconds—roughly 3.2 hours—of pure disk transfer before accounting for CPU evaluation or concurrent queries.

Constraint 2: Dual-Constraint Hypervisor Ceilings. Cloud hypervisors enforce two independent storage limits: the volume limit and the VM instance limit. Effective throughput is always min(sum of attached disk limits, VM uncached limit). An engineer can attach an Azure Premium SSD v2 volume provisioned for 60,000 IOPS and 1,000 MB/s to a Standard_E8s_v5 VM. Because Standard_E8s_v5 caps sustained uncached disk performance at 12,800 IOPS and 290 MB/s, the hypervisor throttles every read above 290 MB/s. Oracle sessions stall on db file sequential read while the organization pays for 710 MB/s of disk throughput the VM cannot physically consume.

Constraint 3: Redo Log Commit Queue Contention (log file sync). Oracle transactional commit latency depends on the Log Writer (LGWR) flushing sequential redo entries via log file parallel write. When +RECO (redo logs) shares a single gp3 or Premium SSD v2 volume with +DATA (random-access table and index blocks), checkpoint flushes and parallel queries saturate the shared disk queue. Redo writes queue behind bulk reads, causing log file sync waits to climb and upstream application connection pools to exhaust.

VM hypervisor ceilings silently throttle over-provisioned disks

How can platform teams build an automated storage vending plane that maps application SLAs to cloud-native topologies without violating VM ceilings or mixing I/O profiles?

Options Considered

Platform teams typically evaluate four storage architectures when standardizing Oracle deployments across AWS, Azure, and OCI.

OptionRedo IsolationScan BandwidthCost ProfileVerdict
1. Single shared gp3 or Premium SSD v2None (+DATA and +RECO share queue)Bounded by single disk and VMLowestRejected: batch I/O stalls LGWR commits
2. All-io2 or All-Ultra Disk topologyIsolated only if separate volumes usedHigh, up to VM ceilingHighestRejected: overpays for cold datafile IOPS
3. Segregated +RECO + 4x ASM-striped +DATADedicated io2 or Ultra DiskScales linearly across 4 LUNs to VM capBalancedChosen for Cloud IaaS OLTP
4. OCI Exadata or Oracle Database@Azure/AWSExadata Smart Flash LoggingCell Smart Scan offloadPremiumChosen for DW-Throughput-Heavy SLAs

Option 1 (Single Shared Pool) minimizes Terraform complexity by attaching one large volume for all ASM diskgroups. It fails under mixed workloads because Oracle’s sequential LGWR writes compete with random DBWn flushes and full table scans on the same NVMe queue.

Option 2 (All-Ultra / All-io2) places both +DATA and +RECO on top-tier provisioned IOPS volumes. While latency is predictable, paying Ultra Disk or io2 per-IOPS rates for multi-terabyte historical tables that only require sequential throughput inflates monthly storage spend without improving OLTP commit times.

Option 3 (Segregated Redo + ASM-Striped Data) isolates +RECO on a small, dedicated io2 Block Express or Azure Ultra Disk volume and stripes +DATA across four gp3 or Premium SSD v2 volumes using Oracle Automatic Storage Management (ASM). This matches each volume tier to its exact I/O pattern.

Option 4 (Exadata Smart Scan) routes analytical workloads with multi-terabyte scan requirements to OCI Exadata Database Service or native Exadata deployments inside Azure and AWS (Oracle Database@Azure and Oracle AI Database@AWS), avoiding the host-level block-shipping bottleneck altogether.

Segregating redo from striped data balances cost and latency

The Storage Vending Abstraction Architecture

To enforce these choices consistently, the platform exposes a declarative Database Vending Control Plane implemented with Terraform modules and policy checks (via Open Policy Agent or Crossplane compositions). Application teams never pick EBS volume types, Azure LUN caching flags, or ASM allocation units. Instead, they submit a declarative storage claim containing capacity and one of three I/O SLAs:

  • OLTP-Latency-Critical: Prioritizes sub-millisecond LGWR commit latency and high random-read concurrency.
  • DW-Throughput-Heavy: Prioritizes multi-gigabyte-per-second sequential scan bandwidth and predicate offload.
  • Balanced-Standard: Cost-optimized baseline for non-production or low-concurrency transactional services.

Storage compiler maps SLA claims to cloud topologies

flowchart TD
    subgraph Developer Self-Service Tier
        A[Developer Manifest: Storage Claim — 5TB, SLA=OLTP-Latency-Critical]
    end

    subgraph DBaaS Control Plane — Storage Compiler
        A --> B[Platform Storage Compiler API]
        B --> C{Evaluate Target Cloud Environment}
    end

    subgraph AWS Storage Plane Topology
        C -->|Target AWS| D[Provision EC2 Memory-Optimized Shape]
        D --> E[Isolate Redo: io2 Block Express 10K IOPS]
        D --> F[Stripe Data: 4x gp3 Volumes across ASM +DATA]
        D --> G[Assert VM EBS Throughput > 1500 MB/s]
    end

    subgraph Azure Storage Plane Topology
        C -->|Target Azure| H[Provision Constrained-Core E32-8s VM]
        H --> I[Isolate Redo: Azure Ultra Disk Sub-Millisecond]
        H --> J[Stripe Data: 4x Premium SSD v2 across ASM +DATA]
        H --> K[Assert VM Uncached Cap >= 865 MB/s]
    end

    subgraph OCI Engineered Systems Topology
        C -->|Target OCI| L[Provision Exadata Database Service]
        L --> M[Enable Cell Smart Scan Offloading]
        L --> N[Configure Smart Flash Logging for Redo]
        L --> O[Enable Hybrid Columnar Compression]
    end

Core Storage Compiler Rules

  1. Strict I/O Profile Segregation: The compiler never colocates +RECO and +DATA on the same physical disk tier in production cloud IaaS. Redo logs receive dedicated io2 Block Express (AWS) or Ultra Disk (Azure) LUNs with independent queue depths.
  2. Algorithmic ASM Striping: Striping +DATA across four gp3 or Premium SSD v2 volumes distributes I/O across multiple virtualized controller queues and allows the control plane to scale aggregate IOPS and bandwidth cleanly up to the VM’s ceiling. Setting au_size = 4M with COARSE striping places one 4 MB Allocation Unit per LUN in round-robin order, keeping single-block OLTP reads on one volume while spreading multi-block sequential scans and RMAN backups across all four volumes. By contrast, FINE striping splits each 1 MB unit into 128 KB chunks across every disk, which is reserved for latency-sensitive redo logs when striping is used.
  3. Hypervisor Capacity Assertions: Before running terraform apply, the compiler validates that the target compute shape’s sustained EBS bandwidth (AWS) or uncached disk limit (Azure) exceeds the aggregate provisioned throughput of all attached disks. On AWS, an r6i.16xlarge provides 20 Gbps of dedicated EBS bandwidth, 80,000 IOPS (at 16 KiB), and 2,500 MB/s (roughly 2,384 MiB/s) of throughput—enough to absorb a 2,000 MiB/s striped +DATA pool plus a 10,000 IOPS +RECO volume without instance-level queuing. On Azure, constrained-vCPU shapes such as Standard_E32-8s_v5 provide 256 GiB of memory and 51,200 uncached IOPS (865 MB/s sustained, 2,000 MB/s burst) while keeping active vCPUs at 8 for Oracle processor licensing.
  4. Smart Scan Routing for Analytical SLAs: When a claim specifies DW-Throughput-Heavy and exceeds single-VM block-fetch thresholds, the compiler routes placement to OCI Exadata Database Service or native Exadata racks in Azure/AWS.
Target Cloud & TierRedo Storage (+RECO)Data Storage (+DATA)VM & Striping Guardrail
AWS EC2 (OLTP-Latency-Critical)io2 Block Express (10,000 IOPS)4x gp3 striped (2,000 MB/s agg.)ASM au_size = 4M; EBS-optimized r6i shape
Azure VM (OLTP-Latency-Critical)Azure Ultra Disk (15,000 IOPS)4x Premium SSD v2 (1,600 MB/s agg.)Standard_E32-8s_v5 or larger; caching = "None"
OCI Exadata (DW-Throughput-Heavy)Exadata Smart Flash LoggingHigh Capacity Storage CellsSmart Scan + HCC enabled
AWS / Azure (Balanced-Standard)Dedicated baseline gp3 / Prem v2Single or 2x gp3 / Prem v2Non-production baseline with TTL

How It Rolls Out

Deploying a storage topology through the vending plane follows four sequential gates, each with an explicit validation check and rollback point before application traffic reaches the database.

Four-gate rollout validates I/O before database open

  1. Gate 1 — Pre-Flight Quota & Shape Assertion: The compiler evaluates sum(disk_iops) <= vm_uncached_iops and sum(disk_mbps) <= vm_uncached_mbps, and verifies availability zone alignment (UltraSSD_LRS and PremiumV2_LRS require an explicit zone). Rollback: fail CI pipeline before any cloud API call.
  2. Gate 2 — Declarative Disk Provisioning: Terraform provisions the VM, the dedicated +RECO volume, and the four +DATA volumes, enforcing caching = "None" on all Azure ASM attachments and KMS encryption on AWS EBS volumes. Rollback: terraform destroy cleans up unformatted volumes.
  3. Gate 3 — ASM Diskgroup Initialization: The host bootstrap playbook maps persistent device paths (via udev rules or LUN symlinks) and executes CREATE DISKGROUP with EXTERNAL REDUNDANCY and 'au_size' = '4M', keeping cloud-native triple replication at the block layer rather than double-mirroring in ASM. Rollback: DROP DISKGROUP ... INCLUDING CONTENTS.
  4. Gate 4 — Synthetic I/O Calibration: Before opening the database to application workloads, the pipeline runs Oracle ORION (against raw ASM LUNs prior to database creation) or DBMS_RESOURCE_MANAGER.CALIBRATE_IO (inside the opened instance) to measure sustained IOPS, MB/s, and single-block read latency against the SLA claim. Because CALIBRATE_IO issues asynchronous random 8 KB reads and sequential 1 MB reads across all datafiles, any mismatch between provisioned disk limits and the VM hypervisor ceiling surfaces immediately as a plateau below the expected aggregate MB/s. Rollback: quarantine the instance and resize the VM shape if hypervisor throttling is detected.

In Practice

Based on documented AWS EBS, Azure Managed Disks, and Oracle ASM behavior, the storage compiler codifies these rules directly in Terraform and asmcmd templates. Notice that on Azure, both UltraSSD_LRS and PremiumV2_LRS require an availability zone and caching = "None" on the attachment.

1. AWS Striped EBS Storage Module

# modules/aws_oracle_storage/main.tf
resource "aws_ebs_volume" "oracle_redo_volume" {
  availability_zone = "us-east-1a"
  size              = 250
  type              = "io2"
  iops              = 10000
  encrypted         = true
  kms_key_id        = var.kms_key_arn
  tags              = { Name = "vol-oracle-reco-01", Diskgroup = "RECO" }
}

resource "aws_ebs_volume" "oracle_data_volumes" {
  count             = 4
  availability_zone = "us-east-1a"
  size              = 1250 # 4 x 1,250 GiB = 5,000 GiB (+DATA)
  type              = "gp3"
  iops              = 12000
  throughput        = 500  # 4 x 500 = 2,000 MiB/s aggregate
  encrypted         = true
  kms_key_id        = var.kms_key_arn
  tags              = { Name = "vol-oracle-data-${count.index + 1}", Diskgroup = "DATA" }
}

2. Azure Decoupled Premium SSD v2 and Ultra Disk Module

# modules/azure_oracle_storage/main.tf
resource "azurerm_managed_disk" "oracle_ultra_redo" {
  name                 = "disk-oracle-reco-ultra-01"
  location             = var.location
  resource_group_name  = var.resource_group_name
  zone                 = "1"
  storage_account_type = "UltraSSD_LRS"
  create_option        = "Empty"
  disk_size_gb         = 256
  disk_iops_read_write = 15000
  disk_mbps_read_write = 500
}

resource "azurerm_managed_disk" "oracle_data_v2" {
  count                = 4
  name                 = "disk-oracle-data-v2-${count.index + 1}"
  location             = var.location
  resource_group_name  = var.resource_group_name
  zone                 = "1"
  storage_account_type = "PremiumV2_LRS"
  create_option        = "Empty"
  disk_size_gb         = 1250
  disk_iops_read_write = 20000
  disk_mbps_read_write = 400 # Size VM uncached limit >= aggregate target
}

resource "azurerm_virtual_machine_data_disk_attachment" "data_attach" {
  count              = 4
  managed_disk_id    = azurerm_managed_disk.oracle_data_v2[count.index].id
  virtual_machine_id = var.vm_id
  lun                = 20 + count.index
  caching            = "None" # Required to prevent ASM direct I/O bypass
}

3. Oracle ASM Diskgroup Creation

-- Executed via SQL*Plus as SYSASM
CREATE DISKGROUP DATA EXTERNAL REDUNDANCY
  DISK
    '/dev/oracleasm/by-lun/lun-20',
    '/dev/oracleasm/by-lun/lun-21',
    '/dev/oracleasm/by-lun/lun-22',
    '/dev/oracleasm/by-lun/lun-23'
  ATTRIBUTE
    'au_size' = '4M',
    'compatible.asm' = '19.0.0.0.0',
    'compatible.rdbms' = '19.0.0.0.0';

CREATE DISKGROUP RECO EXTERNAL REDUNDANCY
  DISK '/dev/oracleasm/by-lun/lun-10'
  ATTRIBUTE
    'au_size' = '4M',
    'compatible.asm' = '19.0.0.0.0',
    'compatible.rdbms' = '19.0.0.0.0';

4. Kernel-Level Block Tracing with eBPF

When AWR reports show elevated db file sequential read or log file parallel write times, operators can attach eBPF block-layer tracers such as biolatency or biosnoop (from the BCC / bpftrace toolset) on Linux database hosts to measure latency between block-device submission and completion, separating internal Oracle latch contention from cloud hypervisor throttling.

Where It Breaks

Abstracting storage across multiple clouds introduces failure modes at the hypervisor boundary, the ASM layer, and the query-offload layer.

Where cloud Oracle storage breaks in production

Failure ModeBreaks HowDetectMitigate
Silent VM-Level ThrottlingSum of disk IOPS or MB/s exceeds VM uncached ceiling; hypervisor queues I/O.db file sequential read spikes while disk metrics look idle; VM IOPS cap metric hits 100%.Pre-flight Terraform assertion: sum(disk) <= vm_uncached_limit.
Shared Redo Queue SaturationBatch writes on shared gp3 or Premium v2 exhaust baseline 3,000 IOPS or queue depth.log file sync and log file parallel write top AWR wait events.Isolate +RECO on dedicated io2 Block Express or Azure Ultra Disk.
Azure Host-Cache CorruptionReadOnly or ReadWrite caching on ASM disks breaks direct I/O write ordering on crash.Block corruption errors (ORA-01578) after VM host reboot.Enforce caching = "None" via OPA/Sentinel policy on all ASM LUNs.
ASM Rebalance IOPS StormDisk replacement triggers ASM rebalance at high power, starving OLTP queries.Elevated V$ASM_OPERATION I/O alongside OLTP latency spikes.Throttle with ALTER DISKGROUP DATA REBALANCE POWER 3 off-peak.
Exadata Smart Scan InvalidationUnoffloadable PL/SQL functions in WHERE force fallback to block shipping.Execution plan lacks TABLE ACCESS STORAGE FULL; cell offload bytes drop.Audit plans and rewrite predicates to use offload-eligible SQL.
EBS Volume Detachment LatchingFailover script reattaches EBS volume before dead instance releases it.Cloud API returns VolumeInUseError during automated recovery.Poll detachment state with exponential backoff before attach_volume.

Key Takeaways

  • Cloud block storage cannot offload SQL predicates; full table scans on AWS EC2 or Azure VMs must ship every 8 KB block over the virtualized network, bounded by the VM’s sustained disk ceiling.
  • Effective cloud storage performance is min(sum of attached disk limits, VM uncached limit); sizing disks without sizing the compute shape wastes provisioned IOPS.
  • Isolating +RECO onto dedicated io2 Block Express or Azure Ultra Disk eliminates log file sync stalls caused by bulk +DATA checkpoints and scans.
  • Striping +DATA across four gp3 or Premium SSD v2 volumes in ASM with au_size = 4M and EXTERNAL REDUNDANCY scales throughput cleanly without double-mirroring cloud-replicated storage.
  • Azure UltraSSD_LRS and PremiumV2_LRS disks require an explicit availability zone and caching = "None" on every ASM attachment to prevent direct I/O ordering bugs.

What to Do Next

  • Problem: Treating cloud VM block storage as equivalent to Exadata storage cells causes full-table-scan bottlenecks, silent hypervisor throttling, and log file sync commit stalls.
  • Solution: Build a Storage Compiler module in Terraform that enforces VM-to-disk bandwidth assertions, isolates +RECO onto io2 or Ultra Disk, stripes +DATA across four ASM LUNs, and routes heavy scan workloads to Exadata.
  • Proof: After provisioning, run DBMS_RESOURCE_MANAGER.CALIBRATE_IO and check AWR log file parallel write and db file sequential read wait histograms to confirm measured throughput matches the VM’s uncached ceiling without throttling.
  • Action: Audit your production cloud Oracle AWR reports this week; if log file sync or db file sequential read appears in the top five timed events, verify that +RECO is isolated from +DATA and that sum(disk_mbps) does not exceed your VM shape’s uncached disk limit.