[Logo] MyDWBI---致力于打造最专业的中文数据仓库,商务智能社区
  [Groups]首页  [Blog] 博客   [Search] 搜索   [Recent Topics] 最新主题   [Hottest Topics] 热门主题   [Hottest Download] 热门下载   [Members]  会员列表  
[Register] 会员注册 / 
[Login] 登入 
文章发表人是: toledo
论坛首页 » 个人资料 toledo » 文章发表人是 toledo
发表人 内容
简单的说global repository里面shared的信息可以在同一domain里的local repositories被shortcut,正如在local repositories里,shared folder下面的信息可以被其他folder shortcut一样。
还有很多约束,比如 local repositories可以upgrade到global repository ,但是这个过程是irreversible的,文档里其实有介绍,但是要仔细读,欢迎指正和添加
In INFA, the very beginning of your work is to define the source and target, could you re-evaluate your requirement and what INFA can do?
高精度运算肯定会影响性能的,CPU需要额外运算,哈哈
需要高精度肯定需要付出代价的,我没什么好的想法
please refer to http://www.mydwbi.com/posts/list/254.page
First of all, you need to define the target in INFA, so it's not so dynamic.
You can define the target base on source, generate the sql in INFA target tab and do what lynx286 has mentioned.
I think this apporach can meet your needs.
1. 建一控制表,保存要循环处理的表名以及标识符'N'或者'Y'表示处理与否
2. 在Mapping Level定义parameter $$table_name,在Workflow Level定义parameter $table_ind
3. 用shell或者INFA mapping生成parameter file,分别给$$table_name,$$table_ind赋值,只取'N'的行,每次那一行
[global]
$$table_name=XXXX
$table_ind=N
4. 在mapping里,source qualifier用sql overwrite,表名用参数$$table_name
5. workflow里link上判断$table_ind是不是N,N的话执行mapping对应的session,否则不执行,loaded完数据更新控制表相应的到'Y'
在session的后从command调这个workflow,模拟循环
同意你的做法,按需求来,呵呵
reusable lookup吧,因为这样每天会变化的话persistent也没多少意思,还是需要重新建
Overwrite Sql Query只把需要的信息cache起来,基本上能想到的就这些了,呵呵
抛砖引玉下
LS正解
persistent cache 一般用在数据不大会更新的状况,不然就没有意义了,但是当你知道数据已经有了更新,就需要重新建cache了,你可以用dynamic cache,如果你的lookup表也是你的目标表,如果不是这种情况,删掉cache file,让它重新建也是个方法,哈哈
对于同一个session里的reusable lookup,你多次调用时,它的cache是共享的,一般session结束后cache就释放了,但是你可以设置persistent cache,这样cache file会被保存,以便于下次利用
INFA supports Partition and Parellel features within the mapping also. Please refer to the help document.
sure, you can use getsessionlog/GetWorkflowLog to collect the info when the workflow is still running. However, i think it's very hard to minitor the workflow pure 'real-time' under the command line mode, becoz both commands only fetch the logs and diaplay them at the point when you execute these command, they don't self-refresh.
 
论坛首页 » 个人资料 toledo » 文章发表人是 toledo
前往:   

网站地图 |  联系我们 |   |  招聘版主 |  免责声明 |  意见建议 |  系统帮助 | 
Copyright © 2008, mydwbi.com, All Rights Reserved | Powered by JForum 2.1.8 © JForum Team