Teradata Enterprise
This topic describes Teradata data source setup and Dremio configuration.
Teradata Setup
Dremio provides the Teradata connector with Dremio Enterprise Edition. You must install the proprietary Teradata JDBC driver in order to connect to a Teradata source.
To setup Teradata as a data source:
- Download the Teradata JDBC jars: tdgssconfig.jar and TeraJDBC.jar. The Teradata JDBC driver version 16.20+ does not need the tdgssconfig.jar file.
- Move the jar files into the /opt/dremio/jars/3rdparty directory on every Dremio node.
- Restart Dremio coordinators and executors to pick up the newly-installed JDBC driver.
- Download Teradata Dremio plugin JAR and move it into the /opt/dremio/jars directory.
Dremio Configuration
Dremio provides the following configuration settings when adding the data source.
General
Specify general options with the following settings.
Connection
| Name | Description |
|---|---|
| Host | Teradata host name. |
| Port | Teradata port number. Defaults to 1025. |
| Service Name | Service Name of your database. |
Authentication
-
No authentication method
-
Master Authentication method (default)
- Username -- Teradata user name
- Password -- Teradata password
-
Encrypt connection -- Enables secure connections.
Advanced Options
Specify advanced options with the following settings.
- Show only the initial database used for connecting.
- Record fetch size: Number of records to fetch at once. Set to 0 (zero) to have Dremio automatically decide. Default: 10
- Maximum idle connections: The total number of connections allowed to be idle at a given time. By default, this is set to 8.
- Connection idle time (s): The amount of time (in seconds) allowed for a connection to remain idle before the connection is terminated. By default, this is set to 60.
- Query timeout: The amount of time (in seconds) allowed to wait for the results of a query. If this time expires, the connection being used is returned to an idle state.
Reflection Refresh
Specify refresh policy options with the following settings.
- Never refresh -- Specifies how often to refresh based on hours, days, weeks, or never.
- Never expire -- Specifies how often to expire based on hours, days, weeks, or never.
Metadata
Specify metadata options is handled with the following settings.