Click here to Skip to main content
15,886,071 members
Articles / Database Development / MySQL
Tip/Trick

Improving Pentaho Data Integration Performance on MySQL

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
14 Nov 2015CPOL 8.3K  
Improving Pentaho Data Integration with MySQL: improving performance.

Introduction

Pentaho Data Integration works well with MySQL, however, some adjustments will be necessary.

Background

Pentaho Data Integration is a free ETL tool that is versatile and easy to learn. While it is very easy to get started with the tool, mastering the tool takes time, and knowing the "tricks" to make it work takes practice. Having been said, online resources can be very helpful to solve some problems you may be experiencing, but not all of them.

Juilien Hofstede has a blog entry about how to improve MySQL output for table output or update steps.

In his post, he recommends using the following options for your database connections:

SQL
useServerPrepStmts=false
rewriteBatchedStatements=true
useCompression=true

Using the Code

While this will work nicely with native JDBC connections, it will not increase performance for JNDI connections. For JNDI connections, you will need to code these options into the JNDI URL. To do so, simply add these options to the jdbc url in your jdbc.properties file like so:

SQL
mydb/type=javax.sql.DataSource
mydb/driver=org.gjt.mm.mysql.Driver
mydb/url=jdbc:mysql://localhost:3306/
report?rewriteBatchedStatements=true&useServerPrepStmts=false&useCompression=true
mydb/user=root
mydb/password=admin

You can find the original article here.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member doesn't quite have enough reputation to be able to display their biography and homepage.

Comments and Discussions

 
-- There are no messages in this forum --