Import and export of ETL tools-kettle data-database to database

Source: Internet
Author: User

Introduction to ETL:

ETL (extract-transform-load abbreviation, that is, the process of data extraction, transformation, loading)

Database to Database

The following explains: Kettle Tool Implementation method

Case Purpose : Import the EMP table from user Scott under User testuser.

Preparation: first create a new table with the same structure as the EMP table in the Scott account under the TestUser account.

Operation Steps:

1. Check if an EMP empty table has been established under the TestUser account.

Figure 1: Detecting the EMP table in user TestUser

2. Create a new transform and drag into table input, table output.

Figure 2: New step

Figure 3: "Table input", "table output" dragged into "conversion 1" in the workspace

Note: After the operation of Figure 2, the interface of Figure 3 will appear, but the "Conversion 1" interface is blank. Expand "Input" in the left panel, find "Table input", drag and drop to "convert 1", and similarly expand "output" to find "table output" dragged to the "transform 1" workspace. Hold down the SHIFT key and drag the "table input" icon from "Convert 1" to "table output" to establish a connection. Notice that the arrow is in the opposite direction.

3. Double-click "Table Input" to configure the relevant content

Figure 4: Configuring the relevant content in table input

Figure 5: Test result diagram

Figure 6: Configure the SQL statement to query the specified table. And you can see the records in the table by "preview"

Note: You can see the records in the table, which means that the "input table" configuration was successful.

4. Double-click "Table Output" to configure related content

Figure 7: Configuring the database connection for table output

Figure 8: Additional options for configuring table output

5. Save and run

Figure 9: Run > Start > Save configuration file

Figure 10: The correct running result

6: Check in the database

Figure 11: The data has been imported

End!!!

Import and export of ETL tools-kettle data-database to database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.