[Indexing] Cardinality not updated with 'analyze table x' #16764
Labels
component/statistics
severity/moderate
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Basically, this reports a bug when investigating #15661
1. What did you do?
I inserted
100 rows
into the table and doanalyze table t
:mysql -P 4000 -h 127.0.0.1 correct < fulldb23-04-2020\ 08-44.sql
fulldb23-04-2020 08-44.sql2. What did you expect to see?
The cardinality should be updated.
3. What did you see instead?
4. What version of TiDB are you using? (
tidb-server -V
or runselect tidb_version();
on TiDB)The text was updated successfully, but these errors were encountered: