Skip to content
Learn › Get data in › Connectors: open the docs menu

Connect Oracle Database to Mammoth and import tables

The Oracle Database connector imports a table, or the result of your own SQL query, into Mammoth as a dataset. It connects through a connection form, then opens in the connector workspace's SQL view, where you browse schemas and tables. Open it from Data Library > New dataset > Connectors and click Oracle Database. Project Admins create the connection; Project Editors can start datasets from a connection the project already has. Which connectors you can add depends on your plan.

What you can bring in from Oracle

  • Any table the database user can read, in the Schema you pick.
  • The result of your own SELECT query.

AI query writing (Write SQL) isn't available for Oracle. The dataset can refresh daily or only when you ask.

Before you connect Oracle Database

You need:

  • An Oracle server reachable from the internet.
  • A database user with read access to the tables you want to import.
  • The server's hostname, port (default 1521), service name, username and password.
  • Mammoth's IP address allowed through your firewall. The connection form shows the address. See Allow Mammoth through your firewall.

Connect Oracle Database to Mammoth

  1. Go to the Data Library, click New dataset, and choose Connectors.
  2. Search for Oracle Database and click its tile. The connection form opens. See Connect a database or app for the shared steps.
  3. Fill in the connection form (see the table below).
  4. Click Connect. The connector workspace opens on your tables.
FieldWhat to enter
Host URLHostname or IP address of your Oracle server
PortThe listener port. Default 1521
UsernameDatabase user with read access
PasswordThat user's password
Service nameThe Oracle service name of the database
Display NameOptional label for this connection in Mammoth

Oracle Database - New Connection form with Host URL, Port 1521, Username, Password, Service name and Display Name

Query an Oracle table in the SQL view

  1. In Tables, pick the Schema that holds your tables, then click a table. Mammoth opens its rows with the SELECT query that read them.
  2. To change what you import, click Edit SQL, edit the query, and click Run (or press Ctrl+Enter).
  3. To keep only some columns, tick them in the table header.

Connect a database or app covers the full SQL view.

Save Oracle data as a dataset

  1. Click Save as dataset.
  2. Enter a Name and choose a folder under Save in.
  3. Under Keep it up to date, choose Daily at 06:00 or Only when I ask.
  4. Under On each refresh, keep Replace all rows (the default). Oracle refreshes don't track a key column (see below).
  5. Click Save as dataset. When the dataset is ready, click Open dataset.

Refresh Oracle data and choose an update method

Choosing Daily at 06:00 creates a Dataset Refresh automation that you can reschedule later.

After you save, an Oracle dataset's Update method offers two options:

Update methodWhat it does
Replace all dataRebuilds the dataset from the source on every refresh
Add to existing dataAdds every row the query returns again on each refresh

Oracle refreshes don't use a key column, so Mammoth can't add only new rows. Use Replace all data unless you want a full copy appended each time.

Troubleshoot Oracle connections

SymptomLikely causeFix
Connection failsMammoth's IP address is blocked, or a detail is wrongAllow Mammoth's IP address through your firewall, and check the host, port and service name
A table is missingThe user can't read it, or you're in another schemaCheck the database user can read the table, and that you picked the right Schema
Was this page helpful?

Something wrong? support@mammoth.io