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').
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.