Hi,
I am using Mysql 5.1.47 and all the tables are INNODB in the database. One of the table has got more than 20 million records and I can see in slow queries log that it is taking huge lock time for that table. Whereas you see that query time is very less. Find below entry taken from slow query log file
** Query_time: 0.000015 Lock_time: 18446744073702.820312 Rows_sent: 0 Rows_examined: 800219 **
Please suggest how can this lock time be reduced.
I am using Mysql 5.1.47 and all the tables are INNODB in the database. One of the table has got more than 20 million records and I can see in slow queries log that it is taking huge lock time for that table. Whereas you see that query time is very less. Find below entry taken from slow query log file
** Query_time: 0.000015 Lock_time: 18446744073702.820312 Rows_sent: 0 Rows_examined: 800219 **
Please suggest how can this lock time be reduced.