0

I have a Percona 5.6.28 servers with a=some TokuDB tables. The biggest table has ~120 million rows. Statics keeps changeing in the past hald year:

  • At first. Analyze table with recount model toke accurate statics back
  • Recenly. The statics were updated to the same value including some column as gender.

I have tried with below ways but don't work:

  • Analyze table
  • Drop some index and re-create
  • Optimize table & Analyze table

I found a lot people had get the same problem before. Can anyone share some experience?

4
  • Try ALTER TABLE <<tablename>> ENGINE=<<enginename>> ; i.e ALTER TABLE mysql.user ENGINE=INNODB Aug 6 '19 at 7:26
  • 1
    I had a plan to move things to innodb which need to update a lot things. Do you have other suggestions before migrating to innodb, Jyoti?
    – Zak
    Aug 7 '19 at 1:31
  • Zak you may be running into this known issue jira.percona.com/browse/PS-4448 which doesn't answer your moving to innodb question I know. This link mentions something you should check percona.com/doc/percona-server/8.0/upgrading_guide.html#id6
    – greenweeds
    Aug 7 '19 at 8:59
  • Hi @percona-lorraine, thanks for your link. But it's really a different problem. I can successfully analyze table but still get bad statics.
    – Zak
    Aug 8 '19 at 6:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.