I run some test tests against mysql and find that there are many queries that get stuck in "copy to tmp tables". They remain in the same condition. These are usually aggregated queries, and I can kill those queries. But how can I find out what makes them stuck? I am using mysql 5.1.42 with the innodb plugin.
It is best to use a query explanation that gives you this message.
explain select count (*) from my_table left join my_other_table on id1 = id2 order by id1;
, tmp-. . .
Source: https://habr.com/ru/post/1740978/More articles:Visual Studio 2010 MVC 2 (project project imported) - publish crash - System.Web.Routing.RouteValueDictionary exists in both - visual-studio-2010Inspirational web experiments and technical demos - htmlParsing Unicode XML with Python SAX in App Engine - google-app-engineWindows Forms Dead. WPF Long Life - winformsМогут ли имена каталогов Python быть ключевыми словами? Например. 'Импортировать'? - pythonHTML rendering (bitmap conversion) - htmlHow to find the MAC address of a computer using jQuery - jqueryHow to create a user registration form using datastore - Google appengine? - javaОткуда появился этот класс? - javaHow can I dynamically talk about the .NET MVC application that the data source points to? - .netAll Articles