Create an Oracle connection
This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Databricks previews.
Create an Oracle connection in Unity Catalog to store authentication credentials for Lakeflow Connect ingestion. Any user with the USE CONNECTION privilege on the connection can then create Oracle ingestion pipelines without needing direct access to the credentials.
Alternatively, admin users can create a connection and a pipeline at the same time in the data ingestion UI. See Create an integrated CDC pipeline for Oracle.
For privilege requirements, see Connect to managed ingestion sources.
Prerequisites
Complete the Oracle source setup. Use the replication user credentials you create to configure the connection.
Create a connection
-
In the Databricks workspace, click
Catalog.
-
Click
Connect, then click Connections.
-
Click the Create connection button.
-
Enter a unique Connection name.
-
For Connection type, select Oracle.
-
For Host, enter the Oracle domain name that hosts your database.
-
For Service name, enter the service name of the Oracle instance. The Oracle connector takes the service name from the connection or the pipeline definition:
- For a single-tenant (non-CDB) database, use the service name of the database.
- For a multi-tenant (CDB) database, use the
CDB$ROOTservice name. - If the database has the
DB_DOMAINparameter set, use the full, domain-qualified service name (for example,<service>.example.com). See Database domain.
-
If the source database requires TLS for the JDBC connection, provide the certificate. Unity Catalog stores it securely with encryption.
-
For User and Password, enter the credentials of the replication user. See Create the replication user.
-
Click Create connection.
Do not use the SYS or SYSTEM user for replication. Oracle stores unquoted identifiers in uppercase, so enter the username in uppercase unless you created it as a quoted identifier with a different case, in which case enter that exact case.