[MDEV-9163] Indexes are not used/Cardinality for index is NULL in TokuDB Created: 2015-11-22 Updated: 2016-06-22 Resolved: 2016-06-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - TokuDB |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.0.26, 10.1.15 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jacek Lubzinski | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | tokudb, upstream-fixed | ||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 10.0.26 | ||||||||||||||||
| Description |
|
Hi, After analysis of query execution we observed that the indexes are not used or used other than with InnoDB.
Run the ANALYZE TABLE command solved the problem and index cardinality began to be updated automatically. Should it not be done automatically out of the box? |
| Comments |
| Comment by Elena Stepanova [ 2015-11-23 ] |
|
Apparently it was fixed in TokuDB few days ago: https://tokutek.atlassian.net/browse/DB-306 . serg, could you please take a look to see if it will be automatically fixed by the TokuDB merge, or does it also require any changes on the server side? |
| Comment by Sergei Golubchik [ 2016-02-17 ] |
|
It will be automatically merged when we get a new TokuDB. |