Open mlandauer opened 7 years ago
@mlandauer totally agree :+1:
Breaking this rather large task into smaller bits
After discussing this with @henare we decided to put this bit of work on hold as I have a relatively short amount of time left and this is not the most sensible use of my time. Instead I've done the simpler task of reducing the ibdata1 file size by dumping the database, dropping the database, stopping the server, deleting the file (and the log files) in mysql, restarting the database and then reloading the data from the dump.
There are a few reasons why I think this is a good idea:
/var/lib/mysql/ibdata1
file currently standing at 57G while the per-table files in/var/lib/mysql/morph
currently stand at 24G. This is despite using mysql 5.6 which should haveinnodb_file_per_table
enabled by default. The only way to fix this as far as I can tell is to export the database, delete everything, and reimport the database. If we're going to do this we might as well as just migrate to postgres!@henare thoughts?