top of page

Autonomous Database, Base Database or RDS for Oracle: Choosing the Managed Service for a Workload

OmerNarman
Aug 1
8 min read

Updated: Oct 24

Three or four managed ways to run Oracle in the cloud look almost identical in a sales deck. On a Tuesday night, when a packaged application needs a one-off patch or a vendor installer wants SYSDBA, they behave very differently. The right service depends on two things: what the workload needs from the database, and how much of the database your team wants to keep its hands on.


This post turns that choice into a repeatable method. We start by collecting facts from the existing database with SQL, then match them against what each service allows, price the real configuration, prove performance with the real workload and, finally, write down how you would leave again.



The Services in One Line Each

  • Autonomous Database (ADB): Oracle runs everything, including tuning, patching, scaling and backups. You get SQL and a connection string. You do not get the operating system, SYSDBA or most instance parameters.

  • Base Database Service (BaseDB): a virtual machine on OCI with Oracle installed. OCI automates provisioning, patching and backups through the console, and you keep root, SYSDBA and full control of the instance.

  • Exadata Database Service: the same control as Base Database, on Exadata infrastructure, with RAC and Exadata storage features. It also runs inside Azure, Google Cloud and AWS as Oracle Database@Azure, Oracle Database@Google Cloud and Oracle Database@AWS.

  • Amazon RDS for Oracle: AWS runs the host and the instance lifecycle inside the AWS ecosystem. You keep SQL-level administration through a master user, lose the operating system and SYS, and work within the feature set RDS supports.


Environment used in this post


  • Source database: Oracle Database 19c, non-CDB, on Linux

  • Database size: 2.4 TB, growing about 40 GB per month

  • Application: a packaged ERP certified on one Release Update

  • Candidates: Autonomous Database, Base Database Service, Exadata Database Service, Amazon RDS for Oracle



Step 1: Inventory the Database Features in Use

Start with facts, not opinions. DBA_FEATURE_USAGE_STATISTICS records which database features have ever been used, and how recently. This tells you which options the workload really depends on, which is also what licensing will ask about.


SQL

sqlplus / as sysdba

SELECT name, detected_usages, currently_used,

TO_CHAR(last_usage_date,'YYYY-MM-DD') AS last_used

FROM dba_feature_usage_statistics

WHERE detected_usages > 0

AND dbid = (SELECT dbid FROM v$database)

ORDER BY last_usage_date DESC NULLS LAST

FETCH FIRST 12 ROWS ONLY;

Expected output

NAME                                     DETECTED_USAGES CURRENTLY_USED LAST_USED
---------------------------------------- --------------- -------------- ----------
Automatic Workload Repository                        212 TRUE           2026-07-31
Partitioning (user)                                  212 TRUE           2026-07-31
Real Application Clusters (RAC)                      212 TRUE           2026-07-31
Oracle Java Virtual Machine (user)                   198 TRUE           2026-07-31
Advanced Compression                                 140 TRUE           2026-07-30
Transparent Data Encryption                          212 TRUE           2026-07-31
Data Guard                                           212 TRUE           2026-07-31
Database Vault                                        96 TRUE           2026-07-29
External Tables                                      188 TRUE           2026-07-31
SecureFile Compression (user)                         75 FALSE          2026-05-12
Oracle Text                                          206 TRUE           2026-07-31
Unified Audit                                        212 TRUE           2026-07-31

What to expect: One row per feature that has been used. CURRENTLY_USED is TRUE when the feature was in use at the last sample (the statistics are refreshed about once a week). Write the list down. In this example RAC, Data Guard, Java in the database and Database Vault are the rows that will rule services in or out.



Step 2: Find Operating-System and SYSDBA Dependencies

Managed services hide the operating system. Anything that reads or writes files through directory objects, calls external programs, or connects as SYSDBA must be found now, before a migration weekend finds it for you.


SQL

-- File-based interfaces

SELECT owner, directory_name, directory_path

FROM dba_directories

WHERE owner = 'SYS'

AND directory_name NOT LIKE 'ORACLE%'

AND directory_name NOT IN ('DATA_PUMP_DIR','OPATCH_LOG_DIR','OPATCH_SCRIPT_DIR','OPATCH_INST_DIR','XMLDIR','XSDDIR','SDO_DIR_ADMIN','SDO_DIR_WORK','DBMS_OPTIM_ADMINDIR','DBMS_OPTIM_LOGDIR','JAVA$JOX$CUJS$DIRECTORY$')

ORDER BY directory_name;

-- External jobs that run programs on the host

SELECT owner, job_name, job_type, SUBSTR(job_action,1,40) AS action

FROM dba_scheduler_jobs

WHERE job_type = 'EXECUTABLE';

-- Accounts that hold administrative privileges

SELECT username, sysdba, sysoper, sysbackup FROM v$pwfile_users;

Expected output

OWNER  DIRECTORY_NAME      DIRECTORY_PATH
------ ------------------- ------------------------------
SYS    ERP_INBOUND         /interfaces/erp/inbound
SYS    ERP_OUTBOUND        /interfaces/erp/outbound
SYS    PAYROLL_EXPORT      /nfs/payroll/export

OWNER  JOB_NAME            JOB_TYPE   ACTION
------ ------------------- ---------- ----------------------------------------
ERP    NIGHTLY_SFTP_PUSH   EXECUTABLE /u01/scripts/sftp_push.sh

USERNAME   SYSDBA SYSOPER SYSBACKUP
---------- ------ ------- ---------
SYS        TRUE   TRUE    FALSE
ERPADMIN   TRUE   FALSE   FALSE

What this does: The first query lists custom directory objects (the exclusion list removes the ones Oracle creates). Each one is a file interface that needs a new home: on ADB that means DBMS_CLOUD and Object Storage, on RDS an EFS integration or S3, on BaseDB and Exadata it keeps working on a local or NFS mount. The executable job and the ERPADMIN SYSDBA account are typical blockers for ADB and RDS: if the vendor's patch installer connects as SYSDBA, only BaseDB or Exadata will run it.



Step 3: Measure Size, Growth and Load

Sizing a managed service needs three numbers: storage, CPU and I/O at the peak, not the average. AWR holds all of them (Diagnostics Pack licence required; use Statspack otherwise).


SQL

-- Allocated and used space

SELECT ROUND(SUM(bytes)/1024/1024/1024) AS allocated_gb FROM dba_data_files;

SELECT ROUND(SUM(bytes)/1024/1024/1024) AS used_gb FROM dba_segments;

-- Peak hourly CPU and I/O over the last 30 days

SELECT TO_CHAR(TRUNC(end_time,'HH24'),'YYYY-MM-DD HH24') AS hour,

ROUND(MAX(CASE metric_name WHEN 'Host CPU Utilization (%)' THEN maxval END)) AS cpu_pct,

ROUND(MAX(CASE metric_name WHEN 'I/O Megabytes per Second' THEN maxval END)) AS io_mbps,

ROUND(MAX(CASE metric_name WHEN 'I/O Requests per Second' THEN maxval END)) AS iops

FROM dba_hist_sysmetric_summary

WHERE end_time > SYSDATE - 30

GROUP BY TRUNC(end_time,'HH24')

ORDER BY cpu_pct DESC

FETCH FIRST 5 ROWS ONLY;

Expected output

ALLOCATED_GB
------------
        2460

   USED_GB
----------
      2187

HOUR             CPU_PCT    IO_MBPS       IOPS
------------- ---------- ---------- ----------
2026-07-28 02         88       1934      41210
2026-07-21 02         86       1890      40377
2026-07-31 09         71        612      28844
2026-07-14 02         85       1902      39861
2026-07-30 10         69        598      27930

What to expect: The busiest hours, ordered by CPU. Here the peaks are the 02:00 batch at nearly 2 GB/s and 41,000 IOPS, while the daytime peak is much lower. That matters: RDS and Base Database storage performance depends on the volume type and size you buy, while Exadata storage is built for exactly this kind of batch scan.



Step 4: Match the Needs to the Service

Now put the facts from Steps 1 to 3 against what each service allows. The table below is the shape of the decision, current at the time of writing. Every one of these services adds features several times a year, so check the current documentation for the two or three rows that decide your case.


Need

Autonomous Database

Base Database Service

Exadata Database Service

RDS for Oracle

OS and SYSDBA access

No

Yes

Yes

No, master user only

RAC

Internal, not exposed

Two-node RAC on VM

Yes

No

Data Guard you control

Autonomous Data Guard, managed

Yes

Yes

Managed replicas only

Database Vault

Yes, via DBMS_CLOUD_MACADM

Yes

Yes

Not supported

Java in the database

Yes

Yes

Yes

Yes

Pin a certified patch level

No, continuous patching

Yes

Yes

Within the RDS version list

Files and host programs

DBMS_CLOUD and Object Storage

Yes

Yes

S3 and EFS integrations

Licensing

Included or BYOL

Included or BYOL

Included or BYOL

Included for SE2, BYOL for EE


How to read it for this example: the workload uses RAC, Database Vault, host-side scripts and a SYSDBA installer, and the vendor certifies one Release Update. RDS fails on RAC and Database Vault. ADB fails on SYSDBA and patch pinning. The short list is Base Database and Exadata, and the 41,000 IOPS batch points to Exadata.



Step 5: Decide Who Is on the Pager

Features decide what is possible. Operations decide what is sensible. Write down, for each candidate, who does each task at 03:00.


  • Autonomous Database: Oracle patches, tunes, backs up and scales. Your team owns the schema, the SQL and the connection pool. It is the right answer for new applications written for it and for teams without DBAs.

  • Base Database and Exadata: OCI automates the mechanics (patch, backup, Data Guard setup) through the console or API, but your DBAs decide when and how. It is the right answer for packaged applications, anything certified against a specific patch level, and teams that automate their own operations.

  • RDS for Oracle: AWS owns the host and the maintenance windows. It is the right answer when the organisation has standardised on AWS operations and the workload fits inside what RDS supports.


Tip: Ask the application vendor for their certification statement for each service by name. "Supported on Oracle 19c" does not mean "supported on Autonomous Database".


Step 6: Price the Real Configuration

The calculator's default is a single instance with no standby. Nobody runs production like that. Price the configuration you will actually operate.


  • Compute: count cores the way each service bills them. OCI bills OCPUs or ECPUs; RDS bills instance classes in vCPUs. Include licences you already own where bring your own licence (BYOL) applies.

  • High availability: add the standby or the Multi-AZ instance, and a second RAC node where you need one.

  • Storage: data, redo, backup storage and the long-term backup copy.

  • Network: cross-region and cross-cloud egress. This is where multicloud designs leak money, especially when the application and the database sit in different clouds.


You can pull current list prices from the OCI price list API and compare them with the AWS Price List API, so the comparison is repeatable when prices change.


Shell

# OCI public price list (no authentication), filtered to Exadata and Base Database parts

curl -s "https://apexapps.oracle.com/pls/apex/cetools/api/v1/products/?currencyCode=USD" \

| jq -r '.items[] | select(.displayName | test("Exadata Database|Base Database";"i"))

| [.partNumber, .displayName, .metricName, (.currencyCodeLocalizations[0].prices[0].value|tostring)] | @tsv' \

| head -5


What this does: It reads Oracle's public price list and prints the part number, product name, billing metric and list price for the matching parts. Use the same parts every time you rerun the comparison. Your negotiated prices and Universal Credits discounts come on top.



Step 7: Prove Performance with the Real Workload

A benchmark on sample data proves nothing. Restore a copy of production into each short-listed service and run the real workload against it. With the Real Application Testing option you can capture production and replay it. Otherwise, use the application's own load test.


SQL

-- On production: capture two hours of the nightly batch (Real Application Testing option)

CREATE DIRECTORY rat_capture AS '/u05/rat/capture';

BEGIN

DBMS_WORKLOAD_CAPTURE.START_CAPTURE(

name => 'NIGHTLY_BATCH_0728',

dir => 'RAT_CAPTURE',

duration => 7200);

END;

/

SELECT id, name, status, TO_CHAR(start_time,'HH24:MI') AS started, duration_secs

FROM dba_workload_captures

ORDER BY id DESC

FETCH FIRST 1 ROWS ONLY;

Expected output

PL/SQL procedure successfully completed.

        ID NAME                 STATUS     STARTED DURATION_SECS
---------- -------------------- ---------- ------- -------------
        14 NIGHTLY_BATCH_0728   COMPLETED  02:00            7200

What to expect: A completed capture you can preprocess and replay on each candidate with DBMS_WORKLOAD_REPLAY. Compare elapsed time, DB time and the top wait events from an AWR report on each target. If the batch takes 50 minutes on Exadata and 3 hours on a smaller VM, you have your answer and the number to show management.



Step 8: Write Down the Exit Path

Every choice should come with the method that moves the database out again, tested once. A service you cannot leave in a weekend is a dependency, not a platform.


  • From Autonomous Database: Data Pump export to Object Storage. ADB does not hand out data files, so a logical copy is the only way out, with GoldenGate if the window must be short.

  • From Base Database and Exadata: Data Guard, RMAN or transportable tablespaces, the same physical methods as on premises.

  • From RDS for Oracle: Data Pump through the S3 integration, AWS DMS, or GoldenGate. Physical methods are not available because you have no access to the data files.



A Rule of Thumb

  • Packaged application, certified patch level, needs SYSDBA: Base Database Service, or Exadata Database Service for scale and RAC.

  • New application, elastic demand, small operations team: Autonomous Database.

  • AWS-standardised organisation, workload within RDS limits: RDS for Oracle, after checking the feature table.

  • Large consolidated estate that must sit next to applications in Azure, Google Cloud or AWS: Oracle Database@Azure, Oracle Database@Google Cloud or Oracle Database@AWS.



Summary

Choose the managed service from facts. Inventory the features in use, find the operating-system and SYSDBA dependencies, measure peak load, and match all three against what each service allows. Then decide who carries the pager, price the real highly available configuration including egress, prove performance with the real workload, and write down the exit path before you go in. For the ERP in this example, that method points clearly to Exadata Database Service: it is the only candidate that keeps RAC, Database Vault, the certified patch level and the batch throughput.

Recent Posts

See All

Comments


bottom of page