Sample Header Ad - 728x90

TokuDB table stats row count decreases to 1

1 vote
1 answer
228 views
I have a few Percona 5.6.30 servers with a TokuDB table that has ~120 million rows. On some of these servers, row count in SHOW TABLE STATUS mysteriously decreases until is hits 1. This is accompanied by rather unpleasant performance reduction and happens on both master and slave servers. I've tried to fix this by running ANALYZE TABLE, running OPTIMIZE TABLE, restarting the affected server, running ALTER TABLE ... FORCE. None of these has had any effect. The only two things that help are ALTER TABLE ... ENGINE=TokuDB and recreating the table from dumped data. These bring row count back to sane values, after which they begin to decrease again. Any hints about what might have caused this issue and how to fix it would be helpful.
Asked by che (119 rep)
May 25, 2016, 08:32 PM
Last activity: Jun 10, 2025, 11:03 PM