I encounter stability problems with my Azure database for MySQL flexible server instance. I try to add about 1,5 mln records and after about 0,5 mln inserts I lost connection to the server (after one day of inserting). From this time the database was unstable. The queries were timeout and sometimes the connection to the database was not possible. The health status in Azure Platform was Available but from time to time in the Database Settings instead of databases (schemas) list I get failed message "Failed to load MySQL flexible server databases.". I am at the development stage with minimal resources as "Standard_B1ms (1 vCore)".
Restart the server fix it. But I am not sure if this will happen again (I need to repeat such imports and from month to month I will add or update thousands of records like that).
And I need to know what happens so is there any possibility to see server logs about it? If yes, how can I do it?