首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Teradata驱动程序设置FASTLOADCSV韧性&睡眠

使用Teradata驱动程序设置FASTLOADCSV韧性&睡眠
EN

Stack Overflow用户
提问于 2013-10-03 13:48:56
回答 1查看 570关注 0票数 1

是否可以为通过JDBC进行的调用设置坚韧和睡眠?

我的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时,可以设置这些选项吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-10-03 20:57:44

我不认为这些选项存在,因为FASTLOADCSV与FastLoad不一样,它只是使用低级别的FastLoad协议。

您可能需要在程序中实现睡眠和坚韧逻辑,检查2633(?)连接时出错。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19160968

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档