简体   繁体   English

PostgreSQL到MySQL的大表转换

[英]PostgreSQL to MySQL conversion of large tables

I need to convert a table from PostgreSQL to MySQL. 我需要将表从PostgreSQL转换为MySQL。 The size of the table is 5.2GB . 该表的大小为5.2GB I am doing it on workbench, but after some 3minutes I am getting errors like below. 我在工作台上进行此操作,但是大约3分钟后,出现如下错误。

HY001:14:Out of memory in allocating item buffer. HY001:14:分配项目缓冲区的内存不足。

I have tried changing innodb_log_file_size, innodb_log_buffer_size, query_cache_size, key_buffer_size and some other variables, but no go. 我试过更改innodb_log_file_size,innodb_log_buffer_size,query_cache_size,key_buffer_size和其他一些变量,但没有成功。

Can someone help me in doing this. 有人可以帮助我做到这一点。 Is there is any other conversion tools to do this. 是否有其他转换工具可以执行此操作。 It will be great if I solve the above error too. 如果我也能解决以上错误,那将是很棒的。

The problem is that workbench is running out of memory and not the database itself. 问题在于工作台内存不足,而不是数据库本身。 I would try another tool like http://www.lightbox.ca/pg2mysql.php 我会尝试其他工具,例如http://www.lightbox.ca/pg2mysql.php

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM