Hi! On Jan 31, harm wrote: > Moi, > > > every now and then my otherwise happely running mysqld has a thread or two > stuck in the state 'statistics'. If I kill it with `mysqladmin kill <poor > threads id>` it does get registered as 'killed' (According to `mytop`). But > the thread refuses to die. They do die eventually but it can take a few > thousend seconds. I suppose it waits till the 'statistics' state > is over before it accepts its defeat. > > The queries which cause this are usually nice > 9 table joins. I don`t care > the take loooong to execute, but it would by nice if killing them actually helped. > > > Any thoughts? > This is 4.0.7 but I can remember this has happend in < 4.0 as well.
yes :( Unfortunately, thread cannot be killed in the "statistics" state. We've added this to our 4.0.x todo (one of the few things we can do in the stable branch). Regards, Sergei -- MySQL Development Team __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/ /_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany <___/ --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php