Mysql,show processlist, query has been sending data, affecting query performance

Source: Internet
Author: User
Tags mysql query

MariaDB [(None)]> show processlist;

+--------+--------+------------------+---------+-------------+---------+---------------+----------------------+ --------

| Id | User | Host | db | Command | Time | State | Info | Progre

| 287662 | Root | localhost:41583 | Finance |  Query | 665767 | Sending Data |    SELECT COUNT (*) from ' cash_beorder ' INNER JOIN ' Cash_account ' on (' Cash_beorder '. ' account_id ' = ' CA | 0.00


| 287663 | Root | localhost:41626 | Finance |  Query | 665766 | Sending Data |    SELECT COUNT (*) from ' cash_beorder ' INNER JOIN ' Cash_account ' on (' Cash_beorder '. ' account_id ' = ' CA | 0.00


| 287664 | Root | localhost:41990 | Finance |  Query | 665751 | Sending Data |    SELECT COUNT (*) from ' cash_beorder ' INNER JOIN ' Cash_account ' on (' Cash_beorder '. ' account_id ' = ' CA | 0.00


| 287665 | Root | localhost:42153 | Finance |  Query | 665744 | Sending Data |    SELECT COUNT (*) from ' cash_beorder ' INNER JOIN ' Cash_account ' on (' Cash_beorder '. ' account_id ' = ' CA | 0.0


MySQL query, has been in the sending data state, query card dead, affecting the performance of MySQL query, time to show that the query statement has been executed.


Workaround: Kill the corresponding ID of the card that is dead

>kill ID



Mysql,show processlist, query has been sending data, affecting query performance

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.