6.3 OCI Managed MySQL & NoSQL Database Services

Key Takeaways

  • MySQL Database Service (MDS) is a fully managed cloud database developed, maintained, and supported 100% by Oracle's MySQL engineering team, providing automated backups, patching, and high availability.
  • MySQL HeatWave is an integrated in-memory query accelerator that eliminates the traditional dual-database dilemma by running OLTP transactions and complex OLAP analytics simultaneously on a single MySQL database without ETL pipelines.
  • HeatWave delivers 100x to 1000x faster query performance than standard MySQL, scales to hundreds of distributed nodes, and includes HeatWave Lakehouse and HeatWave GenAI with in-database vector search and LLM integration.
  • OCI NoSQL Database Cloud Service provides a serverless, multi-model (document, columnar, key-value) database engine with predictable single-digit millisecond latency and On-Demand or Provisioned capacity pricing.
  • Oracle Data Safe provides a unified database security control center across OCI databases to assess configuration posture, evaluate user risk, audit activity, discover sensitive data, and apply data masking.
Last updated: September 2026

6.3 OCI Managed MySQL & NoSQL Database Services

[!NOTE] Foundations Blueprint Focus: Modern enterprise cloud architectures rely heavily on open-source relational databases and schema-flexible NoSQL data stores. The OCI Foundations Associate (1Z0-1085-26) exam tests your understanding of MySQL Database Service (MDS), the revolutionary MySQL HeatWave in-memory query accelerator (and how it eliminates ETL pipelines), OCI NoSQL Database Cloud Service, and Oracle Data Safe security management.

While Oracle Database powers many of the world's largest core banking, ERP, and mission-critical transactional platforms, modern cloud-native architectures frequently leverage open-source relational engines and distributed NoSQL databases. Oracle Cloud Infrastructure delivers first-class, fully managed services for both paradigms, engineered with proprietary performance and security innovations.


MySQL Database Service (MDS)

MySQL Database Service (MDS) is a fully managed database service delivered, maintained, and supported 100% by the original MySQL engineering team at Oracle.

In unmanaged on-premises environments, running MySQL requires system administrators to manually configure operating system packages, tune InnoDB storage parameters, script backup routines, configure replication proxies, and manually execute security updates. MDS eliminates this operational friction:

  • Automated Lifecycle Management: Provisioning, operating system patching, database software updates, and hardware maintenance are automated by Oracle without customer intervention.
  • Automated Backup & Point-in-Time Recovery: Automated daily backups are captured and stored in durable OCI Object Storage with configurable retention periods (up to 35 days). Administrators can perform Point-in-Time Recovery (PITR) to restore database state to any specific second within the retention window.
  • High Availability (HA): MDS supports an automated High Availability configuration utilizing MySQL Group Replication. When enabled, the service provisions three synchronized instances across distinct Fault Domains or Availability Domains. If the primary instance fails, MDS triggers automated, zero-data-loss failover (RPO = 0) with client traffic redirected in seconds (low RTO).

MySQL HeatWave: Solving the Dual-Database Dilemma

For decades, organizations faced the dual-database dilemma: a single relational database could not efficiently handle both high-speed transaction processing (OLTP) and complex analytical business intelligence queries (OLAP).

+-------------------------------------------------------------------------+
|                   TRADITIONAL DUAL-DATABASE DILEMMA                     |
|  +------------+       Complex, Fragile ETL Pipeline      +------------+  |
|  | MySQL OLTP | ======================================> | Analytical |  |
|  | Database   | (Hours of latency, data drift, high cost)| Warehouse  |  |
|  +------------+                                         +------------+  |
+-------------------------------------------------------------------------+

+-------------------------------------------------------------------------+
|                    OCI REVOLUTIONARY MYSQL HEATWAVE                     |
|  +-------------------------------------------------------------------+  |
|  | Single MySQL Endpoint (Standard SQL / Port 3306)                  |  |
|  |   • OLTP Transactions ===> In-Memory InnoDB Storage Engine        |  |
|  |   • OLAP Analytics    ===> Distributed HeatWave In-Memory Cluster |  |
|  | (Zero ETL Pipelines • Real-time Data Sync • 100x-1000x Faster)     |  |
|  +-------------------------------------------------------------------+  |
+-------------------------------------------------------------------------+

The Traditional Approach and Its Costs

To generate analytical reports without grinding operational applications to a halt, IT teams traditionally built complex Extract, Transform, Load (ETL) data pipelines:

  1. Data was extracted from transactional MySQL databases.
  2. Data was transformed and transported across networks into a separate analytical database (such as Snowflake, Amazon Redshift, or Google BigQuery).
  3. The Costs: ETL pipelines introduce hours or days of analytical latency, consume developer time maintaining brittle data pipelines, increase attack surfaces by duplicating data across systems, and inflate cloud bills with duplicate compute and storage fees.

The HeatWave Solution

MySQL HeatWave is a built-in, massively parallel, hybrid in-memory query accelerator integrated natively into MySQL Database Service. It enables organizations to run OLTP transactions and complex OLAP analytics directly against the same MySQL database simultaneously, eliminating the need for ETL pipelines entirely.

  • Unified Application Endpoint: Applications connect to standard MySQL ports using existing MySQL connectors and drivers. Applications issue standard SQL queries without changing application code.
  • Intelligent Query Optimization: The MySQL query optimizer inspects incoming queries in real time. If a query is a standard transactional insert or point update, it routes execution to the standard InnoDB storage engine. If the query contains complex joins, aggregations, or analytical filters, the optimizer automatically offloads execution to the HeatWave in-memory cluster.
  • Real-Time Data Synchronization: Changes made by transactional applications into InnoDB are automatically and immediately synchronized into the HeatWave in-memory cluster memory in real time, guaranteeing that analytical queries always operate on the freshest production data.
  • Extreme Scale & Performance: HeatWave clusters scale up to hundreds of compute nodes. Queries execute up to 100x to 1000x faster than standard MySQL, and 4x to 7x faster than dedicated cloud analytics warehouses at a fraction of the cost.

HeatWave Lakehouse & HeatWave GenAI

  • HeatWave Lakehouse: Enables customers to query hundreds of terabytes of data stored in OCI Object Storage in various file formats (CSV, Parquet, Avro) with the same blistering in-memory query speeds as relational tables.
  • HeatWave GenAI: Integrates native in-database Large Language Model (LLM) processing and vector search. Developers can perform semantic search and generative AI retrieval-augmented generation (RAG) directly within MySQL without moving sensitive data to external AI cloud services.

OCI NoSQL Database Cloud Service

OCI NoSQL Database Cloud Service is a fully managed, serverless database engine built for high-throughput, latency-critical modern web, mobile, gaming, and IoT applications requiring flexible data structures.

Core Architectural Features

  • Multi-Model Data Support: Accommodates multiple modern data models within a single platform:
    • Document Model: Stores and queries unstructured or semi-structured JSON documents with schema flexibility.
    • Columnar / Relational-Style Model: Supports structured tables with defined data types and standard SQL-like querying.
    • Key-Value Model: Provides ultra-fast key-value pair lookups for caching, session stores, and user profiles.
  • Predictable Single-Digit Millisecond Latency: Engineered to deliver deterministic read and write response times (typically under 5 milliseconds) at any throughput scale.
  • Fully Managed & Serverless: There are no virtual machines to configure, software versions to patch, or storage clusters to manage. The service handles sharding, partition distribution, and multi-datacenter data replication autonomously.

Capacity & Pricing Modes

OCI NoSQL Database Cloud Service provides two flexible consumption models:

  1. On-Demand Capacity: A pure serverless execution model where customers pay strictly for the actual read units (RU) and write units (WU) consumed by queries and total gigabytes stored. The service automatically handles unpredictable traffic bursts with zero capacity planning, and incurs zero processing cost during idle periods.
  2. Provisioned Capacity: Customers pre-configure dedicated Read Units per second, Write Units per second, and gigabytes of storage. Highly economical for steady-state applications with predictable, continuous baseline throughput.

Oracle Data Safe: Unified Database Security Control Center

Oracle Data Safe is a comprehensive, centralized cloud security service designed to protect sensitive enterprise data residing in Oracle databases. Data Safe is provided at no additional charge for OCI Oracle databases.

+-------------------------------------------------------------------------+
|                    ORACLE DATA SAFE SECURITY PILLARS                    |
+-------------------+--------------------+--------------------------------+
| SECURITY ASSESS   |  USER ASSESSMENT   |     USER ACTIVITY AUDITING     |
| Evaluates DB      | Identifies high-   | Centralizes audit logs, tracks |
| configs & CIS     | risk users, stale  | DDL/DML changes, and alerts    |
| compliance baselines| accounts & roles | on anomalous security events   |
+-------------------+--------------------+--------------------------------+
| SENSITIVE DATA DISCOVERY               | DATA MASKING                   |
| Scans schemas to identify PII,         | Replaces sensitive data in     |
| financial records, and medical data    | test/dev with realistic mocks  |
+----------------------------------------+--------------------------------+

Data Safe delivers five essential security capabilities:

  1. Security Assessment: Evaluates database parameters, network configurations, user authentication controls, and encryption settings against CIS benchmarks and Oracle best practices, providing actionable remediation guidance.
  2. User Assessment: Analyzes user privileges and roles across database instances. Identifies over-privileged administrative accounts, dormant users who have not logged in for months, and evaluates user risk scores.
  3. User Activity Auditing: Aggregates and analyzes database audit logs from across the fleet into a centralized console. Monitors critical database events (such as schema modifications, privilege escalations, and failed logins) and generates alerts on anomalous activity.
  4. Sensitive Data Discovery: Automatically inspects database data dictionaries and column values using over 125 built-in sensitive data categories (e.g., credit card numbers, national identification numbers, personal identification records, healthcare data) to locate confidential information.
  5. Data Masking: Replaces sensitive data columns with realistic, anonymized mock values for non-production environments (development, staging, testing, analytics). Masks data while preserving format, length, and referential integrity across related tables.

Comprehensive OCI Database Decision Matrix

Selecting the correct database service requires evaluating administrative access needs, performance profiles, data structures, and management preferences:

Database ServiceManagement ModelOS AccessHigh Availability MechanismPrimary Workload & Ideal Scenario
Autonomous Database (ATP / ADW / AJD)Fully Managed (PaaS / Serverless)No OS AccessAutonomous Data Guard & automated node failoverGeneral enterprise applications, BI, data warehouses, and JSON document stores requiring zero DBA maintenance and self-tuning.
Base Database: VM DB SystemCo-ManagedFull Root SSH2-Node Oracle RAC across Fault DomainsApplications requiring root OS access, custom monitoring agents, or specific Oracle software versions with cost-effective VM pricing.
Base Database: Bare Metal DBCo-ManagedFull Root SSHLocal NVMe storage (Single-node)I/O-intensive legacy single-node applications requiring direct silicon performance and locally attached flash storage.
Exadata Database ServiceCo-Managed or DedicatedFull Root SSHMulti-node Oracle RAC + RoCE storage fabricMission-critical enterprise OLTP, massive analytical data warehousing, and large database consolidation with extreme IOPS and Smart Scan.
MySQL Database Service (MDS)Fully ManagedNo OS AccessMySQL Group Replication across Fault DomainsCloud-native web applications, LAMP stacks, and microservices requiring a managed open-source relational engine.
MySQL HeatWaveFully ManagedNo OS AccessIntegrated in-memory distributed clusterReal-time analytics directly on operational MySQL transaction data without building or maintaining external ETL pipelines.
OCI NoSQL Database Cloud ServiceFully Managed (Serverless)No OS AccessMulti-datacenter serverless replicationHigh-velocity web, mobile, gaming, and IoT applications requiring predictable single-digit millisecond latency with JSON/key-value models.
Loading diagram...
MySQL HeatWave Unified OLTP and OLAP Architecture
Test Your Knowledge

A digital media company runs an online publishing application on MySQL. The data science team wants to execute complex analytical reporting queries against the production transactional database in real time without impacting transaction throughput or writing complex ETL pipelines to extract data into a separate data warehouse. Which OCI database solution perfectly addresses this challenge?

A
B
C
D
Test Your Knowledge

A mobile gaming studio is developing a multiplayer leaderboard and player inventory system. The application requires flexible JSON document data structures, predictable sub-5-millisecond read/write latency, and a serverless billing model where costs scale to zero when no active players are online. Which service should they choose?

A
B
C
D
Test Your Knowledge

A security compliance auditor requires an enterprise to scan all cloud databases to locate personally identifiable information (PII), audit administrative actions, and replace confidential customer credit card numbers with realistic mock data in non-production development environments. Which OCI service provides these capabilities across Oracle databases at no extra charge?

A
B
C
D