DB@Azure · BLOB STORAGE · 19c AND 26ai

Use Private Azure Blob Storage with Oracle Autonomous Database 19c and 26ai on Oracle Database@Azure

Share on LinkedIn ↗

In the previous guide, we provisioned an Oracle Autonomous Database 19c lab on Azure using Terraform and connected to it from SQL Developer on a Windows laptop. This guide extends that lab with private Azure Blob Storage access, then uses the same storage account, container, and Data Pump dump file with both 19c and 26ai.

We’ll configure Azure Blob Storage with a private endpoint, set up DNS so both databases can reach it privately, and connect from SQL Developer on Windows.

First, we’ll use 19c to upload and read a sample file, then export a 1,000-row table to a Data Pump dump and upload it to Blob Storage. We’ll download that dump back into 19c, restore it into another table, and compare the data. Finally, we’ll connect 26ai to the same storage account and container, import the same 19c dump, and verify the row count and import log—all while public access to the storage account remains disabled.

Azure Blob Storage is object storage. We access it over HTTPS through DBMS_CLOUD; we do not mount an NFS file system in this walkthrough. Azure Files NFS, an NFS server on a VM, and Azure NetApp Files are separate storage options for future guides.

1. Understand the connection before configuring it

The database and storage have different network and DNS responsibilities.

The Azure VNet contains the Oracle-delegated subnet used by the database and a separate, nondelegated subnet for the Blob private endpoint. The private endpoint provides a private address through which clients reach the Blob service. The storage service itself is managed by Azure.

The database runs on Oracle infrastructure inside an Azure data center and connects to your Azure VNet through the Oracle-delegated subnet. Oracle also creates an associated OCI VCN, which includes the DNS resolver used by the database. In this guide, we configure that resolver so the database can find the private Azure Blob endpoint. See Oracle’s Autonomous Database network design.

Azure VNet and associated OCI VCN architecture
The database resolves the Blob hostname to the private endpoint address, then accesses Blob Storage over HTTPS. The same pattern was tested on 19c and 26ai.

There are three parts to a successful request:

  1. DNS finds the private destination. The database resolves the normal Blob hostname to the Blob private endpoint's private IP.
  2. The network carries the request. The connection reaches the private endpoint on TCP port 443.
  3. The storage credential authorizes access. The database uses a credential containing the storage account name and access key.

The laptop's SSH tunnel has a different purpose: it connects SQL Developer to the database listener on port 1522. Blob requests originate from the database; the laptop does not relay those requests through its database tunnel.

2. Prerequisites and lab values

Complete the earlier guide, Provision Oracle Autonomous Database 19c on Azure with Terraform and connect from Windows, before starting this walkthrough. It covers the subscription and Oracle activation, resource group, VNet, Oracle-delegated subnet, 19c database, client VM, and SQL Developer connection. We reuse that lab here and add private Blob Storage access.

Start with an activated Oracle Database@Azure subscription, a working Autonomous Database, and an existing VNet with its Oracle-delegated subnet. You also need permission to create Azure storage and private networking resources, manage the relevant OCI private DNS view, and run the database configuration as ADMIN.

For a private endpoint in the same VNet as the Oracle deployment, check the advanced networking prerequisites before creating the Oracle-delegated subnet. This lab registered EnableRotterdamSdnApplianceForOracle for both Microsoft.Network and Microsoft.BareMetal at that earlier stage. Follow the current Microsoft Oracle Database@Azure network planning guide for the supported configuration.

The commands below use these lab names. Replace YOUR_STORAGE_ACCOUNT, private addresses, and wallet paths with your own values before running them. Storage account names must be globally unique.

Component Lab value
Azure region East US 2
Resource group rg-adbs-azure-lab
Virtual network vnet-adbs-azure-lab
Oracle-delegated subnet snet-oracle-adbs
Blob private endpoint subnet snet-blob-pe
Storage account Use your own globally unique name
Container adbstest
19c database adbsazurelab01
26ai database adbsazure26ailab01
Database credential AZURE_BLOB_CRED in each database
Shared dump file blob_demo_orders_19c.dmp

This walkthrough uses an account key for storage authentication. Azure management permissions, network access, and storage data authorization are separate checks. An account key is a secret and must never appear in screenshots, source code, or the blog.

3. Create a subnet for the Blob private endpoint

In the Azure portal, open Virtual networks → vnet-adbs-azure-lab → Settings → Subnets → + Subnet.

Create snet-blob-pe using an unused, non-overlapping range inside the VNet. We used a /27 subnet. Keep it separate from the Oracle-delegated subnet and the client VM subnet.

Setting Selection
Subnet purpose Default
Name snet-blob-pe
Address range An unused range within your VNet
Enable private subnet Enabled
NAT gateway None
Network security group None in this lab
Route table None in this lab
Service endpoints None
Subnet delegation None
Private endpoint network policy Disabled

Select Add. The subnet will host the Blob private endpoint, not the database.

Blob private endpoint subnet settings
A separate nondelegated subnet for the private endpoint. Address values are concealed.

4. Create the Azure Blob storage account

Open Storage accounts → Create. Select the existing subscription and rg-adbs-azure-lab resource group.

On Basics, enter a globally unique storage account name, select East US 2, and choose:

On Advanced, leave hierarchical namespace, NFS v3, and SFTP disabled. Select the Hot access tier. This lab uses the Blob HTTPS API, so NFS is not enabled.

On Networking, set Public network access → Disable. Keep Microsoft network routing selected. We create the private endpoint after the account is deployed.

On Data protection, this disposable sample-data lab left point-in-time restore, soft delete, versioning, change feed, and immutability disabled. Choose protection settings appropriate for real data rather than copying these lab choices into production.

On Security, keep secure transfer required, anonymous access disabled, and minimum TLS at 1.2. Leave storage account key access enabled for the credential method used here. On Encryption, retain Microsoft-managed keys. Tags were left blank in this lab.

Review the settings and select Create.

Storage account review
The review screen confirms Standard LRS storage, public network access disabled, and the selected lab data-protection settings.

5. Create the Blob private endpoint and Azure private DNS integration

After deployment, select Go to resource → Security + networking → Networking → Private endpoints → Create private endpoint.

Complete the wizard:

Page Values
Basics Existing resource group, East US 2, a name such as pe-YOUR_STORAGE_ACCOUNT-blob, and a matching NIC name
Resource Your storage account; target subresource blob
Virtual Network vnet-adbs-azure-lab, subnet snet-blob-pe, dynamically allocated private IP
DNS Yes to private DNS integration; zone privatelink.blob.core.windows.net
Tags Optional; blank in this lab

Select Review + create, then Create. After deployment, confirm that the endpoint shows Succeeded and its connection is Approved.

Private endpoint DNS integration
Enable Azure private DNS integration for the Blob endpoint. Choose blob on the preceding Resource page.

Open the endpoint's Settings → DNS configuration. Record the normal storage hostname and the assigned private IP:

YOUR_STORAGE_ACCOUNT.blob.core.windows.net
YOUR_BLOB_PRIVATE_ENDPOINT_IP

The endpoint wizard also creates the Azure private DNS zone integration and VNet link. That enables name resolution for clients using the linked Azure VNet's DNS path. The database-side resolver needs the configuration in the next section.

6. Create the private container

Return to the storage account and open Data storage → Containers → Add container.

Enter adbstest and retain Private (no anonymous access). Select Create.

Create the private container
The same adbstest container is used throughout the 19c and 26ai tests.

7. Configure the OCI private DNS zone

An Azure private DNS zone linked to the VNet does not, by itself, establish every database-side DNS lookup. In this lab we added an exact-host mapping to the associated OCI VCN resolver's private view.

From the database's Azure overview, select Go to OCI. Open the associated VCN → DNS Resolver → Default private view → Private zones.

OCI resolver and its default private view
On the resolver's Details tab, select the Default private view link. Then open Private zones to create the Blob hostname zone.

Create the zone in the database's private view

Select Create zone from that private view's Private zones tab. Enter the exact storage account hostname as the zone name:

YOUR_STORAGE_ACCOUNT.blob.core.windows.net

Select the compartment used for the database's networking resources and create the zone. Because we started from the resolver's default private view, this zone belongs to the view used for database-side lookups.

Add the private endpoint address as an A record

Open the new zone and select Records → Manage records → Add record. The zone initially contains system-created NS and SOA records. Leave those records unchanged; add the A record alongside them.

Use the following values in Add/Edit record:

Field What we entered Why
Name Blank In this console, blank selects the zone apex: the exact hostname entered as the zone name.
Type A – IPv4 address Maps the hostname to an IPv4 address.
TTL in seconds 300 DNS clients and resolvers can cache this answer for five minutes.
RDATA mode Basic Accepts the endpoint address directly.
Address YOUR_BLOB_PRIVATE_ENDPOINT_IP Use the address shown in the Azure Blob private endpoint's DNS configuration.

Enter only the private IP in Address—not an HTTPS URL, container path, or database address. Because the zone name is already the complete Blob hostname, do not enter that hostname again as a child record name.

Select Save changes to add the record to the pending changes. Check that the displayed domain is exactly YOUR_STORAGE_ACCOUNT.blob.core.windows.net, the type is A, and its address matches the Azure private endpoint. Then select Review changes and Publish changes to apply the update.

Return to Records and confirm that the A record appears with TTL 300 and the expected private address. The published result from our lab is shown below.

Published Blob hostname A record in OCI
The published A record maps the exact Blob hostname to the private endpoint address. The private IP is concealed; the record type and TTL remain visible.

Why create this private zone?

The database needs the Blob hostname to resolve to the private endpoint IP. We added an A record to the OCI private zone so the database's DNS resolver returns that private address.

This lets both 19c and 26ai access the same Blob account privately while public network access remains disabled. The Azure private DNS zone serves the linked Azure VNet; the OCI zone supplies the mapping used by the database in this lab.

Cartoon explaining private DNS and shared Blob access
Resolve the Blob hostname → return the private IP → connect over HTTPS on port 443.

See Oracle's Azure Blob access guide.

8. Connect SQL Developer to the 19c database

Use the private database connection from the previous lab. The Windows laptop opens an SSH tunnel through the client VM, and SQL Developer uses the database wallet.

Run the tunnel in Windows PowerShell, replacing the addresses with current values from your deployment:

ssh -i "$env:USERPROFILE\.ssh\azure-adbs-lab" -N -L "127.0.0.1:1522:YOUR_19C_PRIVATE_IP:1522" -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 azureuser@YOUR_VM_PUBLIC_IP

The terminal remains occupied while forwarding. Keep it open. Preserve the exact hostname from the wallet and its server-DN validation setting; use the local hostname mapping established in the previous connection guide.

In SQL Developer, connect as ADMIN using Cloud Wallet, the 19c wallet ZIP, and the desired service, such as _low.

19c Cloud Wallet connection test
Select the 19c wallet and service, then choose Test. Status: Success confirms the connection settings work. The personal wallet path is concealed.

Select Connect, then run these queries in the AzureADBS worksheet:

SELECT USER AS connected_user,
       SYS_CONTEXT('USERENV', 'DB_NAME') AS database_name
FROM dual;

SELECT banner_full FROM v$version;

Run single queries with Ctrl+Enter. Run PL/SQL blocks and SQL Developer script commands with F5.

19c version verified in SQL Developer
The AzureADBS connection returned Oracle Database 19c, version 19.33.0.1.0.

9. Configure Blob access inside 19c

These settings belong to the database. We will repeat them in 26ai while reusing the Azure storage resources.

Set private outbound routing

First inspect the property:

SELECT property_name, property_value
FROM database_properties
WHERE property_name = 'ROUTE_OUTBOUND_CONNECTIONS';

Our initial query returned no rows because the property was not explicitly set. Set it and rerun the query:

ALTER DATABASE PROPERTY SET
  ROUTE_OUTBOUND_CONNECTIONS = 'ENFORCE_PRIVATE_ENDPOINT';

This is a database-wide outbound routing setting. Use it with the private endpoint's required egress rules in place.

19c private outbound routing confirmed
The verification query returns ROUTE_OUTBOUND_CONNECTIONS = ENFORCE_PRIVATE_ENDPOINT.

Allow the Blob hostname for ADMIN

Replace the hostname with your own account's normal Blob hostname. Run with F5:

BEGIN
  DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE(
    host => 'YOUR_STORAGE_ACCOUNT.blob.core.windows.net',
    ace  => xs$ace_type(
      privilege_list => xs$name_list('connect', 'resolve'),
      principal_name => 'ADMIN',
      principal_type => xs_acl.ptype_db
    )
  );
END;
/
19c Blob hostname ACL completed
The preceding host ACL block completed successfully for ADMIN and the exact Blob hostname.

Create the storage credential privately

In Azure, open Storage account → Security + networking → Access keys. Copy an access key privately. Use the key, not the connection string.

Azure storage Access keys page with secrets hidden
Copy a Key value privately from this page. Both keys and connection strings are hidden in this screenshot.

Run the following script with F5. Paste the key only into the hidden input prompt when it appears, never into the worksheet itself. Do not capture the key in a screenshot.

SET ECHO OFF
SET VERIFY OFF
SET DEFINE ON

ACCEPT blob_key CHAR PROMPT 'Paste Azure storage account key: ' HIDE

BEGIN
  DBMS_CLOUD.CREATE_CREDENTIAL(
    credential_name => 'AZURE_BLOB_CRED',
    username        => 'YOUR_STORAGE_ACCOUNT',
    password        => '&blob_key'
  );
END;
/

UNDEFINE blob_key

Confirm the credential without displaying its secret:

SELECT credential_name, username
FROM user_credentials
WHERE credential_name = 'AZURE_BLOB_CRED';

Keep the credential synchronized with the active Azure key if the key is rotated. Each database stores its own credential.

19c storage credential verification
The query confirms AZURE_BLOB_CRED and its storage account username. It does not display the secret key.

10. Test a small file from 19c

First list the container:

SELECT object_name, bytes
FROM DBMS_CLOUD.LIST_OBJECTS(
  credential_name => 'AZURE_BLOB_CRED',
  location_uri =>
    'https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/adbstest/'
);

An empty container returns no rows. We then wrote a small CSV from the database to prove upload access:

DECLARE
  l_blob BLOB;
  l_data RAW(32767);
BEGIN
  l_data := UTL_RAW.CAST_TO_RAW(
    'id,message' || CHR(10) ||
    '1,Hello from Oracle 19c' || CHR(10)
  );

  DBMS_LOB.CREATETEMPORARY(l_blob, TRUE);
  DBMS_LOB.WRITEAPPEND(l_blob, UTL_RAW.LENGTH(l_data), l_data);

  DBMS_CLOUD.PUT_OBJECT(
    credential_name => 'AZURE_BLOB_CRED',
    object_uri =>
      'https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/adbstest/oracle19c-test.csv',
    contents => l_blob
  );

  DBMS_LOB.FREETEMPORARY(l_blob);
EXCEPTION
  WHEN OTHERS THEN
    IF DBMS_LOB.ISTEMPORARY(l_blob) = 1 THEN
      DBMS_LOB.FREETEMPORARY(l_blob);
    END IF;
    RAISE;
END;
/
19c CSV upload completed
PUT_OBJECT completed successfully and wrote the sample CSV to the private container.

Listing the container again returned oracle19c-test.csv, 35 bytes.

19c lists the uploaded CSV
LIST_OBJECTS confirms the file name and byte size before we read its contents.

Read it back:

SELECT UTL_RAW.CAST_TO_VARCHAR2(
  DBMS_LOB.SUBSTR(
    DBMS_CLOUD.GET_OBJECT(
      credential_name => 'AZURE_BLOB_CRED',
      object_uri =>
        'https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/adbstest/oracle19c-test.csv'
    ),
    32767, 1
  )
) AS file_contents
FROM dual;
19c reads the uploaded CSV
The returned content matches the two lines written by 19c.

11. Create a sample table and export a dump file

For the main test, we used a Data Pump .dmp file containing a table with fictional order data. Run the following once in 19c:

CREATE TABLE blob_demo_orders_19c AS
SELECT LEVEL AS order_id,
       'Customer_' || TO_CHAR(LEVEL, 'FM0000') AS customer_name,
       CASE MOD(LEVEL, 4)
         WHEN 0 THEN 'Laptop'
         WHEN 1 THEN 'Monitor'
         WHEN 2 THEN 'Keyboard'
         ELSE 'Headset'
       END AS product,
       TRUNC(DBMS_RANDOM.VALUE(1, 6)) AS quantity,
       ROUND(DBMS_RANDOM.VALUE(25, 1500), 2) AS unit_price,
       DATE '2026-01-01' + TRUNC(DBMS_RANDOM.VALUE(0, 300)) AS order_date
FROM dual
CONNECT BY LEVEL <= 1000;

ALTER TABLE blob_demo_orders_19c
  ADD CONSTRAINT blob_demo_orders_19c_pk PRIMARY KEY (order_id);

SELECT COUNT(*) AS source_rows FROM blob_demo_orders_19c;

The count is 1,000. Export the table using DBMS_DATAPUMP from SQL Developer:

SET SERVEROUTPUT ON

DECLARE
  l_handle NUMBER;
  l_state  VARCHAR2(30);
BEGIN
  l_handle := DBMS_DATAPUMP.OPEN(
    operation => 'EXPORT', job_mode => 'TABLE', version => '19.0'
  );

  DBMS_DATAPUMP.ADD_FILE(
    handle => l_handle,
    filename => 'blob_demo_orders_19c.dmp',
    directory => 'DATA_PUMP_DIR',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE
  );
  DBMS_DATAPUMP.ADD_FILE(
    handle => l_handle,
    filename => 'blob_demo_orders_19c_export.log',
    directory => 'DATA_PUMP_DIR',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE
  );
  DBMS_DATAPUMP.METADATA_FILTER(
    handle => l_handle, name => 'SCHEMA_EXPR', value => 'IN (''ADMIN'')'
  );
  DBMS_DATAPUMP.METADATA_FILTER(
    handle => l_handle, name => 'NAME_EXPR',
    value => 'IN (''BLOB_DEMO_ORDERS_19C'')', object_path => 'TABLE'
  );

  DBMS_DATAPUMP.START_JOB(l_handle);
  DBMS_DATAPUMP.WAIT_FOR_JOB(l_handle, l_state);
  DBMS_OUTPUT.PUT_LINE('Export job state: ' || l_state);
END;
/
19c Data Pump export completed
The table-mode export completed successfully.

The dump file is stored in DATA_PUMP_DIR. Check it:

SELECT object_name, bytes
FROM DBMS_CLOUD.LIST_FILES('DATA_PUMP_DIR')
WHERE object_name IN (
  'blob_demo_orders_19c.dmp',
  'blob_demo_orders_19c_export.log'
)
ORDER BY object_name;
Dump file and export log in DATA_PUMP_DIR
LIST_FILES shows the dump file at 258,048 bytes and the export log at 949 bytes.

The observed dump size was 258,048 bytes. Export size can vary across runs. Use new filenames if repeating an export; the scripts do not deliberately overwrite existing dump files.

12. Upload the dump to the shared Blob container

Run this in 19c:

BEGIN
  DBMS_CLOUD.PUT_OBJECT(
    credential_name => 'AZURE_BLOB_CRED',
    object_uri =>
      'https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/adbstest/blob_demo_orders_19c.dmp',
    directory_name => 'DATA_PUMP_DIR',
    file_name => 'blob_demo_orders_19c.dmp'
  );
END;
/

Verify the uploaded object:

SELECT object_name, bytes
FROM DBMS_CLOUD.LIST_OBJECTS(
  credential_name => 'AZURE_BLOB_CRED',
  location_uri =>
    'https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/adbstest/'
)
WHERE object_name = 'blob_demo_orders_19c.dmp';

The Blob copy also showed 258,048 bytes. This is the object reused for the remaining tests.

19c confirms the uploaded dump in Blob Storage
LIST_OBJECTS confirms the dump name and its 258,048-byte size in the shared container.

13. Restore the Blob copy into another table in 19c

Download the object using a different local filename so the import explicitly uses the copy retrieved from Blob:

BEGIN
  DBMS_CLOUD.GET_OBJECT(
    credential_name => 'AZURE_BLOB_CRED',
    object_uri =>
      'https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/adbstest/blob_demo_orders_19c.dmp',
    directory_name => 'DATA_PUMP_DIR',
    file_name => 'blob_demo_orders_19c_from_azure.dmp'
  );
END;
/

Check that BLOB_DEMO_ORDERS_RESTORED does not already exist in USER_OBJECTS. Then run the import:

SET SERVEROUTPUT ON

DECLARE
  l_handle NUMBER;
  l_state  VARCHAR2(30);
BEGIN
  l_handle := DBMS_DATAPUMP.OPEN(
    operation => 'IMPORT', job_mode => 'TABLE'
  );
  DBMS_DATAPUMP.ADD_FILE(
    handle => l_handle,
    filename => 'blob_demo_orders_19c_from_azure.dmp',
    directory => 'DATA_PUMP_DIR',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE
  );
  DBMS_DATAPUMP.ADD_FILE(
    handle => l_handle,
    filename => 'blob_demo_orders_19c_import.log',
    directory => 'DATA_PUMP_DIR',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE
  );
  DBMS_DATAPUMP.METADATA_FILTER(
    handle => l_handle, name => 'SCHEMA_EXPR', value => 'IN (''ADMIN'')'
  );
  DBMS_DATAPUMP.METADATA_FILTER(
    handle => l_handle, name => 'NAME_EXPR',
    value => 'IN (''BLOB_DEMO_ORDERS_19C'')', object_path => 'TABLE'
  );
  DBMS_DATAPUMP.METADATA_FILTER(
    handle => l_handle, name => 'EXCLUDE_PATH_EXPR',
    value => 'IN (''INDEX'', ''CONSTRAINT'', ''REF_CONSTRAINT'')'
  );
  DBMS_DATAPUMP.METADATA_REMAP(
    handle => l_handle, name => 'REMAP_TABLE',
    old_value => 'BLOB_DEMO_ORDERS_19C',
    value => 'BLOB_DEMO_ORDERS_RESTORED'
  );
  DBMS_DATAPUMP.START_JOB(l_handle);
  DBMS_DATAPUMP.WAIT_FOR_JOB(l_handle, l_state);
  DBMS_OUTPUT.PUT_LINE('Import job state: ' || l_state);
END;
/

For this same-schema comparison, we excluded index and constraint paths to avoid conflicts with names already used by the original table. This check restores the sample table data; it is not a full schema restoration.

Compare the data:

SELECT 'ORIGINAL' AS table_copy, COUNT(*) AS row_count
FROM blob_demo_orders_19c
UNION ALL
SELECT 'RESTORED', COUNT(*)
FROM blob_demo_orders_restored;

SELECT COUNT(*) AS rows_missing_or_changed
FROM (
  SELECT * FROM blob_demo_orders_19c
  MINUS
  SELECT * FROM blob_demo_orders_restored
);

SELECT COUNT(*) AS extra_or_changed_rows
FROM (
  SELECT * FROM blob_demo_orders_restored
  MINUS
  SELECT * FROM blob_demo_orders_19c
);
19c original and restored row comparison
Both tables contained 1,000 rows. The comparisons returned zero differences in either direction.

14. Connect the 26ai database to the same Blob account

For the second test, we created a temporary 26ai Autonomous Database using the existing VNet and Oracle-delegated subnet. It had 2 ECPUs, 20 GB storage, and autoscaling disabled. Creation completed in 16 minutes 8 seconds. No second Blob account or container was created.

Download the 26ai wallet. Disconnect the 19c SQL Developer connection and stop its forwarding command with Ctrl+C before reusing local port 1522.

Open the 26ai tunnel in PowerShell:

ssh -i "$env:USERPROFILE\.ssh\azure-adbs-lab" -N -L "127.0.0.1:1522:YOUR_26AI_PRIVATE_IP:1522" -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 azureuser@YOUR_VM_PUBLIC_IP

Map the 26ai wallet's exact hostname to 127.0.0.1 using the same backed-up hosts-file approach from the connection guide. Keep TLS server-DN matching enabled. In SQL Developer, create a separate 26AIAzure connection using the 26ai wallet and _low service. Keep the forwarding terminal open.

Verify the version:

SELECT banner_full FROM v$version;
26ai version verified in SQL Developer
The connection returned Oracle AI Database 26ai, version 23.26.4.1.0.

In the 26AIAzure worksheet, repeat the database-side steps from section 9:

  1. Set ROUTE_OUTBOUND_CONNECTIONS to ENFORCE_PRIVATE_ENDPOINT.
  2. Add the host ACL for the same Blob hostname.
  3. Create AZURE_BLOB_CRED using the same storage account and its current key.

These settings are local to each database. Reusing Azure storage does not copy database credentials or ACLs from 19c to 26ai.

15. List and download the existing 19c dump from 26ai

Run the same LIST_OBJECTS query from section 12 in 26AIAzure.

26ai lists the same 19c dump
26ai found blob_demo_orders_19c.dmp, 258,048 bytes, in the existing container.

Download that object into 26ai's own DATA_PUMP_DIR:

BEGIN
  DBMS_CLOUD.GET_OBJECT(
    credential_name => 'AZURE_BLOB_CRED',
    object_uri =>
      'https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/adbstest/blob_demo_orders_19c.dmp',
    directory_name => 'DATA_PUMP_DIR',
    file_name => 'blob_demo_orders_19c_for_26ai.dmp'
  );
END;
/
26ai downloads the shared dump
The download completed successfully. The file remains on the database side; it was not downloaded to Windows.

16. Import the 19c dump into 26ai

First check that the table name is unused:

SELECT object_name, object_type
FROM user_objects
WHERE object_name = 'BLOB_DEMO_ORDERS_19C';

Our query returned no rows. Run the following with F5:

SET SERVEROUTPUT ON

DECLARE
  l_handle NUMBER;
  l_state  VARCHAR2(30);
BEGIN
  l_handle := DBMS_DATAPUMP.OPEN(
    operation => 'IMPORT', job_mode => 'TABLE'
  );
  DBMS_DATAPUMP.ADD_FILE(
    handle => l_handle,
    filename => 'blob_demo_orders_19c_for_26ai.dmp',
    directory => 'DATA_PUMP_DIR',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE
  );
  DBMS_DATAPUMP.ADD_FILE(
    handle => l_handle,
    filename => 'blob_demo_orders_26ai_import.log',
    directory => 'DATA_PUMP_DIR',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE
  );
  DBMS_DATAPUMP.METADATA_FILTER(
    handle => l_handle, name => 'SCHEMA_EXPR', value => 'IN (''ADMIN'')'
  );
  DBMS_DATAPUMP.METADATA_FILTER(
    handle => l_handle, name => 'NAME_EXPR',
    value => 'IN (''BLOB_DEMO_ORDERS_19C'')', object_path => 'TABLE'
  );
  DBMS_DATAPUMP.START_JOB(l_handle);
  DBMS_DATAPUMP.WAIT_FOR_JOB(l_handle, l_state);
  DBMS_OUTPUT.PUT_LINE('Import job state: ' || l_state);
END;
/

The result was Import job state: COMPLETED. Unlike the same-schema 19c comparison, this import did not exclude the table's constraint.

Verify the row count:

SELECT COUNT(*) AS imported_rows
FROM blob_demo_orders_19c;
26ai imported row count
The imported table contains 1,000 rows.

17. Check the Data Pump log

Read the log from the 26ai database using F5:

SET SERVEROUTPUT ON SIZE UNLIMITED

DECLARE
  l_file UTL_FILE.FILE_TYPE;
  l_line VARCHAR2(32767);
BEGIN
  l_file := UTL_FILE.FOPEN(
    'DATA_PUMP_DIR', 'blob_demo_orders_26ai_import.log', 'R', 32767
  );
  BEGIN
    LOOP
      UTL_FILE.GET_LINE(l_file, l_line);
      DBMS_OUTPUT.PUT_LINE(l_line);
    END LOOP;
  EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
  END;
  UTL_FILE.FCLOSE(l_file);
EXCEPTION
  WHEN OTHERS THEN
    IF UTL_FILE.IS_OPEN(l_file) THEN
      UTL_FILE.FCLOSE(l_file);
    END IF;
    RAISE;
END;
/
26ai Data Pump import log
The log shows 1,000 rows imported, constraint processing, and successful job completion. No errors appear in the displayed log.
Test Observed result
19c CSV upload and read-back Successful; returned the original text
19c Data Pump export Completed; dump size 258,048 bytes
19c upload and retrieval through Blob Successful
19c restored table 1,000 rows; zero differences in both comparison directions
26ai access to the existing dump Successful; same object name and byte size
26ai Data Pump import Completed; 1,000 rows; constraint processed
Storage public network access Remained disabled for the tests

Conclusion

We successfully used the same private Azure Blob Storage account and container with Oracle Autonomous Database 19c and 26ai on Azure.

In 19c, we exported a sample table containing 1,000 rows, uploaded the dump to Blob Storage, retrieved it, and restored the data into another table. The row counts matched, and comparison queries returned no differences.

We then connected 26ai to the same container, downloaded the existing 19c dump, and imported it successfully. The 26ai table contained 1,000 rows, and the import log confirmed successful completion, including constraint processing.

Private DNS, the Blob private endpoint, database outbound routing, and storage credentials worked together while public storage access remained disabled. This provides a practical example of Azure Blob Storage as a shared staging location for a 19c-to-26ai table transfer.

Share on LinkedIn ↗

Join the discussion

Ask a question, share a result, or add a useful tip.

Loading comments…

Leave a comment

Your name and comment will be public. Keep passwords, email addresses, IP addresses, and other private details out of your comment. Cloudflare Turnstile checks submissions to help prevent spam.