I've seen a few people link to an INFORMATION_SCHEMA query to be able to find any indexes that have low cardinality, in an effort to find out what indexes should be removed. This method is flawed - here's the first reason why: PLAIN TEXT SQL: CREATE TABLE `sales` ( `id` int(11) NOT NULL AUTO_INCREMENT, `customer_id` int(11) DEFAULT NULL, `status` enum('arhicved','active') DEFAULT [...]
Published:10/16/2009
View The Entire Article
