For the complete documentation index, see llms.txt. This page is also available as Markdown.

Oracle

You can use CARTO with your data in an Oracle database, with full support for Oracle Spatial (SDO_GEOMETRY) and GeoRaster data types. CARTO supports Oracle Database 19c and higher. See the Supported Features and Analytics Toolbox & Workflows sections for details on what's included.

Authentication with Oracle Wallet

Oracle connections in CARTO use Oracle Wallet for secure authentication. Oracle Wallet is a container that stores authentication and signing credentials, including private keys, certificates, and trusted certificates needed for secure connections.

If you want to create a connection to your Oracle database, you need to select the Oracle connector in the New connection dialog. After you select the connector click on the Setup connection button.

Required Parameters

To establish a connection, you need to provide the following:

  • Name: The name for the Oracle connection you're creating. You can use the name to identify different connections.

  • Wallet File (ZIP): Upload your Oracle Wallet file containing the security credentials and certificates. This file is typically provided by your Oracle database administrator.

  • Wallet Password: The password protecting your Oracle Wallet file.

  • Username: Name of the user account that will access the Oracle database.

  • Password: Password for the user account.

About Oracle Wallet

Oracle Wallet files are ZIP archives containing security credentials. Your database administrator can provide this wallet file along with the connection string and wallet password. For Oracle Autonomous Database, you can download the wallet file from the Oracle Cloud Console.

Once you have entered all the parameters, you can click the Connect button. CARTO will try to connect to your Oracle database using the wallet credentials. If everything is OK, your new connection will be registered.

CARTO will try to minimize and reuse the number of connections (sockets) made to the Oracle database. But in some cases the amount of connections can grow rapidly. If you have a strong requirement to control the incoming connections to your database, we recommend configuring connection pooling on your Oracle database.

The connections are only reused if they are going through the same CARTO-Oracle Connection. If you set up many Connections in your organization, the amount of database connections will grow faster.

Advanced options

Note: Self-service Data Observatory locations are not configurable from the connection form. Data Observatory subscriptions are delivered to Oracle through a request-based transfer — see Access data in Oracle.

  • CARTO temp location

    Location to store temporary tables used during workflow execution. These include intermediate tables with hashed names created by nodes in a workflow. By default, CARTO uses a carto_temp schema per database. Example: my_oracle_db.carto_temp

IP Whitelisting

If you're using CARTO Cloud, CARTO will connect to Oracle using a set of static IPs for each region. Check this guide to find the IPs you need to allow for your specific region.

Supported Features

Browsing your Oracle data

When you browse an Oracle connection — in Data Explorer, when adding a source in Builder or Workflows, or in the Import dialog — CARTO hides Oracle's internal tables to keep listings clean. Oracle automatically creates auxiliary tables for some of its features, and all of them contain a $ character in their name:

  • MDRT_…$, MDXT_…$, MDRS_…$ — Oracle Spatial index (R-tree) tables

  • DR$…$I, DR$…$K, DR$…$N, DR$…$R — Oracle Text index tables

  • MLOG$_… — materialized view logs

Analytics Toolbox & Workflows

  • Analytics Toolbox: The Analytics Toolbox for Oracle provides data enrichment and the H3 and Quadbin spatial-indexing modules. See the Analytics Toolbox for Oracle SQL reference for the complete list of available functions.

  • Workflows: Oracle supports most standard workflow components including spatial operations (buffer, intersection, centroid, etc.), data operations (select, join, filter, etc.), and Oracle-specific components (geocoding, raster loading and analysis). See the Workflows Components documentation for the complete list.

Last updated

Was this helpful?