SHOW TABLE STATUS FROM db LIKE tbl
Posted: Thu 07 Feb 2008 07:49
Hello
I am using the newest version of the MyDirect driver for MySQL 5.0 and have the following problem.
From the logs created by MySQL I see that the statement
"SHOW TABLE STATUS FROM db LIKE tbl"
is run each time a select is performed on a InnoDB-table that has a autoincrement field. When the tables become huge (1 mill ++) I see a huge perfromance issue when this statement is run.. And since it runs each time a select is performed on tables with autoincrement the dbserver crashes in the end.
Does anyone know if it is possible to turn off this statement? Or any workaround this problem... Anyone had simular problems?
Thanks
I am using the newest version of the MyDirect driver for MySQL 5.0 and have the following problem.
From the logs created by MySQL I see that the statement
"SHOW TABLE STATUS FROM db LIKE tbl"
is run each time a select is performed on a InnoDB-table that has a autoincrement field. When the tables become huge (1 mill ++) I see a huge perfromance issue when this statement is run.. And since it runs each time a select is performed on tables with autoincrement the dbserver crashes in the end.
Does anyone know if it is possible to turn off this statement? Or any workaround this problem... Anyone had simular problems?
Thanks