[MDEV-32580] The value of cardinality in mysql.table_stats may exceed by more than 10% the actual number of records in the table Created: 2023-10-25 Updated: 2023-11-26 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.6 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lena Startseva | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Testcase to repeat:
So, we have 2100 records in table t1 and for each execution of
we will get a new value for cardinality in mysql.table_stats. And very often this value will exceed 2100 and and sometimes more than 10% the actual number of records in the table.
|