0

i will really appreciate if someone help me with this. I have spend like 8hours googling around and found no solution to problem.

I have MySQL server version 5.7.7 on Windows server 2008 R2

Table engine is innodb

innodb_file_per_table = 1

I get error "Table is full" when table reaches 4Gb. MySQL documentation sais that there is actualy only one limit on table size, filesystem. (http://dev.mysql.com/doc/refman/5.7/en/table-size-limit.html)

HDD where are data stored uses NTFS, just to be sure i created 5Gb file without problems. And sure there is more than 10Gb of free space.

I understand setting "innodb_data_file_path" is irrelevant if "innodb_file_per_table" is enabled, but i tried to set it. No differences. I have tried to do clean install of mysql. Same result.

EDIT

Guy that installed MySQL server before me accidentally installed 32bit version. Migration to 64bit mysql solved that problem

2
  • Is Windows and/or MySQL a 32-bit version?
    – Rick James
    May 27, 2016 at 0:07
  • This is correct question! I have checked everything but not if that mysql is 32bit. It is! I have migrated to 64bit version and everything is ok. Thank you so much!
    – mrneo
    May 27, 2016 at 7:59

3 Answers 3

5

About the only way for 4GB to be a file limit is if you have a 32-bit version of MySQL. Also check for 32-bit Operating system. (Moved from comment, where it was verified.)

1
  • In my case problem was 32bit MySQL. I would never thought that this could be problem. Thank you Rick!
    – mrneo
    May 29, 2016 at 12:09
1

i am also not sure but read this it may help you. http://jeremy.zawodny.com/blog/archives/000796.html

one more thing one guy had same problem.he had made changes to 
NNODB settings for the innodb_log_file_size and innodb_log_buffer_size!changes were :

1) shutdown mysql
2) cd /var/lib/mysql 
3) mkdir oldIblog
4) mv ib_logfile* oldIblog
5) edit /etc/my.cnf find the line innodb_log_file_size= and increase it to an appropriate value (he went to 1000MB as he was dealing with a very large dataset... 250million rows in one table). If you are not sure I suggest doubling the number every time you get a table is full error. he set innodb_log_buffer_size to 1/4 of the size of his log file and the problems went away.
1
  • Opening that "full" table now kills mysql service, after changing log file size. Thats really strange, i think there is bug in 5.7
    – mrneo
    May 18, 2016 at 9:44
0

I didnt find solution to this, i have no idea why mysql is unable to create more than 4Gb table.

As a workaround i moved only this table back to ibdata by setting "innodb_file_per_table" back to 0 and recreated that table. Interesting is that even ibdata1 reported table is full when it reached 4Gb, even without setting max and enabled autoexpand.

So i created ibdata2 and let it autoexpand, now i am able to write new data to that table.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.