Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Using Kettle to Import Data

Updated on 2024-05-07 GMT+08:00

Kettle is an open-source ETL tool. You can use Kettle to extract, transform, import, and load data.

During massive data migration, the data import speed of using the data import plug-in provided by Kettle is about 1500 records per second, resulting in a long migration time. While in the same environment, the data import speed of using the custom data import plug-in integrated with the dws-client is about 22,000 records per second, which is 15 times faster.

Therefore, when using Kettle to migrate data, you can use the dws-client-integrated custom import plug-in to greatly improve the data migration speed.

NOTE:

Currently, dws-kettle-plugin supports only version pdi-ce-9.4.0.0-343. Whether the new version is compatible depends on the verification result. Version pdi-ce-9.4.0.0-343 is recommended.

Preparing the Kettle Environment

  1. Install JDK1.8 and configure related environment variables.
  2. Visit Download Address to download Kettle, and decompress it.

Installing the dws-kettle-plugin Custom Plug-in

  1. Download dws-client plug-in.

    1. dws-kettle-plugin.jar: Visit Download Address to obtain the latest version.
    2. dws-client.jar: Visit Download Address to obtain the latest version.

    3. caffeine.jar: Visit Download Address and select the version that dws-client depends on. For example, if dws-client is 1.0.10, obtain caffeine.jar 1.0.10.
      NOTE:

      You must select the version on which dws-client depends. Otherwise, compatibility issues may occur.

    4. huaweicloud-dws-jdbc.jar: Visit Download Address and select the version that dws-client depends on. For example, if dws-client is 1.0.10, obtain huaweicloud-dws-jdbc.jar 1.0.10.

  2. Create a directory, for example, dws-plugin, in the Kettle installation directory data-integration\plugins.
  3. Place dws-kettle-plugin.jar in the data-integration\plugins\dws-plugin directory.
  4. Place dws-client.jar and caffeine.jar in the data-integration\plugins\dws-plugin\lib directory.
  5. Place huaweicloud-dws-jdbc.jar in the data-integration\lib directory.

Using Kettle to Import Data

  1. Double-click Spoon.bat in the Kettle installation directory pdi-ce-9.4.0.0-343\data-integration to open Spoon and click Create > Conversion to create a conversion task.
  2. Add the Table Input node and configure the database connection, tables to be migrated, and table fields. When creating a database connection, you can click Test on the corresponding page to check whether the connection parameters are correctly set. After configuring the SQL statements corresponding to the tables to be migrated and the table fields, you can click Preview to view the preview data to be migrated.

  3. Add the DWS Table Output node, and configure the database connection, destination table, mapping between destination table fields and data source fields, and other parameters. The DWS Table Output node supports only PostgreSQL as the data source.

  4. Save the conversion task and start the task.

  5. View the running result and check whether the total number of migrated data records and detailed data in the destination data table are the same as those before migration.

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback