Halaman ini belum tersedia dalam bahasa lokal Anda. Kami berusaha keras untuk menambahkan lebih banyak versi bahasa. Terima kasih atas dukungan Anda.

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
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
Situation Awareness
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
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
Help Center/ Data Replication Service/ Troubleshooting/ Solutions to Failed Check Items/ Conflicts/ Checking Whether the Destination Database Contains Objects with the Same Name As Those in the Source Database

Checking Whether the Destination Database Contains Objects with the Same Name As Those in the Source Database

Updated on 2024-11-30 GMT+08:00

MySQL -> PostgreSQL Synchronization

Table 1 Checking whether the destination database contains objects with the same name as those in the source database

Check Item

Whether destination database contains objects with the same name as those in the source database

Description

The destination database contains objects with the same name as those in the source database. If a table of the same name exists in the destination database, the migration cannot be performed.

Failure Cause and Handling Suggestion

Failure cause: The source and destination database tables cannot have the same names.

Handling suggestions: Check whether the tables with the same names need to be retained. If yes, select another object for synchronization. If no, delete the tables with the same names.

Failure cause: The destination database contains the same table names as those of the synchronization objects.

Handling suggestions: Check whether the tables with the same names need to be retained. If yes, select another object for synchronization. If no, delete the tables with the same names.

Synchronization from Oracle to GaussDB(DWS)

Table 2 Checking Whether the Destination Database Contains Objects with the Same Name As Those in the Source Database

Check Item

Whether the destination database contains objects with the same name as those in the source database

Description

The destination database contains tables with the same name as those in the source database.

Failure Cause and Handling Suggestion

Failure cause: The destination database table does not exist and cannot be synchronized.

Handling suggestion: If you do not synchronize the table structure, create the table to be synchronized in the destination database in advance or synchronize the table structure.

Statement for creating a table in the destination database:

CREATE TABLE table_name (column_name data_type);

Oracle to GaussDB(DWS)/Oracle to PostgreSQL Synchronization

Table 3 Checking whether the destination database contains objects with the same name as those in the source database

Check Item

Whether the destination database contains objects with the same name as those in the source database

Description

The destination database contains objects with the same name as those in the source database.

Failure Cause and Handling Suggestion

Failure cause: The destination database contains the data and indexes of the table to be synchronized.

Handling suggestion: Delete data and indexes from the destination database table. Otherwise, data inconsistency may occur.

  • Statement for clearing data in a table:
    TRUNCATE TABLE table_name1;
  • Statement for deleting an index:
    DROP INDEX index_name ;

Failure cause: The source database contains encrypted objects.

Handling suggestion: Go back to the object selection page and select database objects that are not encrypted.

Failure cause: Source database names are the same except for letter cases.

Handling suggestion: Change the table name or return to the object selection page and deselect the tables with the same name. Statement for changing the table name:

ALTER TABLE old_table_name RENAME TO new_table_name;

Microsoft SQL Server as the Source in Synchronization

Table 4 Checking whether the destination database contains objects with the same name as those in the source database

Check Item

Whether the destination database contains objects with the same name as those in the source database

Description

The destination database contains objects with the same name as those in the source database.

  • If Table structure is selected, the destination database cannot contain objects with the same name as those in the source database.
  • If Table structure is not selected, create the corresponding table structure in the destination database in advance.

Failure Cause and Handling Suggestion

Failure cause: The destination database table does not exist and cannot be synchronized.

Handling suggestion: If you do not synchronize the table structure, create the table to be synchronized in the destination database in advance or synchronize the table structure.

Statement for creating a table in the destination database:

CREATE TABLE table_name (column_name data_type);

Failure cause: The table to be synchronized has been mapped to the destination database.

Handling suggestion: Return to the Set Synchronization Task page, select the tables that meet the requirements. Alternatively, change the mapping names of the tables to be synchronized.

Failure cause: The table to be synchronized has not been mapped to the destination database.

Handling suggestion: Select Table structure to create a database table, or create the corresponding table structure in the destination database. If the table structure was not missing, check whether the name of the mapped table is correct.

Table-Level Synchronization from PostgreSQL to PostgreSQL

Table 5 Checking whether destination database contains objects with the same name as those in the source database

Check Item

Whether destination database contains objects with the same name as those in the source database

Description

The destination database contains objects with the same name as those in the source database If the same object names exist, the migration cannot be performed.

Failure Cause and Handling Suggestion

Failure cause: The destination database contains objects with the same name as those in the source database.

Handling suggestions: Check whether the objects with the same names need to be retained. If yes, select another object for migration. If no, delete the objects with the same names.

Kami menggunakan cookie untuk meningkatkan kualitas situs kami dan pengalaman Anda. Dengan melanjutkan penelusuran di situs kami berarti Anda menerima kebijakan cookie kami. Cari tahu selengkapnya

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback