tokudb table rows decrease to 0, table has 10m rows in it - no indexes being used on any query plan
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
Fix Released
|
Critical
|
George Ormond Lorch III | |||
5.7 |
Fix Released
|
Critical
|
George Ormond Lorch III |
Bug Description
I think this is a bug relating to an earlier bug, or perhaps it was not actually fixed, so I'm re-submitting it as a new/existing bug. The earlier bug is:
It appears there is a google group discussion about this, but no official open bug here.
https:/
Seems like a pretty critical problem since its causing huge lock contention on updates and query plans result in full table scans. Below is the behavior I'm seeing on a table which has a high number of updates. This is on: Server version: 5.7.16-10-log Percona Server (GPL), Release 10, Revision a0c7d0d
mysql> select TABLE_ROWS from information_
+------------+
| TABLE_ROWS |
+------------+
| 0 |
+------------+
1 row in set (0.01 sec)
mysql> select count(*) from retail.
+----------+
| count(*) |
+----------+
| 10174538 |
+----------+
1 row in set (3.33 sec)
mysql> set session tokudb_
Query OK, 0 rows affected (0.00 sec)
mysql> analyze table retail.
+------
| Table | Op | Msg_type | Msg_text |
+------
| retail.
+------
1 row in set (0.01 sec)
mysql> select TABLE_ROWS from information_
+------------+
| TABLE_ROWS |
+------------+
| 0 |
+------------+
1 row in set (0.00 sec)
mysql> set session tokudb_
Query OK, 0 rows affected (0.00 sec)
mysql> analyze table retail.
+------
| Table | Op | Msg_type | Msg_text |
+------
| retail.
+------
1 row in set (0.01 sec)
https:/ /tokutek. atlassian. net/browse/ FT-732