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.

There are three parts to a successful request:
- DNS finds the private destination. The database resolves the normal Blob hostname to the Blob private endpoint's private IP.
- The network carries the request. The connection reaches the private endpoint on TCP port 443.
- 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.

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:
- Primary service: Azure Blob Storage or Azure Data Lake Storage.
- Performance: Standard.
- Redundancy: Locally redundant storage (LRS).
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.

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.

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.

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.

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.

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.

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.

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.

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.

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;
/

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.

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.

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;
/

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

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;

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;
/

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;

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.

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
);

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;

In the 26AIAzure worksheet, repeat the database-side steps from section 9:
- Set
ROUTE_OUTBOUND_CONNECTIONStoENFORCE_PRIVATE_ENDPOINT. - Add the host ACL for the same Blob hostname.
- Create
AZURE_BLOB_CREDusing 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.

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;
/

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;

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;
/

| 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 ↗Keep your Oracle notebook growing
Get new Oracle walkthroughs in your inbox, or follow the blog in your favorite RSS reader.
Free email delivery through Blogtrottr. Enter and confirm your email on their site; unsubscribe from any email. The free service may include ads. Your email address is not collected by this blog.
Join the discussion
Ask a question, share a result, or add a useful tip.
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.