JAVA JDBC 経由で行われた TERADATA FASTLOADCSV 呼び出しに対して TENACITY & SLEEP を設定することは可能ですか?
私のjdbc接続文字列は
jdbc:teradata://99.99.99.99/TMODE=ANSI,CHARSET=UTF8,TYPE=FASTLOADCSV,LOG=INFO,SESSIONS=1
、次のようにFASTLOADスクリプトを実行するときにこれらのオプションを設定できます:-
By default the Tenacity feature is not turned on. The feature is turned on by the script command:
Tenacity n;
Where n specifies the number of hours FastLoad continues trying to logon. The n specification must be greater than zero. If zero is entered, Teradata FastLoad responds with an error message and terminates. During the Tenacity duration, FastLoad tries to log on every 6 minutes by default. The 6 minute default can be changed by using the script command:
Sleep m;
Where m specifies the number of minutes Teradata FastLoad sleeps before retrying the logon operation. The m specification must be greater than zero. If zero is entered, Teradata FastLoad responds with an error message, and terminates.
Below is an example of Tenacity usage. Suppose the commands in the script are:
Tenacity 1;
Sleep 15;
The Tenacity duration is 60 minutes and the Sleep interval is 15 minutes.
これらのオプションは、jdbc 経由で FASTLOADCSV を実行するときに設定できますか?