文档首页> 数据复制服务 DRS> 故障排除> 失败案例> MySQL->MySQL实时迁移和同步> 全量阶段失败报错,关键词“Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys”
更新时间:2022-12-27 GMT+08:00
分享

全量阶段失败报错,关键词“Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys”

场景描述

全量迁移或同步期间DRS任务报错,日志提示信息:service DATAMOVE failed, cause by: retry structures failed events=the fail structures are [type=constraint_data, index=106, schema_name=%s, object_name=%s]reason:[Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys]

可能原因

源库和目标库表结构不一致。

解决方案

  1. 请客户运维工程师修改目标库表结构和源库保持一致。
  2. 完成后在任务列表中,单击任务对应操作列的“续传”,重新提交任务。
分享:

    相关文档

    相关产品