Etl 培训
- 格式:pdf
- 大小:2.54 MB
- 文档页数:52
Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
Informatica PowerCenter V7.1.2
基础培训
杨晓东 姜炜
2005年06月
1/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜 1. INFORMATICA POWERCENTER 体系结构 4 2. REPOSITORY SERVER和INFORMATICA SERVER介绍 5 3. INFORMATICA客户端工具介绍 7 4. REPOSITORY SERVER ADMINISTRATION CONSOLE介绍 13
4.1. 创建知识库 13
4.2. 管理知识库一览 15 5. REPOSITORY MANAGER介绍 16
5.1. “REPOSITORY”菜单 16
5.2. “EDIT”菜单 16
5.3. 对象锁(OBJECTS LOCKS) 17
5.4. 元数据扩展(METADATA EXTENSIONS) 18
5.5. “目录”简介 18
5.6. “SECURITY”菜单 20
5.7. “ANALYZE” 菜单 20 6. DESIGNER介绍 21
6.1. “REPOSITORY”菜单 21
6.2. “TOOLS”菜单 21
6.3. “SOURCES”菜单 22
6.4. 练习1:引入源数据库表结构 23
6.5. 练习2:引入源平面文件结构 24
6.6. 练习3:预览源数据 25
6.7. “TARGETS”菜单 26
6.8. 练习4:自动获得目标结构 26
6.9. 练习5:手工创建目标结构 27
6.10. 练习6:生成目标物理表 28
6.11. 练习7:生成目标平面文件结构 29
6.12. “TRANSFORMATION”菜单 29
6.13. “MAPPLETS”菜单 29
6.14. “MAPPINGS”菜单 30
6.15. 转换组件(TRANSFORMATION)简介 31
6.16. 练习8: 创建PASS THROUGH MAPPING 33
6.17. 练习9: AGGREGATION 35
6.18. 练习10: JOIN和LOOKUP 36 7. WORKFLOW MANAGER介绍 38
2/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
7.1. “REPOSITORY”菜单 38
7.2. “TOOLS”菜单 39
7.3. “WORKFLOWS”菜单 40
7.4. “CONNECTIONS”菜单 41
7.5. 练习11: 创建关系型数据源和目标连接 43
7.6. 练习12: 创建SESSON(对应M_SIMPLE) 44
7.7. 练习13: 创建SESSON(对应M_AGGREGATION) 46
7.8. 练习14: 创建SESSON(对应M_JOIN_LOOKUP) 48
7.9. WORKFLOW属性 49 8. WORKFLOW MONITOR介绍 51
3/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
1. Informatica PowerCenter 体系结构
(Informatica PowerCenter 体系结构图)
4/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
2. Repository Server和Informatica Server介绍
Repository Server:
Repository Server管理来自客户端程序的元数据连接请求,它能够管理多个在网络中不同机器上的知
识库,每一个注册的知识库都有一个Repository Agent跟Repository Server交互元数据。
(Informatica Repository Server配置界面)
Informatica Server:
Informatica Server读取存储在知识库中的Mapping和Workflow元数据,根据元数据规则实现ETL
任务调度。
5/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
(Informatica Server配置界面)
在Window平台启动Repository Server和Infromatica Server的方法:
(“服务”控制面板)
从“服务”控制面板,先后启动Informatica Repository Server和 Informatica Server。
6/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
3. Informatica客户端工具介绍
Informatica提供基于对象的,无需编码的全图形化开发环境,最大化提高开发生产力,有5个客户端工具:
1) Designer
定义源及目标数据结构,设计转换规则,生成ETL映射。
7/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
(Designer客户端工具)
2) Reposiotry Manager
基于元数据的目录维护,扩展元数据,对象锁管理,依赖性分析,用户安全管理等维护操作。
8/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
(Repository Manager客户端工具)
3) Repository Server Administration Console 整个知识库的维护操作,如知识库的创建,备份,恢复,升级等。
9/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
(Repository Server Administration Console客户端工具)
4) Workflow Manager ETL Workflow的管理和调度,可实现基于时间、事件和指示文件的作业调度机制。
10/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
(Workflow Manager客户端工具)
5) Workflow Monitor
监控workflow和session运行情况,生成详细的工作日志及统计报告。
11/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
(Workflow Monitor客户端工具)
12/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
4. Repository Server Administration Console介绍
整个知识库的维护操作,如知识库的创建,备份,恢复,升级等。
4.1. 创建知识库
Informatica Powercenter/PowerMart是元数据驱动的,所有元数据都存储在知识库中, 该元数据可以保
存在所有主流的关系型数据库中,如:Oracle, Sybase, Microsoft SQL server, DB2, Informix, Teradata。
首先,就是要创建一个元数据知识库。
1) 从Repository Manager或者直接从程序组里面启动Reposiotry Server Administration Console。
(启动Reposiotry Server Administration Console客户端工具)
2) 注册一个Repository Server连接。
(注册一个Repository Server连接) 3) 连接到Repository Server上,输入Repository Server的管理员密码。
13/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
4) 添加一个知识库连接,针对不同的数据库有不同的连接配置。
(注册一个新的Repository连接)
14/52 Informatica PowerCenter V7.1.2 基础培训 by 杨晓东 姜炜
5) 编辑完新资料库的属性,注意一定要输入“License”Tab页中的产品KEY,点击“确定”开始创建
资料库。
(开始创建知识库)
4.2. 管理知识库一览
Informatica知识库是一个包含元数据的数据库表的集合,一个Repository Server可以管理多个知识
库,Repository Server管理所有客户端跟知识库之间的元数据交换事务。
使用Administration Console能作如下的操作:
添加、编辑,删除知识库配置信息
导出和导入知识库配置信息
创建知识库
拷贝知识库
从数据库中删除知识库
备份和恢复知识库(Backup, Restore)
启动、停止、启用和禁用知识库
发送知识库通告信息(Notify Users)
查看知识库连接以及对象锁信息
关闭知识库连接
注册和删除知识库插件
升级知识库(Upgrade)
将Local知识库升级到Global知识库(Make Global)
注册到Global知识库中或者取消注册(Register, Unregister) 更新知识库主域连接信息(Propagate)
15/52