MySQL Forums
Forum List  »  General

Sending data in processlist
Posted by: CD Ben
Date: December 19, 2014 07:55AM

I faced a strange problem in select query fro my application. While run a select query, see in peocesslist status 'sending data' and no result still 4/5 hours runnlig. Nothing will happend in my application.
my query like this:
select shutDownFlag, time_of_ping, observedstate, simulatedstate from test100 where time_of_ping = (select max(time_of_ping) from test100 where !(observedstate=4 and powercost=0))

Table have 20K rows (Size 4.5M)
MySQL Server version 5.5.22
MySQL Connecteor 5.1.11

Can anyone help me to solve the problem. I already spend 3 days on it.

Options: ReplyQuote


Subject
Written By
Posted
Sending data in processlist
December 19, 2014 07:55AM
December 20, 2014 12:03AM
December 20, 2014 05:33AM
December 20, 2014 10:18AM
December 26, 2014 02:23AM
December 26, 2014 11:56AM
December 29, 2014 02:59AM
December 29, 2014 01:16PM
December 30, 2014 07:02AM
December 30, 2014 02:55PM
January 01, 2015 01:55AM
January 01, 2015 08:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.