What Should I Do If Index Query Is Slow in the Destination Database After MySQL Migration?
During a full migration, DRS writes lots of data to tables concurrently in a short period. The table statistics may not be updated in a timely manner, causing poor execution plans during SQL parsing and slow table operations. This issue is more likely to occur when indexes are created in a table before data migration. Update database statistics in a timely manner.
In this case, you can run the following command in the destination database to analyze the table and update the table statistics:
ANALYZE TABLE table_name;
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot