Skip to main content
The Self-Service Analytics Oracle connector lets you access the data available in Oracle databases using the Self-Service Analytics client. The Self-Service Analytics Oracle connector supports Oracle versions 13 - 23.4. Before you can establish a connection from Self-Service Analytics to Oracle storage, a connector server needs to be installed and configured. See Manage Connectors and Connector Servers for general instructions and Connect to Oracle for details specific to the Oracle connector. After setting up the connector, create data sources that specify the necessary connection information and identify the data you want to use. See Create and Manage Data Sources for more information. After you set up your data sources, create dashboards, self service reports, and visuals from the data in these data sources.

Feature Support

Connector support for specific features is shown in the following table. Key: Y - Supported; N - Not Supported; N/A - not applicable

Connect to Oracle

The Oracle connector requires a JDBC driver to be configured before you can connect to your data source. You can download the driver from the vendor’s site. If you are upgrading, keep in mind you need to configure the JDBC driver- see Upgrade Self-Service Analytics for instructions. For more information and steps, see Add a JDBC Driver. When setting up a connection to Oracle, provide the following.
  • Specify the connection name and JDBC URL. The JDBC URL for Oracle database being connected must be: jdbc:oracle:thin@//ORACLEHOST:PORT/DATABASE_NAME or jdbc:oracle:thin:@ORACLEHOST:PORT:SID To connect to Oracle with TLS enabled, see Connect to Oracle with TLS Enabled.
  • Provide the user name and password for Oracle database.
  • You can use an Impersonation feature to work with Oracle data source on behalf of a proxy user. Before you begin, you must configure proxy users with the corresponding privileges in the Oracle database. To use this, select the Impersonation Enabled checkbox and specify the Impersonation Username and Impersonation Password. See Configure Settings to Use a Proxy User.
  • If you need to use Self-Service Analytics’s Oracle connector to access a table that uses the XML data type, complete the additional setup steps described in Enable Access to Oracle Tables That Use the XML Data Type.
If there are any changes in the Oracle database, you must clear the Self-Service Analytics cache. See How Self-Service Analytics Caches Data.

Connect to Oracle with TLS Enabled

Before you attempt to connect to Oracle with TLS enabled, make sure you have first installed Java Cryptography Extension (JCE). See https://www.oracle.com/java/technologies/javase-jce8-downloads.html. Connect to Oracle with TLS enabled
  1. Create a JDBC URL with TLS parameters. To specify TLS-related parameters, use the following template for a JDBC URL:
    where:
    • <oracle_host> is the host of the Oracle database.
    • <oracle_tls_port> is the port of the Oracle database with TLS enabled
    • <service_id> is the Oracle service ID or database to which you want to connect
    Make sure your JDBC URL uses the correct protocol. For a TLS connection, you should use tcps.
  2. If your Oracle database is configured with a custom certificate, you should configure a truststore for the Oracle connector, as described in the following steps:
    1. Copy a truststore to the machine on which Self-Service Analytics’s Oracle connector is running.
    2. Add the following lines to file edc-oracle.jvm.
      • Linux: Copy the file edc-oracle.jvm from the /opt/zoomdata/conf directory if a copy is not in /etc/zoomdata/.
      • Windows: Copy the file edc-oracle.jvm from the <install-path>/conf directory if a copy is not in <install-path>/conf-modify.
      where:
      • <path_to_truststore> is the absolute path to your truststore
      • <truststore_password> is the password for your truststore
  3. Restart the Oracle connector microservice, zoomdata-edc-oracle. See Restart Microservices.

Configure Settings to Use a Proxy User

To enable a Self-Service Analytics user work as a proxy user, specify the user attributes of corresponding oracle user (that will be used as proxy user) in the account details of a Self-Service Analytics user. You must specify the user attributes for each Self-Service Analytics user that will access the Oracle data source as a proxy user. Perform the following steps:
  1. Log in as an administrator or member of the supervisors group for your instance or selected tenant.
  2. Select Users from the menu. The Users work area appears, listing all users in your instance or selected tenant.
  3. Select a user from the list and select their Custom Attributes tab.
  4. Select Add Custom Attribute. Specify credentials for a user as follows:
  • Key - specify the login attribute for proxy user. Corresponding reference name is listed in the Usage column. You have to specify the value from the Usage column in the Impersonation Username field while creating a connection.
  • Value - specify the actual name of the oracle user that you want to use as proxy user.
  • Select the checkbox in the Secure column to encrypt the value of the key.
  1. If the proxy user requires a password, select Add Custom Attribute and specify the key and value for the password. You have to specify the reference name from the Usage column in the Impersonation Password field while creating the connection.

Enable Access to Oracle Tables That Use the XML Data Type

Before you enable access to Oracle tables that use the XML data type, be sure you have set up the Oracle JDBC driver. See Add a JDBC Driver. Enable access to Oracle tables that use the XML data type
  1. Download the xdb6.jar and xmlparserv2.jar files from Oracle to the corresponding Self-Service Analytics instance. You can download obtain xdb6.jar by downloading it from https://www.oracle.com/database/technologies/jdbc-ucp-122-downloads.html. You can obtain xmlparserve2.jar by extracting it from the lib directory in the Oracle XML Developers Kit, which can be downloaded from https://www.oracle.com/downloads/. Place these files in the following folder:
    • Linux: /opt/zoomdata/lib/edc-oracle/
    • Windows: <install-path>/lib/edc-oracle/
    Note that this is the same folder where you downloaded the Oracle JDBC driver (see Add a JDBC Driver).
  2. Add the following lines to the connector JVM file:
    • Linux: /etc/zoomdata/edc-oracle.jvm
    • Windows: <install-path>/conf-modify/
  3. Restart the Oracle connector microservice, zoomdata-edc-oracle. See Restart Microservices.