Help Center/ Data Replication Service/ Troubleshooting/ Solutions to Failed Check Items/ Database Parameters/ Whether the Source Database Tables Contain Primary Keys
Updated on 2024-11-30 GMT+08:00

Whether the Source Database Tables Contain Primary Keys

MySQL as the Source

Table 1 Checking whether the source database tables contain primary keys

Check Item

Whether the source database tables contain primary keys

Description

The tables to be synchronized in the source database do not contain primary keys.

Item to Be Confirmed and Handling Suggestion

Item to be confirmed: The tables to be synchronized in the source database do not contain primary keys.

Handling suggestion: Create primary keys for the tables as the performance of a table without a primary key is lower than that of a table with a primary key.