JDBC Driver for Teradata

Build 25.0.9434

接続文字列オプション

接続文字列プロパティは、接続を確立するために使用できるさまざまなオプションです。このセクションでは、本プロバイダーの接続文字列で設定できるオプションの一覧を示します。詳細については各リンクをクリックしてください。

接続を確立する方法について詳しくは、接続の確立を参照してください。

Authentication


プロパティ説明
DataSourceThe Teradata server name or, equivalently, the DBC Name or TDPID.
AuthSchemeSpecifies the Logon Mechanism, which determines the connection's authentication and encryption capabilities
User認証するユーザーのユーザーID を指定します。
Password認証するユーザーのパスワードを指定します。
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.
BrowserSpecifies a command to override the default command to open the browser for Browser Authentication, which is chosen with the LOGMECH=BROWSER connection parameter.
BrowserTimeoutSpecifies the number of seconds that the Teradata JDBC Driver will wait for Browser Authentication to complete.
NewPasswordThis connection parameter enables an application to change an expired password automatically.

Connection


プロパティ説明
ConnectFailureTTLSpecifies the number of seconds to remember the last connection failure for each IP address and port combination. Connection attempts to that IP address and port are skipped during subsequent logins for the number of seconds that are specified by the Connect Failure time-to-live (CONNECTFAILURETTL) value.
ConnectFunctionSpecifies whether the Teradata Database should allocate a Logon Sequence Number (LSN) for this session or associate this session with an existing LSN.

Firewall


プロパティ説明
FirewallTypeprovider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。
FirewallServerファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。
FirewallPortプロキシベースのファイアウォールで使用するTCP ポートを指定します。
FirewallUserプロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。
FirewallPasswordプロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。

Logging


プロパティ説明
Logfileprovider が認証、クエリ実行、接続の詳細などのアクティビティを記録するログファイルのファイルパスを指定します。
LogSpecifies the logging level (verbosity) for a connection. Logging is always enabled. The logging levels are listed in order from terse to verbose.
VerbosityログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。
LogModulesログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。
MaxLogFileSize単一のログファイルの最大サイズをバイト単位で指定します。例えば、'10 MB' です。ファイルが上限に達すると、provider は日付と時刻を名前に付加した新しいログファイルを作成します。
MaxLogFileCountprovider が保持するログファイルの最大数を指定します。上限に達すると、最も古いログファイルが削除され、新しいログファイルのためのスペースが作られます。

Schema


プロパティ説明
Locationテーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
Tablesレポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。
Viewsレポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。

Caching


プロパティ説明
AutoCacheSELECT クエリの対象となるテーブルの内容が、指定されたキャッシュデータベースに自動的にキャッシュされるかどうかを指定します。
CacheDriverJDBC ドライバーのドライバークラス。指定されたドライバーは、すべてのキャッシュ操作のためにターゲットデータベースに接続するために使用されます。
CacheConnection指定されたキャッシュデータベースの接続文字列を指定します。
CacheLocationキャッシュデータベースへのパスとファイル名を指定します。
CacheTolerance指定されたキャッシュデータベース内の失効データに対する許容時間(秒単位)を指定します。AutoCache がTrue に設定されている必要があります。
OfflineライブTeradata データの代わりに、指定されたキャッシュデータベースからデータを取得します。
CacheMetadataprovider がテーブルメタデータをファイルベースのキャッシュデータベースにキャッシュするかどうかを決定します。

Miscellaneous


プロパティ説明
BatchSizeバッチ操作中に送信される各バッチに含まれる行の最大数を指定します。バッチ全体を1つのリクエストとして送信するには、BatchSize を 0 に設定します。
CharsetSpecifies the session character set for encoding and decoding character data transferred to and from the Teradata Database. The default value is ASCII.
ClientCharsetSpecifies the Java character set for encoding and decoding character data transferred to and from the Teradata Database.
ColumnNameControls the behavior of the ResultSetMetaData getColumnName and getColumnLabel methods.
ConnectionLifeTime接続の最大有効期間を秒単位で指定します。指定した時間が経過すると、provider は接続を閉じます。
ConnectOnOpenプロバイダーが接続を開くと同時にTeradata への接続を確立するかどうかを指定します。すぐに接続性を検証する必要がある場合は、ConnectOnOpen をTrue に設定します。
CopSpecifies whether COP Discovery is performed.
CopLastSpecifies how COP Discovery determines the last COP hostname.
DdstatsSpecify the value for DDSTATS.
DisableAutoCommitInBatchSpecifies whether or not disable the autocommit when executing the batch operation.
EncryptDataSpecify the EncryptData value, ON or OFF.
ErrorQueryCountSpecifies the maximum number of times that JDBC FastLoad will attempt to query FastLoad Error Table 1 after a JDBC FastLoad operation.
ErrorQueryIntervalSpecifies the number of milliseconds that JDBC FastLoad will wait in between attempts to query FastLoad Error Table 1 after a JDBC FastLoad operation.
ErrorTable1SuffixSpecifies the suffix for the name of FastLoad Error Table 1 created by JDBC FastLoad and JDBC FastLoad CSV.
ErrorTable2SuffixSpecifies the suffix for the name of FastLoad Error Table 2 created by JDBC FastLoad and JDBC FastLoad CSV.
ErrorTableDatabaseSpecifies the database name for the FastLoad error tables created by JDBC FastLoad and JDBC FastLoad CSV.
FieldSepSpecifies a field separator for use with JDBC FastLoad CSV only. The default separator is ',' (comma).
FinalizeAutoCloseSpecify the value for FinalizeAutoClose, ON or OFF.
GetURLCredentialsSpecify the value for GetURLCredentials, ON or OFF.
GovernSpecify the value for GOVERN, ON or OFF.
HttpsPortConnects to the database on the Transmission Control Protocol/Internet Protocol (TCP/IP) port specified for HTTPS/TLS connections.
LiteralUnderscoreAutomatically escape LIKE-predicate patterns in DatabaseMetaData calls, such as schemPattern and tableNamePattern.
LobSupportSpecify the value for LobSupport, ON or OFF.
LobTempTableSpecifies the name of a table with the following columns: id integer, bval blob, cval clob.
LogDataSpecifies additional data needed by a logon mechanism, such as a secure token, Distinguished Name, or a domain/realm name.
LogonSequenceNumberSpecifies an existing Logon Sequence Number (LSN) to associate this session with.
MaxMessageBodySpecifies the maximum Response Message size in bytes.
MaxRows集計やGROUP BY を含まないクエリで返される最大行数を指定します。
MaybeNullControls the behavior of the ResultSetMetaData.isNullable method.
Other特定のユースケースに対する追加の隠しプロパティを指定します。特定の問題に対処するため、サポートチームが推奨する場合にのみ使用してください。詳細は備考を参照してください。
PartitionSpecifies the Teradata Database partition for the Connection.
PoolIdleTimeout接続が閉じられるまでのプール内の最大アイドル時間を秒単位で指定します。 UseConnectionPooling=True が必要です。
PoolMaxSize接続プールで許容される接続の最大数を指定します。
PoolMinSize接続プールで常に維持される接続の最小数を指定します。
PoolWaitTime接続リクエストがプール内の利用可能な接続を待機する最大秒数を指定します。待ち時間がこの時間を超えるとエラーが返されます。
PrepSupportSpecifies whether the Teradata Database performs a prepare operation when a PreparedStatement or CallableStatement is created.
QueryPassthroughこのオプションは、クエリをTeradata サーバーにas-is で渡します。
Readonlyprovider からTeradata への読み取り専用アクセスを切り替えます。
ReconnectCountEnables Teradata Session Reconnect. Specifies the maximum number of times that the Teradata JDBC Driver will attempt to reconnect the session.
ReconnectIntervalEnables Teradata Session Reconnect. Specifies the number of seconds that the Teradata JDBC Driver will wait in between attempts to reconnect the session.
RedriveEnables Teradata Session Reconnect, and also enables automatic redriving of SQL requests interrupted by database restart.
RTKprovider のライセンスを取得するためのランタイムキーを指定します。設定されていないか無効な場合、provider は標準のライセンス方法をデフォルトとして使用します。このプロパティは、標準のライセンス方法がサポートされていないか、ランタイムキーが必要な環境でのみ必要です。
RunStartupSpecify the value for RunStartup, ON or OFF.
SessionsSpecifies the number of FastLoad or FastExport connections to be created, where 1 <= number of FastLoad or FastExport connections <= number of AMPs.
SipSupportControls whether the Teradata Database and Teradata JDBC Driver use StatementInfo Parcel (SIP) to convey metadata.
SlobReceiveThresholdControls how small LOB values are received from the Teradata Database. Small LOB values are pre-fetched from the Teradata Database before the application explicitly reads data from Blob/Clob objects.
SlobTransmitThresholdControls how small LOB values are transmitted to the Teradata Database.
SpSplSpecifies behavior for creating or replacing Teradata stored procedures.
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.
StrictEncodeSpecifies behavior for encoding character data to transmit to the Teradata Database.
TcpSpecifies one or more TCP socket settings, separated by plus signs ("+").
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
TModeSpecifies the transaction mode for the connection.
TNanoSpecifies the fractional seconds precision for all java.sql.Time values bound to a PreparedStatement or CallableStatement and transmitted to the Teradata Database as TIME or TIME WITH TIME ZONE values.
TrustedSqlSpecify the value for TrustedSql.
TSNanoSpecifies the fractional seconds precision for all java.sql.Timestamp values bound to a PreparedStatement or CallableStatement and transmitted to the Teradata Database as TIMESTAMP or TIMESTAMP WITH TIME ZONE values.
TypeSpecifies the type of protocol to be used with the Teradata Database for SQL statements.
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.
UseConnectionPooling接続プーリング機能を有効にすると、provider がリクエストごとに新しい接続を作成する代わりに、既存の接続を再利用できます。
UseXViewsSpecifies which Data Dictionary views should be queried to return result sets from DatabaseMetaData methods.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434