--- kettle kettle tutorial job scheduling, annex (Excel) configuration table, a table of all operations are scheduled

In peacetime work which, encounter this situation: copy a library of hundreds or even thousands of tables, and can not be set dblink, then you can accomplish this task quickly through the kettle.

According to the normal schedule, there are hundreds of tables, we would write hundreds of converts to deal with, very scientific, I gave you bring the following configuration is completed by a full-scale operation of all (later article will bring increased the amount)

The following diagram, we need to build a total of scheduling jobs, including a conversion and a job

1) [conversion], we see the following open conversion, excel included [Enter], in accordance with the view, and then add the file to join, get a worksheet worksheet names, field select the corresponding field.




[Copy to copy the results recorded in the results]

2) the total amount of work to update table [], contains the following three conversion

2.1) provided the conversion table [], if the corresponding content is provided as shown

2.2) sql script] [delete the history data, if the corresponding content is provided as shown

2.3) as in FIG. shown, provided corresponding tables and table output options input

3) Click the run, complete synchronization configuration table

4) The excel follows:

By adding the table name table excel, to achieve a scheduled task, the completion of all the tables in the synchronization
welcome attention to public numbers, learn kettle, database and development aspects of the
acquisition of source code examples, plus interest Fanger Wei code scanning at

Guess you like

Origin www.cnblogs.com/dalaba/p/12037526.html