Home » Performance » MySQL » mysql going to sleep/sbwait while executing slow query
icon9.gif  mysql going to sleep/sbwait while executing slow query [message #472] Mon, 18 December 2006 09:04 Go to previous message
firestorm  is currently offline firestorm
Messages: 9
Registered: September 2006
Location: Moscow
Junior Member
We use mysql for creating inverted index files for our small scientific search engine.

We have a lot of XML files, indexate them to one big (50mln) mysql table.

Then we create tables and files using group by similar rows
(for example:
insert ignore into table (field1, fieldCount) select field,count(*) from table_temp group by field order by field)

So sometimes this query doesn't work with no errors:
Using command top and iostat I see, that mysql is working, but without using processor (memory and HDD) resources.
MySQL is in state sbwait (waiting for data!!??)

Mysql command show processlist shows, that NULL query is executing.

Mysql logs are ok - no problems.

Parent process (php script, that executed query) is working, also without using resources.

Does everybody know, where is the problem?

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Degree of Separation Calculation
Next Topic:Need advise of tuning mysql performance for fast transaction time
Goto Forum:

  


Current Time: Thu Jul 9 19:50:14 EDT 2009

Total time taken to generate the page: 0.00901 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.