mysql - Bloated innodb datafile (ibdata1) and how to reclaim space? -


i have 12gb of data in tables , datafile, ibdata1, used 12gbs in size. ran following command

alter table `rails_production`.`pictures` change `data` `image_file_data` mediumblob null 

while making temporary copy of table, got following error

error 1114 (hy000): table '#sql-7fe4_12c9' full 

i assume means there wasn't enough space make temporary copy of table. datafile 17gb! how reclaim space in datafile?

is there way check how of 17gb being used?

unfortunately can't reclaim space innodb database if not using innodb_file_per_table in configuration:

mysql innodb not releasing disk space after deleting data rows table


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -