【发布时间】:2015-05-06 22:42:43
【问题描述】:
将 160 万行从 MySQL 5.5 迁移到 SQL Server 2012。我曾多次尝试迁移数据,但在偶数行后该过程失败。我尝试了不同的批处理大小和超时,但在迁移 55,000 行、44,000 行、55,000 行和最后 42,000 行后都失败了。
有人有成功迁移的经验吗?
最近的错误如下。
The data migration engine is migrating table 'source_db.table': > target_db.dbo.table, 1688992 rows total
The connection has been disabled.
Errors: The connection has been disabled.
Completing migration of table source_db.table...
Migration complete for table 'source_db.table': > target_db.dbo.table, 42000 rows migrated (Elapsed Time = 00:00:04:03:856).
Data migration operation has finished.
0 table(s) successfully migrated.
1 table(s) partially migrated.
0 table(s) failed to migrate.
【问题讨论】:
-
SQL server 和 MySQL 在同一个盒子里吗?
-
不同的盒子。 SQL Server 是我们通过隧道连接的 AWS RDS 实例,而 MySQL 在本地计算机上。
-
MySQL 5.6 和 Azure SQL 出现同样的问题:数据迁移操作已完成。 46 个表已成功迁移。 7 个表已部分迁移。 215 个表迁移失败。和相同的消息:错误:连接已被禁用。
标签: mysql sql-server