Mysql--Pentaho how to export the data from MySQL and import into HANA Database

这篇文档介绍了如何利用Pentaho将MySQL数据库中的数据导出并导入到HANA数据库中。首先需要将MySQL和HANA数据库的jar文件添加到Pentaho库中。然后在Pentaho中创建转换,设置输入和输出,使用Stream Lookup进行字段映射,并通过Table Output组件写入HANA数据库。最后通过Select Values调整输入输出的数据结构,并运行转换完成数据迁移。
摘要由CSDN通过智能技术生成

This document is for the introduction of the basic function of Pentaho and how to export the data from MySQL and import into HANA Database.

 下载地址参照:(30天试用)http://www.pentaho.com/download

Before Start

You need to copy the jar files of database connector for both MySQL and HANA DB to the library folder of Pantaho before we start this ETL tool. Here is the list:

 

1. MySQL: mysql-connector-java-5.1.28-bin.jar

You may download the file from MySQL official website.

http://dev.mysql.com/downloads/connector/j/

 

2. Hana DB: ngdbc.jar

You could find this file in the directory of you SAP HANA Studio:
\%HANA Studio%\configuration\org.eclipse.osgi\bundles\2000\1\.cp\lib

 

3. Target folder:  \%pentaho%\design-tools\data-integration\lib

 

Open Pentaho and create a transformation

1. Open “Data Integration”.

2. Click “Cancel”.

3. Now the “Spoon” is open.

4. Create a new Transformation.

5. Now you could drag and drop the components from Design panel.

 

Create Inputs

1. Drag and Drop “Table input” component to the design panel.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值