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 DataCheck

Updated on 2025-01-09 GMT+08:00

Notes

  • Before starting DataCheck, configure the dbinfo.properties and check_input.xlsx files in the config folder. Incorrect parameter settings will cause DataCheck execution errors.
  • If you are running DataCheck tasks concurrently on the same server (by the same or different tasks), it is important to use separate check_input.xlsx files for each task.
  • After running DataCheck, a logs folder is created. You can open this folder to review the logs generated during the execution of DataCheck, which can assist you in identifying any problems.

Using DataCheck on Linux

  1. Upload the tool package to the Linux server and decompress it.

  2. Generate the ciphertext of the database login password.

    Go to the bin directory.

    Run the script for generating the ciphertext. Run this script to generate ciphertext for the login passwords of the source and destination databases.

    sh encryption.sh [password]

  3. Configure the conf/dbinfo.properties file.

    Go to the Datacheck directory and run the vi conf/dbinfo.properties command.

    Configure the database connection information of the source and destination ends. Use the ciphertext generated in the previous step for the password in the configuration file.

  4. Edit the input/check_input.xlsx file.

    Copy the check_input.xlsx file to the Windows server, use Excel to edit the file, enter the table information to be verified, save the file, and upload the file to the Linux server to overwrite the original file.

  5. Run the data check tool.

    Go to the bin directory and run the sh datacheck.sh script.

  6. View the result output/check_input_result.xlsx.

  7. Check result analysis:

    1. If Status is No Pass, the check fails.
    2. The Check Result Diff column displays the items that fail to pass the check. You can view the column that fails to pass the check.
    3. The Check SQL area displays the query SQL statements that are executed in the database.

Using DataCheck on Windows

  1. Upload the tool package to the Windows server and decompress it.

  2. Generate the ciphertext of the database login password.

    Go to the bin directory and start the CMD tool.

    Run the script for generating the ciphertext. Run this script to generate ciphertext for the login passwords of the source and destination databases.

    encryption.bat [password]

  3. Configure the conf/dbinfo.properties file.

    Edit the dbinfo.properties file in the conf directory, configure the database connection information of the source and destination ends, and use the ciphertext generated in the previous step as the password in the configuration file.

  4. Edit the input/check_input.xlsx file and save it.

    Open the input/check_input.xlsx file using Excel, input the table information that needs to be verified, and save the file.

  5. Run the data check tool datacheck.bat.

  6. View the result output/check_input_result.xlsx. (The result analysis is the same as that in the Linux scenario.)

  7. Check result analysis:

    1. If Status is No Pass, the check fails.
    2. The Check Result Diff column displays the items that fail to pass the check. You can view the column that fails to pass the check.
    3. The Check SQL area displays the query SQL statements that are executed in the database.

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