Forums

MySQL db slow

Hello, I have been executing a migrate for more than an hour to create the new tables in my mysql database and in my other projects, it also takes too long, could you help me by indicating if something is happening on my server or if it is something specific to the system ?

Are your migrations Django ones?

yes, my migrations are from django, even in quite small migrations to modify tables it takes an excessive time, could you please verify what happens :(

In case of Django, the reason is that migrate command is making queries that take a long time to finish on shared server with huge number of users, databases and tables. there is nothing we can do about that.