How to calculate cardinality
When deciding whether to create a new index, or to split a table, it’s useful to work out the cardinality of the data to see whether it’s worth doing. It’s possible to calculate the cardinality of the data in a column before creating an index. (more…)
Richard Wallman - a MySQL® DBA (database administrator)