Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Analyzing the slow query log of my mysql database server, i found an interesting query taking more time and making issues in performance of my application.Please help me to find out the issue ?

# Query_time: 481  Lock_time: 0  Rows_sent: 25571220  Rows_examined: 25571220

  SELECT /*!40001 SQL_NO_CACHE */ * FROM `closing_stock`;
share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

It is a dump of the table. Are you running backups too often or something like that?

share|improve this answer
    
@Jayakrishnan, @JamesRyan is absolutely correct !!! +1 for Him. This is exactly what mysqldump does. –  RolandoMySQLDBA May 14 '11 at 20:56
    
yes its correct. –  Jayakrishnan T May 16 '11 at 7:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.