Teradata Connector for CData Sync

Build 23.0.8839
  • Teradata
    • Establishing a Connection
    • Advanced Features
      • Firewall and Proxy
    • Connection String Options
      • Authentication
        • DataSource
        • AuthScheme
        • User
        • Password
        • Database
        • Port
        • Account
      • Firewall
        • FirewallType
        • FirewallServer
        • FirewallPort
        • FirewallUser
        • FirewallPassword
      • Logging
        • LogModules
      • Schema
        • Location
        • BrowsableSchemas
        • Tables
        • Views
      • Miscellaneous
        • DisableAutoCommitInBatch
        • HttpsPort
        • MaxRows
        • Other
        • QueryPassthrough
        • SslCa
        • SslCaPath
        • SslMode
        • SslProtocol
        • Timeout
        • UpperCaseIdentifiers
        • UseXViews
    • Third Party Copyrights

Teradata Connector for CData Sync

Overview

The CData Sync App provides a straightforward way to continuously pipeline your Teradata data to any database, data lake, or data warehouse, making it easily available for Analytics, Reporting, AI, and Machine Learning.

The Teradata connector can be used from the CData Sync application to pull data from Teradata and move it to any of the supported destinations.

Teradata Version Support

Teradata Connector for CData Sync

Establishing a Connection

Adding a Connection to Teradata

To add a connection to Teradata:

  1. In the application console, navigate to the Connections page.
  2. At the Add Connections panel, select the icon for the connection you want to add.
  3. If the Teradata icon is not available, click the Add More icon to download and install the Teradata connector from the CData site.

For required properties, see the Settings tab.

For connection properties that are not typically required, see the Advanced tab.

The Sync App wraps the official Teradata Database driver; you can connect to the CData Sync App using the same connection properties and access the same functionality as the underlying Teradata driver.

Before You Connect

Connecting to Teradata

Required Properties

To connect to Teradata, provide the following authentication information and specify the database server name.

  • AuthScheme: Set this to either TD2 (default) or LDAP depending on the required authentication mechanism of your Teradata server.
  • User: Set this to the user name of a Teradata user.
  • Password: Set this to the password of the Teradata user.
  • DataSource: Specify the Teradata server name, DBC Name, or TDPID.
  • Port: Specify the port the server is running on.
  • Database: Specify the database name. If not specified, the Sync App connects to the default database.

TLS/SSL Configuration

Teradata Connector for CData Sync

Advanced Features

This section details a selection of advanced features of the Teradata Sync App.

Firewall and Proxy

Configure the Sync App for compliance with Firewall and Proxy, including Windows proxies. You can also set up tunnel connections.

Logging

See Logging for an overview of configuration settings that can be used to refine CData logging. For basic logging, you only need to set two connection properties, but there are numerous features that support more refined logging, where you can select subsets of information to be logged using the LogModules connection property.

Teradata Connector for CData Sync

Firewall and Proxy

Connecting Through a Firewall or Proxy

Set the following properties:

  • To use a proxy-based firewall, set FirewallType, FirewallServer, and FirewallPort.
  • To tunnel the connection, set FirewallType to TUNNEL.
  • To authenticate, specify FirewallUser and FirewallPassword.
  • To authenticate to a SOCKS proxy, additionally set FirewallType to SOCKS5.

Teradata Connector for CData Sync

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
DataSourceThe Teradata server name or, equivalently, the DBC Name or TDPID.
AuthSchemeSpecifies the Logon Mechanism, which determines the connection's authentication and encryption capabilities.
UserThe Teradata user account used to authenticate.
PasswordThe password used to authenticate the user.
DatabaseThe database selected as the default database when a Teradata connection is opened.
PortConnects to the Teradata Database on the TCP/IP port specified. The default Teradata Database port is 1025.
AccountSpecifies an account string to override the default account string defined for the Teradata Database user.

Firewall


PropertyDescription
FirewallTypeThe protocol used by a proxy-based firewall.
FirewallServerThe name or IP address of a proxy-based firewall.
FirewallPortThe TCP port for a proxy-based firewall.
FirewallUserThe user name to use to authenticate with a proxy-based firewall.
FirewallPasswordA password used to authenticate to a proxy-based firewall.

Logging


PropertyDescription
LogModulesCore modules to be included in the log file.

Schema


PropertyDescription
LocationA path to the directory that contains the schema files defining tables, views, and stored procedures.
BrowsableSchemasThis property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
TablesThis property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
ViewsRestricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.

Miscellaneous


PropertyDescription
DisableAutoCommitInBatchSpecifies whether or not disable the autocommit when executing the batch operation.
HttpsPortConnects to the database on the Transmission Control Protocol/Internet Protocol (TCP/IP) port specified for HTTPS/TLS connections.
MaxRowsLimits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
OtherThese hidden properties are used only in specific use cases.
QueryPassthroughThis option passes the query to the Teradata server as is.
SslCaSpecifies the file name of a PEM file that contains Certificate Authority (CA) certificates for use with SSLMODE=VERIFY-CA or VERIFY-FULL.
SslCaPathSpecifies a directory of PEM files that contain Certificate Authority (CA) certificates for use with SSLMODE=VERIFY-CA or VERIFY-FULL.
SslModeSpecifies the mode for connections to the database.
SslProtocolSpecifies the TLS protocol for HTTPS/TLS connections.
TimeoutThe value in seconds until the timeout error is thrown, canceling the operation.
UpperCaseIdentifiersThis property reports all identifiers in uppercase. This is the default for Oracle databases and thus allows better integration with Oracle tools such as the Oracle Database Gateway.
UseXViewsSpecifies which Data Dictionary views should be queried to return result sets from DatabaseMetaData methods.
Teradata Connector for CData Sync

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
DataSourceThe Teradata server name or, equivalently, the DBC Name or TDPID.
AuthSchemeSpecifies the Logon Mechanism, which determines the connection's authentication and encryption capabilities.
UserThe Teradata user account used to authenticate.
PasswordThe password used to authenticate the user.
DatabaseThe database selected as the default database when a Teradata connection is opened.
PortConnects to the Teradata Database on the TCP/IP port specified. The default Teradata Database port is 1025.
AccountSpecifies an account string to override the default account string defined for the Teradata Database user.
Teradata Connector for CData Sync

DataSource

The Teradata server name or, equivalently, the DBC Name or TDPID.

Remarks

The Teradata server name or, equivalently, the DBC Name or TDPID.

Teradata Connector for CData Sync

AuthScheme

Specifies the Logon Mechanism, which determines the connection's authentication and encryption capabilities.

Remarks

Specifies the Logon Mechanism, which determines the connection's authentication and encryption capabilities

Teradata Connector for CData Sync

User

The Teradata user account used to authenticate.

Remarks

Together with Password, this field is used to authenticate against the Teradata server.

Teradata Connector for CData Sync

Password

The password used to authenticate the user.

Remarks

The User and Password are together used to authenticate with the server.

Teradata Connector for CData Sync

Database

The database selected as the default database when a Teradata connection is opened.

Remarks

The database selected as the default database when a Teradata connection is opened.

Teradata Connector for CData Sync

Port

Connects to the Teradata Database on the TCP/IP port specified. The default Teradata Database port is 1025.

Remarks

Connects to the Teradata Database on the TCP/IP port specified. The default Teradata Database port is 1025.

Teradata Connector for CData Sync

Account

Specifies an account string to override the default account string defined for the Teradata Database user.

Remarks

Specifies an account string to override the default account string defined for the Teradata Database user. Accounts are used by the Teradata Database for workload management and resource usage monitoring.

Teradata Connector for CData Sync

Firewall

This section provides a complete list of the Firewall properties you can configure in the connection string for this provider.


PropertyDescription
FirewallTypeThe protocol used by a proxy-based firewall.
FirewallServerThe name or IP address of a proxy-based firewall.
FirewallPortThe TCP port for a proxy-based firewall.
FirewallUserThe user name to use to authenticate with a proxy-based firewall.
FirewallPasswordA password used to authenticate to a proxy-based firewall.
Teradata Connector for CData Sync

FirewallType

The protocol used by a proxy-based firewall.

Remarks

This property specifies the protocol that the Sync App will use to tunnel traffic through the FirewallServer proxy.

Type Default Port Description
TUNNEL 80 When this is set, the Sync App opens a connection to Teradata and traffic flows back and forth through the proxy.
SOCKS4 1080 When this is set, the Sync App sends data through the SOCKS 4 proxy specified by FirewallServer and FirewallPort and passes the FirewallUser value to the proxy, which determines if the connection request should be granted.
SOCKS5 1080 When this is set, the Sync App sends data through the SOCKS 5 proxy specified by FirewallServer and FirewallPort. If your proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

Teradata Connector for CData Sync

FirewallServer

The name or IP address of a proxy-based firewall.

Remarks

This property specifies the IP address, DNS name, or host name of a proxy allowing traversal of a firewall. The protocol is specified by FirewallType: Use FirewallServer with this property to connect through SOCKS or do tunneling.

Teradata Connector for CData Sync

FirewallPort

The TCP port for a proxy-based firewall.

Remarks

This specifies the TCP port for a proxy allowing traversal of a firewall. Use FirewallServer to specify the name or IP address. Specify the protocol with FirewallType.

Teradata Connector for CData Sync

FirewallUser

The user name to use to authenticate with a proxy-based firewall.

Remarks

The FirewallUser and FirewallPassword properties are used to authenticate against the proxy specified in FirewallServer and FirewallPort, following the authentication method specified in FirewallType.

Teradata Connector for CData Sync

FirewallPassword

A password used to authenticate to a proxy-based firewall.

Remarks

This property is passed to the proxy specified by FirewallServer and FirewallPort, following the authentication method specified by FirewallType.

Teradata Connector for CData Sync

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
LogModulesCore modules to be included in the log file.
Teradata Connector for CData Sync

LogModules

Core modules to be included in the log file.

Remarks

Only the modules specified (separated by ';') will be included in the log file. By default all modules are included.

See the Logging page for an overview.

Teradata Connector for CData Sync

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
LocationA path to the directory that contains the schema files defining tables, views, and stored procedures.
BrowsableSchemasThis property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
TablesThis property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
ViewsRestricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.
Teradata Connector for CData Sync

Location

A path to the directory that contains the schema files defining tables, views, and stored procedures.

Remarks

The path to a directory which contains the schema files for the Sync App (.rsd files for tables and views, .rsb files for stored procedures). The folder location can be a relative path from the location of the executable. The Location property is only needed if you want to customize definitions (for example, change a column name, ignore a column, and so on) or extend the data model with new tables, views, or stored procedures.

If left unspecified, the default location is "%APPDATA%\\CData\\Teradata Data Provider\\Schema" with %APPDATA% being set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

Teradata Connector for CData Sync

BrowsableSchemas

This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.

Remarks

Listing the schemas from databases can be expensive. Providing a list of schemas in the connection string improves the performance.

Teradata Connector for CData Sync

Tables

This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.

Remarks

Listing the tables from some databases can be expensive. Providing a list of tables in the connection string improves the performance of the Sync App.

This property can also be used as an alternative to automatically listing views if you already know which ones you want to work with and there would otherwise be too many to work with.

Specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.

Note that when connecting to a data source with multiple schemas or catalogs, you will need to provide the fully qualified name of the table in this property, as in the last example here, to avoid ambiguity between tables that exist in multiple catalogs or schemas.

Teradata Connector for CData Sync

Views

Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.

Remarks

Listing the views from some databases can be expensive. Providing a list of views in the connection string improves the performance of the Sync App.

This property can also be used as an alternative to automatically listing views if you already know which ones you want to work with and there would otherwise be too many to work with.

Specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.

Note that when connecting to a data source with multiple schemas or catalogs, you will need to provide the fully qualified name of the table in this property, as in the last example here, to avoid ambiguity between tables that exist in multiple catalogs or schemas.

Teradata Connector for CData Sync

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
DisableAutoCommitInBatchSpecifies whether or not disable the autocommit when executing the batch operation.
HttpsPortConnects to the database on the Transmission Control Protocol/Internet Protocol (TCP/IP) port specified for HTTPS/TLS connections.
MaxRowsLimits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
OtherThese hidden properties are used only in specific use cases.
QueryPassthroughThis option passes the query to the Teradata server as is.
SslCaSpecifies the file name of a PEM file that contains Certificate Authority (CA) certificates for use with SSLMODE=VERIFY-CA or VERIFY-FULL.
SslCaPathSpecifies a directory of PEM files that contain Certificate Authority (CA) certificates for use with SSLMODE=VERIFY-CA or VERIFY-FULL.
SslModeSpecifies the mode for connections to the database.
SslProtocolSpecifies the TLS protocol for HTTPS/TLS connections.
TimeoutThe value in seconds until the timeout error is thrown, canceling the operation.
UpperCaseIdentifiersThis property reports all identifiers in uppercase. This is the default for Oracle databases and thus allows better integration with Oracle tools such as the Oracle Database Gateway.
UseXViewsSpecifies which Data Dictionary views should be queried to return result sets from DatabaseMetaData methods.
Teradata Connector for CData Sync

DisableAutoCommitInBatch

Specifies whether or not disable the autocommit when executing the batch operation.

Remarks

Specifies whether or not disable the autocommit when executing the batch operation.

Teradata Connector for CData Sync

HttpsPort

Connects to the database on the Transmission Control Protocol/Internet Protocol (TCP/IP) port specified for HTTPS/TLS connections.

Remarks

The default port is 443 for HTTPS/TLS connections to the database. HTTPS/TLS connections are available with Teradata JDBC Driver 17.10.00.07 and later, with Teradata Advanced SQL Engine 17.10 and later, or Teradata Advanced SQL Engine 16.20.53.30 and later.

Teradata Connector for CData Sync

MaxRows

Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.

Remarks

Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.

Teradata Connector for CData Sync

Other

These hidden properties are used only in specific use cases.

Remarks

The properties listed below are available for specific use cases. Normal driver use cases and functionality should not require these properties.

Specify multiple properties in a semicolon-separated list.

Integration and Formatting

DefaultColumnSizeSets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.
ConvertDateTimeToGMTDetermines whether to convert date-time values to GMT, instead of the local time of the machine.
RecordToFile=filenameRecords the underlying socket data transfer to the specified file.

Teradata Connector for CData Sync

QueryPassthrough

This option passes the query to the Teradata server as is.

Remarks

When this is set, queries are passed through directly to Teradata.

Teradata Connector for CData Sync

SslCa

Specifies the file name of a PEM file that contains Certificate Authority (CA) certificates for use with SSLMODE=VERIFY-CA or VERIFY-FULL.

Remarks

Specifies the file name of a PEM file that contains Certificate Authority (CA) certificates for use with SSLMODE=VERIFY-CA or VERIFY-FULL. HTTPS/TLS connections are available with Teradata JDBC Driver 17.10.00.07 and later, with Teradata Advanced SQL Engine 17.10 and later, or Teradata Advanced SQL Engine 16.20.53.30 and later.

Teradata Connector for CData Sync

SslCaPath

Specifies a directory of PEM files that contain Certificate Authority (CA) certificates for use with SSLMODE=VERIFY-CA or VERIFY-FULL.

Remarks

Specifies a directory of PEM files that contain Certificate Authority (CA) certificates for use with SSLMODE=VERIFY-CA or VERIFY-FULL. Only files with an extension of .pem are used. Other files in the specified directory are not used. HTTPS/TLS connections are available with Teradata JDBC Driver 17.10.00.07 and later, with Teradata Advanced SQL Engine 17.10 and later, or Teradata Advanced SQL Engine 16.20.53.30 and later.

Teradata Connector for CData Sync

SslMode

Specifies the mode for connections to the database.

Remarks

Specifies the mode for connections to the database. HTTPS/TLS connections are available with Teradata JDBC Driver 17.10.00.07 and later, with Teradata Advanced SQL Engine 17.10 and later, or Teradata Advanced SQL Engine 16.20.53.30 and later.

Teradata Connector for CData Sync

SslProtocol

Specifies the TLS protocol for HTTPS/TLS connections.

Remarks

Specifies the TLS protocol for HTTPS/TLS connections. HTTPS/TLS connections are available with Teradata JDBC Driver 17.10.00.07 and later, with Teradata Advanced SQL Engine 17.10 and later, or Teradata Advanced SQL Engine 16.20.53.30 and later.

Teradata Connector for CData Sync

Timeout

The value in seconds until the timeout error is thrown, canceling the operation.

Remarks

If Timeout = 0, operations do not time out. The operations run until they complete successfully or until they encounter an error condition.

If Timeout expires and the operation is not yet complete, the Sync App throws an exception.

Teradata Connector for CData Sync

UpperCaseIdentifiers

This property reports all identifiers in uppercase. This is the default for Oracle databases and thus allows better integration with Oracle tools such as the Oracle Database Gateway.

Remarks

Set this property to report all identifiers, including table and column names, in uppercase. This is the default for Oracle databases and thus allows better integration with Oracle tools such as the Oracle Database Gateway. For example, you can use this property to avoid quoting identifiers.

Teradata Connector for CData Sync

UseXViews

Specifies which Data Dictionary views should be queried to return result sets from DatabaseMetaData methods.

Remarks

Specifies which Data Dictionary views should be queried to return result sets from DatabaseMetaData methods. When the user does not specify the property, the driver creates the connection. The official driver uses the default value.

Teradata Connector for CData Sync

Third Party Copyrights

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839