openaustralia / morph

Take the hassle out of web scraping
https://morph.io
GNU Affero General Public License v3.0
463 stars 74 forks source link

Move over to using postgres as the database for the web application #1058

Open mlandauer opened 7 years ago

mlandauer commented 7 years ago

There are a few reasons why I think this is a good idea:

@henare thoughts?

henare commented 7 years ago

@mlandauer totally agree :+1:

mlandauer commented 7 years ago

Breaking this rather large task into smaller bits

In development

In production

mlandauer commented 7 years ago

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.