I am using a MySQL database hostet on fly.io. There I want to fill the data using an SQL Dump file.
However it seems like there is some kind of throttling going on as it takes hours to import the data and ultimately it ends up with a lost connection.
When I run the dump file on a local database it takes less than one minute.
Hi… I was hoping that someone who is more expert in MySQL could jump in, but in the meantime, perhaps you could say more about the details of how you were importing—and also what you’ve been seeing in the logs, metrics, etc.?
Fly does have anti-DDoS mechanisms, and they plausibly could have gone awry here, but that wouldn’t be my first guess…
@T-Jak-T You could consider leveraging fly sftp to push your SQL dump file into your VM. At that point, you should be able to run the restore process just like you do locally.
I was able to push it to the machine by using fly sftp but somehow the file does not seem to appear on the folder when I connect to the same machine via fly console.
I am using the -a parameter to connect to the machine via the app name.
Do I need to push it to some specific folder?