简体   繁体   中英

PostgreSQL to MySQL conversion of large tables

I need to convert a table from PostgreSQL to MySQL. The size of the table is 5.2GB . I am doing it on workbench, but after some 3minutes I am getting errors like below.

HY001:14:Out of memory in allocating item buffer.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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