Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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.