Loading the documentation…

Connect Oracle

The Oracle source reads tables and views from an Oracle database into the Lake. Use this page to fill in each field of the Oracle form, including the connect method, the driver and the TLS certificate. The steps shared by every SQL engine are on Connect a SQL database.


Prerequisites


Add the source

  1. Open Lake and click Add datasource, or open the New menu in the toolbar above the tree.
  2. Choose Oracle in the picker.
  3. Fill in the General, Connection and Datetime steps as described below.
  4. Click Add.

Connection settings

General step

Name (Mandatory)

Code (Mandatory)

Folder (Optional)

Connection step: Address

Paste connection string (Optional)

Host (Mandatory)

Port (Mandatory)

Connect by (Mandatory)

Service name or SID (Mandatory)

Connection step: Authentication

Username (Mandatory)

Password (Mandatory)

Connection step: Security

SSL/TLS (Optional)

TLS certificate (PEM, optional) (Optional)

Connection step: Advanced

Driver (Optional)

Datetime step

Timezone (Optional)

Datetime values (Optional)

Timezones and datetime values explains both settings in full.


Test and save

  1. On the Connection step, click Test connection. The button reads Testing… while it runs.
  2. Connection test passed means DataMind reached the listener and signed in. Connection test failed shows the server's message with a copy button; fix the settings and test again.
  3. On Datetime, check the summary: Name, Server, Service name or SID, Username, Security and Driver.
  4. Click Add. Then import its tables.

The test is optional and never saves the source. To edit or duplicate the source later, see Connect a SQL database.


Questions, answered

Should I connect by service name or by SID?

Use Service name for Oracle 12c and newer, and always for a pluggable database. Use SID only for an older server that exposes an instance SID. If you paste a connection string, the form picks the right option for you.

Which driver do I need for Oracle 11g?

Instant Client. The Built-in driver connects to Oracle 12.1 and newer. Instant Client cannot use SSL/TLS, so keep SSL/TLS off for an Oracle 11g source.

Can I paste a TNS descriptor?

Yes. Paste the full (DESCRIPTION=...) text into Paste connection string and click Fill. The form reads HOST, PORT and SERVICE_NAME or SID from it.

Why are my Oracle schemas listed as databases?

Oracle keeps tables per owner, so the Lake lists each owner whose tables the user can read as a database, with the tables beneath it. Grant the source user read access to another owner's tables to see that owner.

Does the certificate's host name have to match Host?

No. The source does not compare the host name in the server certificate with Host. It still needs to trust the certificate: paste it into TLS certificate (PEM, optional) when it is not issued by a public authority.

Can I send data back to Oracle?

Yes. Oracle is also offered as a Writeback destination, with the same connection fields. See Add and manage destinations.