Lesson 1 of 4 · OCI Database Administration

OCI Database Services

How OCI is organized, the database services it offers, from Autonomous Database and Exadata to MySQL HeatWave, and how to choose between them.

Beginner 8 sections 7 min read

Databases on OCI

Oracle Cloud Infrastructure (OCI) is Oracle's own cloud, and the natural home for Oracle Database. It's the only cloud that offers every way of running Oracle, from a single virtual machine to Exadata and the fully automated Autonomous Database, alongside managed MySQL, PostgreSQL, and NoSQL services.

For an Oracle DBA, OCI feels familiar: the databases are the same Oracle Database you know, with SYSDBA, RMAN, Data Guard, and RAC available on the services that allow them. What's new is the way OCI organizes, connects, and bills for them.

How OCI is organized

TENANCYyour organization's OCI account COMPARTMENTsuch as sales-prod, inside a parent compartment called sales VCNvirtual cloud network, in one region private subnet kofi-db01DB system salesatpAutonomous DB Object Storagebackups and files Vaultencryption keys, secrets
Tenancy
Your organization's account in OCI, created when the company signs up. It holds all users, groups, policies, and resources.
Compartment
A folder for resources, and OCI's main tool for organizing and securing them. Compartments can be nested, such as sales containing sales-prod and sales-dev, and permissions and budgets are set per compartment. Compartments are global: one compartment can hold resources in any region. It's roughly what Azure calls a resource group.
Region, availability domains, and fault domains
A region, such as us-ashburn-1, is a geographic area. Some regions have three availability domains (ADs), separate data centers like AWS and Azure availability zones; many have one. Every AD is divided into three fault domains: groups of hardware that don't share a single point of failure, so a primary and standby in different fault domains survive a hardware failure even in a one-AD region.
VCN (virtual cloud network)
Your private network in a region, divided into subnets. Databases go in private subnets. Traffic is controlled by security lists, which apply to a whole subnet, and network security groups (NSGs), which apply to chosen resources, such as only the database servers.
IAM policies
OCI permissions are written as readable sentences, granted to groups in a compartment. For example: Allow group DBAdmins to manage database-family in compartment sales-prod.

OCI's database services

ORACLE DATABASE Autonomousfully automated Base Databasevirtual machines Exadatain OCI Exadata C@Cin your data center OTHER DATABASES MySQLHeatWave PostgreSQLmanaged NoSQLkey-value, JSON OCI Cachein-memory MULTICLOUD Oracle Database@Azure, @AWS, @Google Cloud SELF-MANAGED any database on OCI Compute

Oracle Database services

Oracle Autonomous Database
A fully managed Oracle database that patches, tunes, scales, and backs itself up, with no operating system or SYSDBA access. It comes tuned for different workload types, such as Transaction Processing (ATP) and Data Warehouse (ADW). The Autonomous Database lesson covers it.
Base Database Service
Oracle Database on virtual machines, called DB systems. It's co-managed: OCI automates provisioning, patching, backups, and Data Guard, but you also get root access to the server and full SYSDBA access, just like on-premises.
Exadata Database Service
Oracle Database on Exadata, Oracle's engineered hardware for the largest and most demanding databases, with Real Application Clusters (RAC). It runs on dedicated infrastructure (a whole Exadata for your company) or on Exascale infrastructure (Exadata performance in smaller, shared slices).
Exadata Cloud@Customer
The same Exadata service, but the hardware sits in your own data center, for data that must stay on-premises. Oracle manages the infrastructure remotely, and you use the OCI console and tools.

The Base Database and Exadata lesson covers the co-managed services. Oracle has recently added "AI" to many product names, such as Oracle AI Database 26ai (the successor to 23ai) and Autonomous AI Database, so you'll see both old and new names in documentation.

Other database services

MySQL HeatWave
Managed MySQL, built by the MySQL team at Oracle. Its HeatWave in-memory engine runs analytics queries directly on the MySQL data, so reports don't need a separate data warehouse.
OCI Database with PostgreSQL
Managed open source PostgreSQL, with storage optimized by OCI and high availability across availability domains or fault domains.
OCI NoSQL Database
A serverless key-value and JSON document database with fast, predictable response times, similar to DynamoDB on AWS.
OCI Cache
Managed in-memory caching with Redis or Valkey.

Multicloud and self-managed

Through Oracle Database@Azure, Oracle Database@AWS, and Oracle Database@Google Cloud, the same Exadata and Autonomous Database services run inside other clouds' data centers, as you saw in the Azure and AWS modules. They're managed with OCI's tools, so everything in this module applies to them. And, as on any cloud, any database can be installed yourself on an OCI Compute virtual machine.

Comparing the Oracle Database services

The biggest difference between the Oracle services is how much Oracle manages, and how much control you keep:

Autonomous DatabaseBase Database ServiceExadata Database Service
ManagementFully managed by OracleCo-managedCo-managed
OS and SYSDBA accessNoYesYes
PatchingAutomatic, by OracleYou choose when, OCI applies itYou choose when, OCI applies it
ScalingOnline, with automatic scalingCPU and storage can be changed; a CPU change restarts the server, one node at a time with RACOnline, up to very large sizes
RACRuns on Exadata, with RAC behind the scenesTwo-node RAC on some shapesYes
Best forNew applications, analytics, and teams that want to spend least time on operationsSmall and medium databases, and lift-and-shift moves from on-premisesLarge, mission-critical databases that need the highest performance

Choosing a service

THE APPLICATION NEEDS USE Oracle, as automated as possibleOracle, with full controlOracle at the largest scale, with RAC MySQL, with fast analyticsPostgreSQLKey-value or JSON at scale Autonomous DatabaseBase Database ServiceExadata Database Service MySQL HeatWaveOCI Database with PostgreSQLOCI NoSQL Database

For Oracle, a common pattern is to start with Autonomous Database for new applications, use Base Database Service when an application needs a specific setup, version, or OS access, and move to Exadata when a database outgrows a virtual machine or needs RAC.

What every service has in common

  • Created and organized the same way, in compartments and VCNs, through the OCI Console, the OCI CLI, or infrastructure as code with Terraform and OCI Resource Manager.
  • Sized by CPU. Most services are sized in ECPUs or OCPUs, OCI's units of processing power, plus storage.
  • Backed up automatically, to Object Storage or the Autonomous Recovery Service.
  • Highly available by placing copies in different availability domains or fault domains.
  • Secured with the same tools: IAM policies, private subnets and NSGs, encryption by default, and OCI Vault for keys.
  • Monitored and billed the same way, with OCI Monitoring, Database Management, and Cost Analysis.

The Managing Databases on OCI lesson covers these responsibilities across the services.

In practice: an Oracle estate moves to OCI

Kofi's company moves its Oracle databases to OCI. Each lands on the service that matches its needs:

DatabaseWhat it needsService
New internal APEX appLittle to manage, low costAutonomous Database, APEX workload type
Vendor ERPOS access, a specific patch level, Enterprise Edition optionsBase Database Service, High Performance edition, with the company's own licenses
Core banking20 TB, a four-node RAC cluster, highest performanceExadata Database Service on dedicated infrastructure
Data warehouseLarge analytical queriesAutonomous Database, Data Warehouse workload type
Regulated customer dataMust stay in the company's own data centerExadata Cloud@Customer

Key takeaways

  • OCI resources live in a tenancy, organized in nested compartments, and run in regions with availability domains and fault domains, inside private networks called VCNs.
  • Oracle Database runs on Autonomous Database (fully managed), Base Database Service (co-managed virtual machines), and Exadata, in OCI or in your own data center.
  • OCI also offers MySQL HeatWave, OCI Database with PostgreSQL, OCI NoSQL Database, and OCI Cache.
  • The same Oracle services run in Azure, AWS, and Google Cloud through Oracle Database@ offerings, managed with OCI's tools.
  • The main choice for Oracle is how much control you need: Autonomous for the least work, Base Database for full control, Exadata for the largest workloads.