Bug #74928 | EXPLAIN which assumes that tables are big | ||
---|---|---|---|
Submitted: | 19 Nov 2014 14:30 | Modified: | 19 Nov 2014 14:36 |
Reporter: | Victor Porton | Email Updates: | |
Status: | Open | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S4 (Feature request) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[19 Nov 2014 14:30]
Victor Porton
[19 Nov 2014 14:36]
Victor Porton
We can assume that for columns whose data type ranges highly are restrained (such as ENUM or TINYINT columns) index contains less values. For example, the cardinality for a column of type ENUM('male','female') NOT NULL would be 3 ('', 'male', 'female').