为什么我这里显示innodb表的数据行数总是变化,用mysql administrator 刷新一次就变化一次啊,但是我打开表格后却显示是100行,没有任何程序在使用数据库,变化有时候是80行左右,有时候能到140行,求大神帮忙啊。晕死了

解决方案 »

  1.   

    恩 可能数据是从information_schema.table这里视图里面取得  这里面得innodb表得数据是不精确的
      

  2.   


    Rows The number of rows. Some storage engines, such as MyISAM, store the exact count. For other storage engines, such as InnoDB, this value is an approximation, and may vary from the actual value by as much as 40 to 50%. In such cases, use SELECT COUNT(*) to obtain an accurate count.